@metamask-previews/gas-fee-controller 24.1.0-preview-ab0ad568 → 24.1.1-preview-0458fe94

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,22 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ - Export `GasFeeMessenger` type ([#6386](https://github.com/MetaMask/core/pull/6386), [#6444](https://github.com/MetaMask/core/pull/6444))
13
+
14
+ ### Changed
15
+
16
+ - **BREAKING:** Use new `Messenger` from `@metamask/messenger` ([#6386](https://github.com/MetaMask/core/pull/6386))
17
+ - Previously, `GasFeeController` accepted a `RestrictedMessenger` instance from `@metamask/base-controller`.
18
+
19
+ ## [24.1.1]
20
+
10
21
  ### Changed
11
22
 
12
23
  - Bump `@metamask/base-controller` from `^8.4.1` to `^8.4.2` ([#6917](https://github.com/MetaMask/core/pull/6917))
13
24
  - Bump `@metamask/network-controller` from `^24.2.2` to `^24.3.0` ([#6883](https://github.com/MetaMask/core/pull/6883))
25
+ - Bump `@metamask/polling-controller` from `^14.0.1` to `^14.0.2` ([#6940](https://github.com/MetaMask/core/pull/6940))
14
26
 
15
27
  ## [24.1.0]
16
28
 
17
29
  ### Added
18
30
 
19
31
  - Add two new controller state metadata properties: `includeInStateLogs` and `usedInUi` ([#6473](https://github.com/MetaMask/core/pull/6473))
20
- - Export `GasFeeMessenger` type ([#6386](https://github.com/MetaMask/core/pull/6386), [#6444](https://github.com/MetaMask/core/pull/6444))
21
32
 
22
33
  ### Changed
23
34
 
24
- - **BREAKING:** Use new `Messenger` from `@metamask/messenger` ([#6386](https://github.com/MetaMask/core/pull/6386))
25
- - Previously, `GasFeeController` accepted a `RestrictedMessenger` instance from `@metamask/base-controller`.
26
35
  - Bump `@metamask/base-controller` from `^8.0.1` to `^8.4.1` ([#6284](https://github.com/MetaMask/core/pull/6284), [#6355](https://github.com/MetaMask/core/pull/6355), [#6465](https://github.com/MetaMask/core/pull/6465), [#6632](https://github.com/MetaMask/core/pull/6632), [#6807](https://github.com/MetaMask/core/pull/6807))
27
36
  - Bump `@metamask/controller-utils` from `^11.10.0` to `^11.14.1` ([#6069](https://github.com/MetaMask/core/pull/6069), [#6303](https://github.com/MetaMask/core/pull/6303), [#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629), [#6807](https://github.com/MetaMask/core/pull/6807))
28
37
  - Bump `@metamask/utils` from `^11.2.0` to `^11.8.1` ([#6054](https://github.com/MetaMask/core/pull/6054), [#6588](https://github.com/MetaMask/core/pull/6588), [#6708](https://github.com/MetaMask/core/pull/6708))
@@ -441,7 +450,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
441
450
 
442
451
  All changes listed after this point were applied to this package following the monorepo conversion.
443
452
 
444
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@24.1.0...HEAD
453
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@24.1.1...HEAD
454
+ [24.1.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@24.1.0...@metamask/gas-fee-controller@24.1.1
445
455
  [24.1.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@24.0.0...@metamask/gas-fee-controller@24.1.0
446
456
  [24.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@23.0.0...@metamask/gas-fee-controller@24.0.0
447
457
  [23.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.3...@metamask/gas-fee-controller@23.0.0
@@ -152,8 +152,8 @@ type GasFeePollingInput = {
152
152
  networkClientId: NetworkClientId;
153
153
  };
154
154
  declare const GasFeeController_base: (abstract new (...args: any[]) => {
155
- readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
156
- "__#13@#intervalLength": number | undefined;
155
+ readonly "__#14@#intervalIds": Record<string, NodeJS.Timeout>;
156
+ "__#14@#intervalLength": number | undefined;
157
157
  setIntervalLength(intervalLength: number): void;
158
158
  getIntervalLength(): number | undefined;
159
159
  _startPolling(input: GasFeePollingInput): void;
@@ -152,8 +152,8 @@ type GasFeePollingInput = {
152
152
  networkClientId: NetworkClientId;
153
153
  };
154
154
  declare const GasFeeController_base: (abstract new (...args: any[]) => {
155
- readonly "__#13@#intervalIds": Record<string, NodeJS.Timeout>;
156
- "__#13@#intervalLength": number | undefined;
155
+ readonly "__#14@#intervalIds": Record<string, NodeJS.Timeout>;
156
+ "__#14@#intervalLength": number | undefined;
157
157
  setIntervalLength(intervalLength: number): void;
158
158
  getIntervalLength(): number | undefined;
159
159
  _startPolling(input: GasFeePollingInput): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/gas-fee-controller",
3
- "version": "24.1.0-preview-ab0ad568",
3
+ "version": "24.1.1-preview-0458fe94",
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",
@@ -51,7 +51,7 @@
51
51
  "@metamask/controller-utils": "^11.14.1",
52
52
  "@metamask/eth-query": "^4.0.0",
53
53
  "@metamask/ethjs-unit": "^0.3.0",
54
- "@metamask/polling-controller": "^14.0.1",
54
+ "@metamask/polling-controller": "^14.0.2",
55
55
  "@metamask/utils": "^11.8.1",
56
56
  "@types/bn.js": "^5.1.5",
57
57
  "@types/uuid": "^8.3.0",
@@ -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": "^24.3.0",
64
+ "@metamask/network-controller": "^24.3.1",
65
65
  "@types/jest": "^27.4.1",
66
66
  "@types/jest-when": "^2.7.3",
67
67
  "deepmerge": "^4.2.2",