@metamask/gas-fee-controller 26.1.0 → 26.1.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-method-action-types.cjs +1 -1
- package/dist/GasFeeController-method-action-types.cjs.map +1 -1
- package/dist/GasFeeController-method-action-types.d.cts +1 -1
- package/dist/GasFeeController-method-action-types.d.mts +1 -1
- package/dist/GasFeeController-method-action-types.mjs +1 -1
- package/dist/GasFeeController-method-action-types.mjs.map +1 -1
- package/package.json +4 -4
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
|
+
## [26.1.1]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/base-controller` from `^9.0.0` to `^9.0.1` ([#8317](https://github.com/MetaMask/core/pull/8317))
|
|
15
|
+
- Bump `@metamask/network-controller` from `^30.0.0` to `^30.0.1` ([#8317](https://github.com/MetaMask/core/pull/8317))
|
|
16
|
+
- Bump `@metamask/polling-controller` from `^16.0.3` to `^16.0.4` ([#8317](https://github.com/MetaMask/core/pull/8317))
|
|
17
|
+
|
|
10
18
|
## [26.1.0]
|
|
11
19
|
|
|
12
20
|
### Added
|
|
@@ -510,7 +518,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
510
518
|
|
|
511
519
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
512
520
|
|
|
513
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@26.1.
|
|
521
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@26.1.1...HEAD
|
|
522
|
+
[26.1.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@26.1.0...@metamask/gas-fee-controller@26.1.1
|
|
514
523
|
[26.1.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@26.0.3...@metamask/gas-fee-controller@26.1.0
|
|
515
524
|
[26.0.3]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@26.0.2...@metamask/gas-fee-controller@26.0.3
|
|
516
525
|
[26.0.2]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@26.0.1...@metamask/gas-fee-controller@26.0.2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GasFeeController-method-action-types.cjs","sourceRoot":"","sources":["../src/GasFeeController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"GasFeeController-method-action-types.cjs","sourceRoot":"","sources":["../src/GasFeeController-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { GasFeeController } from './GasFeeController';\n\n/**\n * Resets the polling interval by stopping and restarting polling\n * with the existing poll tokens.\n */\nexport type GasFeeControllerResetPollingAction = {\n type: `GasFeeController:resetPolling`;\n handler: GasFeeController['resetPolling'];\n};\n\n/**\n * Fetches gas fee estimates.\n *\n * @param options - The gas fee estimate options.\n * @returns The gas fee estimates.\n */\nexport type GasFeeControllerFetchGasFeeEstimatesAction = {\n type: `GasFeeController:fetchGasFeeEstimates`;\n handler: GasFeeController['fetchGasFeeEstimates'];\n};\n\n/**\n * Gets gas fee estimates and starts polling for updates.\n *\n * @param pollToken - An existing poll token to reuse, or undefined to\n * generate a new one.\n * @returns The poll token that can be used to stop polling.\n */\nexport type GasFeeControllerGetGasFeeEstimatesAndStartPollingAction = {\n type: `GasFeeController:getGasFeeEstimatesAndStartPolling`;\n handler: GasFeeController['getGasFeeEstimatesAndStartPolling'];\n};\n\n/**\n * Remove the poll token, and stop polling if the set of poll tokens is empty.\n *\n * @param pollToken - The poll token to disconnect.\n */\nexport type GasFeeControllerDisconnectPollerAction = {\n type: `GasFeeController:disconnectPoller`;\n handler: GasFeeController['disconnectPoller'];\n};\n\n/**\n * Stops polling for gas fee estimates and clears all poll tokens.\n */\nexport type GasFeeControllerStopPollingAction = {\n type: `GasFeeController:stopPolling`;\n handler: GasFeeController['stopPolling'];\n};\n\n/**\n * Gets the estimated time for a transaction based on the given gas parameters.\n *\n * @param maxPriorityFeePerGas - The maximum priority fee per gas in GWEI.\n * @param maxFeePerGas - The maximum fee per gas in GWEI.\n * @returns The estimated time bounds, or an empty object if fee market\n * estimates are not available.\n */\nexport type GasFeeControllerGetTimeEstimateAction = {\n type: `GasFeeController:getTimeEstimate`;\n handler: GasFeeController['getTimeEstimate'];\n};\n\n/**\n * Union of all GasFeeController action types.\n */\nexport type GasFeeControllerMethodActions =\n | GasFeeControllerResetPollingAction\n | GasFeeControllerFetchGasFeeEstimatesAction\n | GasFeeControllerGetGasFeeEstimatesAndStartPollingAction\n | GasFeeControllerDisconnectPollerAction\n | GasFeeControllerStopPollingAction\n | GasFeeControllerGetTimeEstimateAction;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GasFeeController-method-action-types.mjs","sourceRoot":"","sources":["../src/GasFeeController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated
|
|
1
|
+
{"version":3,"file":"GasFeeController-method-action-types.mjs","sourceRoot":"","sources":["../src/GasFeeController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { GasFeeController } from './GasFeeController';\n\n/**\n * Resets the polling interval by stopping and restarting polling\n * with the existing poll tokens.\n */\nexport type GasFeeControllerResetPollingAction = {\n type: `GasFeeController:resetPolling`;\n handler: GasFeeController['resetPolling'];\n};\n\n/**\n * Fetches gas fee estimates.\n *\n * @param options - The gas fee estimate options.\n * @returns The gas fee estimates.\n */\nexport type GasFeeControllerFetchGasFeeEstimatesAction = {\n type: `GasFeeController:fetchGasFeeEstimates`;\n handler: GasFeeController['fetchGasFeeEstimates'];\n};\n\n/**\n * Gets gas fee estimates and starts polling for updates.\n *\n * @param pollToken - An existing poll token to reuse, or undefined to\n * generate a new one.\n * @returns The poll token that can be used to stop polling.\n */\nexport type GasFeeControllerGetGasFeeEstimatesAndStartPollingAction = {\n type: `GasFeeController:getGasFeeEstimatesAndStartPolling`;\n handler: GasFeeController['getGasFeeEstimatesAndStartPolling'];\n};\n\n/**\n * Remove the poll token, and stop polling if the set of poll tokens is empty.\n *\n * @param pollToken - The poll token to disconnect.\n */\nexport type GasFeeControllerDisconnectPollerAction = {\n type: `GasFeeController:disconnectPoller`;\n handler: GasFeeController['disconnectPoller'];\n};\n\n/**\n * Stops polling for gas fee estimates and clears all poll tokens.\n */\nexport type GasFeeControllerStopPollingAction = {\n type: `GasFeeController:stopPolling`;\n handler: GasFeeController['stopPolling'];\n};\n\n/**\n * Gets the estimated time for a transaction based on the given gas parameters.\n *\n * @param maxPriorityFeePerGas - The maximum priority fee per gas in GWEI.\n * @param maxFeePerGas - The maximum fee per gas in GWEI.\n * @returns The estimated time bounds, or an empty object if fee market\n * estimates are not available.\n */\nexport type GasFeeControllerGetTimeEstimateAction = {\n type: `GasFeeController:getTimeEstimate`;\n handler: GasFeeController['getTimeEstimate'];\n};\n\n/**\n * Union of all GasFeeController action types.\n */\nexport type GasFeeControllerMethodActions =\n | GasFeeControllerResetPollingAction\n | GasFeeControllerFetchGasFeeEstimatesAction\n | GasFeeControllerGetGasFeeEstimatesAndStartPollingAction\n | GasFeeControllerDisconnectPollerAction\n | GasFeeControllerStopPollingAction\n | GasFeeControllerGetTimeEstimateAction;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/gas-fee-controller",
|
|
3
|
-
"version": "26.1.
|
|
3
|
+
"version": "26.1.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",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@metamask/base-controller": "^9.0.
|
|
51
|
+
"@metamask/base-controller": "^9.0.1",
|
|
52
52
|
"@metamask/controller-utils": "^11.19.0",
|
|
53
53
|
"@metamask/eth-query": "^4.0.0",
|
|
54
54
|
"@metamask/ethjs-unit": "^0.3.0",
|
|
55
|
-
"@metamask/network-controller": "^30.0.
|
|
56
|
-
"@metamask/polling-controller": "^16.0.
|
|
55
|
+
"@metamask/network-controller": "^30.0.1",
|
|
56
|
+
"@metamask/polling-controller": "^16.0.4",
|
|
57
57
|
"@metamask/utils": "^11.9.0",
|
|
58
58
|
"@types/bn.js": "^5.1.5",
|
|
59
59
|
"@types/uuid": "^8.3.0",
|