@metamask/gas-fee-controller 2.0.0 → 3.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 +18 -6
- package/README.md +1 -1
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -6,20 +6,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [3.0.0]
|
|
10
|
+
### Changed
|
|
11
|
+
- **BREAKING:** Update `@metamask/network-controller` peer dependency to v3 ([#1041](https://github.com/MetaMask/controllers/pull/1041))
|
|
12
|
+
- Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031))
|
|
13
|
+
- Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
|
|
14
|
+
|
|
15
|
+
## [2.0.1]
|
|
16
|
+
### Fixed
|
|
17
|
+
- This package will now warn if a required package is not present ([#1003](https://github.com/MetaMask/core/pull/1003))
|
|
18
|
+
|
|
9
19
|
## [2.0.0]
|
|
10
20
|
### Changed
|
|
11
|
-
- **BREAKING:** Bump `@metamask/network-controller` to 2.0.0 ([#995](https://github.com/MetaMask/
|
|
21
|
+
- **BREAKING:** Bump `@metamask/network-controller` to 2.0.0 ([#995](https://github.com/MetaMask/core/pull/995))
|
|
12
22
|
- 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.
|
|
13
|
-
- Relax dependencies on `@metamask/base-controller`, `@metamask/controller-utils`, and `@metamask/network-controller` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/
|
|
23
|
+
- Relax dependencies on `@metamask/base-controller`, `@metamask/controller-utils`, and `@metamask/network-controller` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/core/pull/998))
|
|
14
24
|
|
|
15
25
|
## [1.0.0]
|
|
16
26
|
### Added
|
|
17
27
|
- Initial release
|
|
18
|
-
- As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/
|
|
28
|
+
- 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:
|
|
19
29
|
- Everything in `src/gas`
|
|
20
30
|
|
|
21
31
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
22
32
|
|
|
23
|
-
[Unreleased]: https://github.com/MetaMask/
|
|
24
|
-
[
|
|
25
|
-
[
|
|
33
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@3.0.0...HEAD
|
|
34
|
+
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@2.0.1...@metamask/gas-fee-controller@3.0.0
|
|
35
|
+
[2.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@2.0.0...@metamask/gas-fee-controller@2.0.1
|
|
36
|
+
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@1.0.0...@metamask/gas-fee-controller@2.0.0
|
|
37
|
+
[1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/gas-fee-controller@1.0.0
|
package/README.md
CHANGED
|
@@ -12,4 +12,4 @@ or
|
|
|
12
12
|
|
|
13
13
|
## Contributing
|
|
14
14
|
|
|
15
|
-
This package is part of a monorepo. Instructions for contributing can be found in the [monorepo README](https://github.com/MetaMask/
|
|
15
|
+
This package is part of a monorepo. Instructions for contributing can be found in the [monorepo README](https://github.com/MetaMask/core#readme).
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/gas-fee-controller",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.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",
|
|
7
7
|
"Ethereum"
|
|
8
8
|
],
|
|
9
|
-
"homepage": "https://github.com/MetaMask/
|
|
9
|
+
"homepage": "https://github.com/MetaMask/core/tree/main/packages/gas-fee-controller#readme",
|
|
10
10
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/MetaMask/
|
|
11
|
+
"url": "https://github.com/MetaMask/core/issues"
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/MetaMask/
|
|
15
|
+
"url": "https://github.com/MetaMask/core.git"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"main": "./dist/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@metamask/base-controller": "^1.1.
|
|
33
|
-
"@metamask/controller-utils": "^
|
|
34
|
-
"@metamask/network-controller": "^
|
|
32
|
+
"@metamask/base-controller": "^1.1.2",
|
|
33
|
+
"@metamask/controller-utils": "^2.0.0",
|
|
34
|
+
"@metamask/network-controller": "^3.0.0",
|
|
35
35
|
"@types/uuid": "^8.3.0",
|
|
36
36
|
"babel-runtime": "^6.26.0",
|
|
37
37
|
"eth-query": "^2.1.2",
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
"typedoc-plugin-missing-exports": "^0.22.6",
|
|
55
55
|
"typescript": "~4.6.3"
|
|
56
56
|
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@metamask/network-controller": "^3.0.0"
|
|
59
|
+
},
|
|
57
60
|
"engines": {
|
|
58
61
|
"node": ">=14.0.0"
|
|
59
62
|
},
|