@metamask/gas-fee-controller 22.0.0 → 22.0.1
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 +10 -1
- package/dist/GasFeeController.d.cts +4 -4
- package/dist/GasFeeController.d.mts +4 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [22.0.1]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/polling-controller` from `^12.0.0` to `^12.0.1` ([#4870](https://github.com/MetaMask/core/pull/4870))
|
|
15
|
+
- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862))
|
|
16
|
+
- Bump `@metamask/controller-utils` from `^11.4.0` to `^11.4.3` ([#4862](https://github.com/MetaMask/core/pull/4862), [#4870](https://github.com/MetaMask/core/pull/4870), [#4195](https://github.com/MetaMask/core/pull/4195))
|
|
17
|
+
|
|
10
18
|
## [22.0.0]
|
|
11
19
|
|
|
12
20
|
### Changed
|
|
@@ -367,7 +375,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
367
375
|
|
|
368
376
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
369
377
|
|
|
370
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.
|
|
378
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.1...HEAD
|
|
379
|
+
[22.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@22.0.0...@metamask/gas-fee-controller@22.0.1
|
|
371
380
|
[22.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@21.0.0...@metamask/gas-fee-controller@22.0.0
|
|
372
381
|
[21.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@20.0.1...@metamask/gas-fee-controller@21.0.0
|
|
373
382
|
[20.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@20.0.0...@metamask/gas-fee-controller@20.0.1
|
|
@@ -151,14 +151,14 @@ type GasFeePollingInput = {
|
|
|
151
151
|
networkClientId: NetworkClientId;
|
|
152
152
|
};
|
|
153
153
|
declare const GasFeeController_base: (abstract new (...args: any[]) => {
|
|
154
|
-
readonly "__#
|
|
155
|
-
"__#
|
|
154
|
+
readonly "__#787887@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
155
|
+
"__#787887@#intervalLength": number | undefined;
|
|
156
156
|
setIntervalLength(intervalLength: number): void;
|
|
157
157
|
getIntervalLength(): number | undefined;
|
|
158
158
|
_startPolling(input: GasFeePollingInput): void;
|
|
159
159
|
_stopPollingByPollingTokenSetId(key: string): void;
|
|
160
|
-
readonly "__#
|
|
161
|
-
"__#
|
|
160
|
+
readonly "__#787879@#pollingTokenSets": Map<string, Set<string>>;
|
|
161
|
+
"__#787879@#callbacks": Map<string, Set<(input: GasFeePollingInput) => void>>;
|
|
162
162
|
_executePoll(input: GasFeePollingInput): Promise<void>;
|
|
163
163
|
startPolling(input: GasFeePollingInput): string;
|
|
164
164
|
stopAllPolling(): void;
|
|
@@ -151,14 +151,14 @@ type GasFeePollingInput = {
|
|
|
151
151
|
networkClientId: NetworkClientId;
|
|
152
152
|
};
|
|
153
153
|
declare const GasFeeController_base: (abstract new (...args: any[]) => {
|
|
154
|
-
readonly "__#
|
|
155
|
-
"__#
|
|
154
|
+
readonly "__#787887@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
155
|
+
"__#787887@#intervalLength": number | undefined;
|
|
156
156
|
setIntervalLength(intervalLength: number): void;
|
|
157
157
|
getIntervalLength(): number | undefined;
|
|
158
158
|
_startPolling(input: GasFeePollingInput): void;
|
|
159
159
|
_stopPollingByPollingTokenSetId(key: string): void;
|
|
160
|
-
readonly "__#
|
|
161
|
-
"__#
|
|
160
|
+
readonly "__#787879@#pollingTokenSets": Map<string, Set<string>>;
|
|
161
|
+
"__#787879@#callbacks": Map<string, Set<(input: GasFeePollingInput) => void>>;
|
|
162
162
|
_executePoll(input: GasFeePollingInput): Promise<void>;
|
|
163
163
|
startPolling(input: GasFeePollingInput): string;
|
|
164
164
|
stopAllPolling(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/gas-fee-controller",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.1",
|
|
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,11 +47,11 @@
|
|
|
47
47
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@metamask/base-controller": "^7.0.
|
|
51
|
-
"@metamask/controller-utils": "^11.4.
|
|
50
|
+
"@metamask/base-controller": "^7.0.2",
|
|
51
|
+
"@metamask/controller-utils": "^11.4.3",
|
|
52
52
|
"@metamask/eth-query": "^4.0.0",
|
|
53
53
|
"@metamask/ethjs-unit": "^0.3.0",
|
|
54
|
-
"@metamask/polling-controller": "^12.0.
|
|
54
|
+
"@metamask/polling-controller": "^12.0.1",
|
|
55
55
|
"@metamask/utils": "^10.0.0",
|
|
56
56
|
"@types/bn.js": "^5.1.5",
|
|
57
57
|
"@types/uuid": "^8.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@metamask/auto-changelog": "^3.4.4",
|
|
63
|
-
"@metamask/network-controller": "^22.0.
|
|
63
|
+
"@metamask/network-controller": "^22.0.2",
|
|
64
64
|
"@types/jest": "^27.4.1",
|
|
65
65
|
"@types/jest-when": "^2.7.3",
|
|
66
66
|
"deepmerge": "^4.2.2",
|