@metamask/gas-fee-controller 22.0.3 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [24.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING:** Bump peer dependency `@metamask/network-controller` to `^24.0.0` ([#5999](https://github.com/MetaMask/core/pull/5999))
15
+ - Bump `@metamask/base-controller` to `^8.0.1` ([#5722](https://github.com/MetaMask/core/pull/5722))
16
+ - Bump `@metamask/controller-utils` to `^11.10.0` ([#5935](https://github.com/MetaMask/core/pull/5935), [#5583](https://github.com/MetaMask/core/pull/5583), [#5765](https://github.com/MetaMask/core/pull/5765), [#5812](https://github.com/MetaMask/core/pull/5812))
17
+ - Bump `@metamask/polling-controller` to `^14.0.0` ([#5999](https://github.com/MetaMask/core/pull/5999))
18
+
19
+ ## [23.0.0]
20
+
21
+ ### Changed
22
+
23
+ - **BREAKING:** Bump peer dependency `@metamask/network-controller` to `^23.0.0` ([#5507](https://github.com/MetaMask/core/pull/5507))
24
+ - Bump `@metamask/controller-utils` to `^11.6.0` ([#5439](https://github.com/MetaMask/core/pull/5439))
25
+ - Bump `@metamask/utils` to `^11.2.0` ([#5301](https://github.com/MetaMask/core/pull/5301))
26
+ - Bump `@metamask/polling-controller` to `^13.0.0` ([#5507](https://github.com/MetaMask/core/pull/5507))
27
+
10
28
  ## [22.0.3]
11
29
 
12
30
  ### Changed
@@ -402,7 +420,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
402
420
 
403
421
  All changes listed after this point were applied to this package following the monorepo conversion.
404
422
 
405
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.3...HEAD
423
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@24.0.0...HEAD
424
+ [24.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@23.0.0...@metamask/gas-fee-controller@24.0.0
425
+ [23.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.3...@metamask/gas-fee-controller@23.0.0
406
426
  [22.0.3]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.2...@metamask/gas-fee-controller@22.0.3
407
427
  [22.0.2]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.1...@metamask/gas-fee-controller@22.0.2
408
428
  [22.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.0...@metamask/gas-fee-controller@22.0.1
@@ -151,8 +151,8 @@ type GasFeePollingInput = {
151
151
  networkClientId: NetworkClientId;
152
152
  };
153
153
  declare const GasFeeController_base: (abstract new (...args: any[]) => {
154
- readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
155
- "__#13@#intervalLength": number | undefined;
154
+ readonly "__#14@#intervalIds": Record<string, NodeJS.Timeout>;
155
+ "__#14@#intervalLength": number | undefined;
156
156
  setIntervalLength(intervalLength: number): void;
157
157
  getIntervalLength(): number | undefined;
158
158
  _startPolling(input: GasFeePollingInput): void;
@@ -151,8 +151,8 @@ type GasFeePollingInput = {
151
151
  networkClientId: NetworkClientId;
152
152
  };
153
153
  declare const GasFeeController_base: (abstract new (...args: any[]) => {
154
- readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
155
- "__#13@#intervalLength": number | undefined;
154
+ readonly "__#14@#intervalIds": Record<string, NodeJS.Timeout>;
155
+ "__#14@#intervalLength": number | undefined;
156
156
  setIntervalLength(intervalLength: number): void;
157
157
  getIntervalLength(): number | undefined;
158
158
  _startPolling(input: GasFeePollingInput): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/gas-fee-controller",
3
- "version": "22.0.3",
3
+ "version": "24.0.0",
4
4
  "description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -47,12 +47,12 @@
47
47
  "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
48
48
  },
49
49
  "dependencies": {
50
- "@metamask/base-controller": "^8.0.0",
51
- "@metamask/controller-utils": "^11.5.0",
50
+ "@metamask/base-controller": "^8.0.1",
51
+ "@metamask/controller-utils": "^11.10.0",
52
52
  "@metamask/eth-query": "^4.0.0",
53
53
  "@metamask/ethjs-unit": "^0.3.0",
54
- "@metamask/polling-controller": "^12.0.3",
55
- "@metamask/utils": "^11.1.0",
54
+ "@metamask/polling-controller": "^14.0.0",
55
+ "@metamask/utils": "^11.2.0",
56
56
  "@types/bn.js": "^5.1.5",
57
57
  "@types/uuid": "^8.3.0",
58
58
  "bn.js": "^5.2.1",
@@ -61,7 +61,7 @@
61
61
  "devDependencies": {
62
62
  "@babel/runtime": "^7.23.9",
63
63
  "@metamask/auto-changelog": "^3.4.4",
64
- "@metamask/network-controller": "^22.2.1",
64
+ "@metamask/network-controller": "^24.0.0",
65
65
  "@types/jest": "^27.4.1",
66
66
  "@types/jest-when": "^2.7.3",
67
67
  "deepmerge": "^4.2.2",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "peerDependencies": {
78
78
  "@babel/runtime": "^7.0.0",
79
- "@metamask/network-controller": "^22.0.0"
79
+ "@metamask/network-controller": "^24.0.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^18.18 || >=20"