@metamask-previews/gas-fee-controller
Advanced tools
Comparing version 13.0.0-preview.8cdddaf to 13.0.0-preview.bc4dd941
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
@@ -10,3 +11,5 @@ | ||
## [13.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/network-controller` peer dependency to `^17.2.0` ([#3821](https://github.com/MetaMask/core/pull/3821)) | ||
@@ -19,3 +22,5 @@ - Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769)) | ||
## [12.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/network-controller` dependency and peer dependency from `^17.0.0` to `^17.1.0` ([#3695](https://github.com/MetaMask/core/pull/3695)) | ||
@@ -30,3 +35,5 @@ - **BREAKING:** The `GasFeeController` now detects network changes using the `NetworkController:networkDidChange` event instead of `NetworkController:stateChange` ([#3610](https://github.com/MetaMask/core/pull/3610)) | ||
## [11.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) | ||
@@ -40,3 +47,5 @@ - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. | ||
## [10.0.1] | ||
### Changed | ||
- **BREAKING:** Bump dependency and peer dependency on `@metamask/network-controller` to ^16.0.0 | ||
@@ -48,6 +57,9 @@ - Bump dependency `@metamask/eth-query` from ^3.0.1 to ^4.0.0 ([#2028](https://github.com/MetaMask/core/pull/2028)) | ||
## [10.0.0] | ||
### Added | ||
- Add optional `networkClientId` argument to options object param of `fetchGasFeeEstimates` method which, if passed, fetches the required chainId and networkClient provider to fetch and store gasFee data appropriately. ([#1891](https://github.com/MetaMask/core/pull/1891)) | ||
### Changed | ||
- **BREAKING:** Bump dependency on `@metamask/polling-controller` to ^1.0.0 | ||
@@ -57,3 +69,5 @@ - Bump dependency and peer dependency on `@metamask/network-controller` to ^15.1.0 | ||
## [9.0.0] | ||
### Added | ||
- Add way to start and stop different polling sessions for the same network client ID by providing extra scoping data ([#1776](https://github.com/MetaMask/core/pull/1776)) | ||
@@ -64,2 +78,3 @@ - Add optional second argument to `stopPollingByPollingToken` (formerly `stopPollingByNetworkClientId`) | ||
### Changed | ||
- **BREAKING:** Make `executePoll` private ([#1810](https://github.com/MetaMask/core/pull/1810)) | ||
@@ -71,3 +86,5 @@ - **BREAKING:** Rename `stopPollingByNetworkClientId` to `stopPollingByPollingToken` ([#1810](https://github.com/MetaMask/core/pull/1810)) | ||
## [8.0.0] | ||
### Added | ||
- Add optional `gasFeeEstimatesByChainId` property to GasFeeController state ([#1673](https://github.com/MetaMask/core/pull/1673) | ||
@@ -77,2 +94,3 @@ - Add dependency on `@metamask/polling-controller` ([#1748])(https://github.com/MetaMask/core/pull/1748)) | ||
### Changed | ||
- **BREAKING:** Messenger must allow controller actions `NetworkController:getNetworkClientById` and `NetworkController:getEIP1559Compatibility` ([#1673](https://github.com/MetaMask/core/pull/1673) | ||
@@ -85,7 +103,11 @@ - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639)) | ||
## [7.0.1] | ||
### Changed | ||
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718)) | ||
## [7.0.0] | ||
### Changed | ||
- **BREAKING**: Bump peer dependency on `@metamask/network-controller` to ^13.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633)) | ||
@@ -95,3 +117,5 @@ - Bump dependency on `@metamask/controller-utils` to ^5.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633)) | ||
## [6.1.2] | ||
### Changed | ||
- Bump dependency on `@metamask/base-controller` to ^3.2.1 | ||
@@ -102,7 +126,11 @@ - Bump dependency on `@metamask/controller-utils` to ^4.3.2 | ||
## [6.1.1] | ||
### Changed | ||
- Replace `eth-query` ^2.1.2 with `@metamask/eth-query` ^3.0.1 ([#1546](https://github.com/MetaMask/core/pull/1546)) | ||
## [6.1.0] | ||
### Changed | ||
- Update `@metamask/utils` to `^6.2.0` ([#1514](https://github.com/MetaMask/core/pull/1514)) | ||
@@ -112,3 +140,5 @@ - Remove unnecessary `babel-runtime` dependencies ([#1504](https://github.com/MetaMask/core/pull/1504)) | ||
## [6.0.1] | ||
### Changed | ||
- Bump dependency on `controller-utils` ([#1447](https://github.com/MetaMask/core/pull/1447)) | ||
@@ -118,3 +148,5 @@ - The new version of `controller-utils` adds `eth-query` to the list of dependencies. This dependency was added to improve internal types for `gas-fee-controller`. This has no impact on users of the package. | ||
## [6.0.0] | ||
### Changed | ||
- **BREAKING:** Bump to Node 16 ([#1262](https://github.com/MetaMask/core/pull/1262)) | ||
@@ -130,14 +162,21 @@ - **BREAKING:** The `getChainId` constructor parameter now expects a `Hex` return type rather than a decimal string ([#1367](https://github.com/MetaMask/core/pull/1367)) | ||
## [5.0.0] | ||
### Changed | ||
- **BREAKING**: peerDeps: @metamask/network-controller@6.0.0->8.0.0 ([#1196](https://github.com/MetaMask/core/pull/1196)) | ||
## [4.0.1] | ||
### Changed | ||
- Adjust types to align with new version of `NetworkController` ([#1091](https://github.com/MetaMask/core/pull/1091)) | ||
## [4.0.0] | ||
### Changed | ||
- **BREAKING:** Make the EIP-1559 endpoint a required argument ([#1083](https://github.com/MetaMask/core/pull/1083)) | ||
### Removed | ||
- **BREAKING:** Remove `isomorphic-fetch` ([#1106](https://github.com/MetaMask/controllers/pull/1106)) | ||
@@ -147,3 +186,5 @@ - Consumers must now import `isomorphic-fetch` or another polyfill themselves if they are running in an environment without `fetch` | ||
## [3.0.0] | ||
### Changed | ||
- **BREAKING:** Update `@metamask/network-controller` peer dependency to v3 ([#1041](https://github.com/MetaMask/controllers/pull/1041)) | ||
@@ -154,7 +195,11 @@ - Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031)) | ||
## [2.0.1] | ||
### Fixed | ||
- This package will now warn if a required package is not present ([#1003](https://github.com/MetaMask/core/pull/1003)) | ||
## [2.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/network-controller` to 2.0.0 ([#995](https://github.com/MetaMask/core/pull/995)) | ||
@@ -165,5 +210,9 @@ - GasFeeController now expects NetworkController to respond to the `NetworkController:providerChangeConfig` event (previously named `NetworkController:providerChange`). If you are depending directly on `@metamask/network-controller`, you should update your version to at least 2.0.0 as well. | ||
## [1.0.0] | ||
### Added | ||
- Initial release | ||
- As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/core/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/core/tree/v33.0.0), namely: | ||
- Everything in `src/gas` | ||
@@ -170,0 +219,0 @@ |
{ | ||
"name": "@metamask-previews/gas-fee-controller", | ||
"version": "13.0.0-preview.8cdddaf", | ||
"version": "13.0.0-preview.bc4dd941", | ||
"description": "Periodically calculates gas fee estimates based on various gas limits as well as other data displayed on transaction confirm screens", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"@metamask/eth-query": "^4.0.0", | ||
"@metamask/ethjs-unit": "^0.2.1", | ||
"@metamask/ethjs-unit": "^0.3.0", | ||
"@metamask/network-controller": "^17.2.0", | ||
@@ -40,0 +40,0 @@ "@metamask/polling-controller": "^5.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175521
+ Added@types/node@22.10.1(transitive)
- Removed@metamask/ethjs-unit@0.2.1(transitive)
- Removed@types/node@22.10.0(transitive)
- Removedbn.js@4.11.6(transitive)
- Removednumber-to-bn@1.7.0(transitive)
Updated@metamask/ethjs-unit@^0.3.0