@metamask/gas-fee-controller 2.0.1 → 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 CHANGED
@@ -6,25 +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
+
9
15
  ## [2.0.1]
10
16
  ### Fixed
11
- - This package will now warn if a required package is not present ([#1003](https://github.com/MetaMask/controllers/pull/1003))
17
+ - This package will now warn if a required package is not present ([#1003](https://github.com/MetaMask/core/pull/1003))
12
18
 
13
19
  ## [2.0.0]
14
20
  ### Changed
15
- - **BREAKING:** Bump `@metamask/network-controller` to 2.0.0 ([#995](https://github.com/MetaMask/controllers/pull/995))
21
+ - **BREAKING:** Bump `@metamask/network-controller` to 2.0.0 ([#995](https://github.com/MetaMask/core/pull/995))
16
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.
17
- - Relax dependencies on `@metamask/base-controller`, `@metamask/controller-utils`, and `@metamask/network-controller` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/controllers/pull/998))
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))
18
24
 
19
25
  ## [1.0.0]
20
26
  ### Added
21
27
  - Initial release
22
- - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/controllers/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/controllers/tree/v33.0.0), namely:
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:
23
29
  - Everything in `src/gas`
24
30
 
25
31
  All changes listed after this point were applied to this package following the monorepo conversion.
26
32
 
27
- [Unreleased]: https://github.com/MetaMask/controllers/compare/@metamask/gas-fee-controller@2.0.1...HEAD
28
- [2.0.1]: https://github.com/MetaMask/controllers/compare/@metamask/gas-fee-controller@2.0.0...@metamask/gas-fee-controller@2.0.1
29
- [2.0.0]: https://github.com/MetaMask/controllers/compare/@metamask/gas-fee-controller@1.0.0...@metamask/gas-fee-controller@2.0.0
30
- [1.0.0]: https://github.com/MetaMask/controllers/releases/tag/@metamask/gas-fee-controller@1.0.0
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/controllers#readme).
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": "2.0.1",
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/controllers/tree/main/packages/gas-fee-controller#readme",
9
+ "homepage": "https://github.com/MetaMask/core/tree/main/packages/gas-fee-controller#readme",
10
10
  "bugs": {
11
- "url": "https://github.com/MetaMask/controllers/issues"
11
+ "url": "https://github.com/MetaMask/core/issues"
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/MetaMask/controllers.git"
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.1",
33
- "@metamask/controller-utils": "^1.0.0",
34
- "@metamask/network-controller": "^2.0.0",
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",
@@ -55,7 +55,7 @@
55
55
  "typescript": "~4.6.3"
56
56
  },
57
57
  "peerDependencies": {
58
- "@metamask/network-controller": "^2.0.0"
58
+ "@metamask/network-controller": "^3.0.0"
59
59
  },
60
60
  "engines": {
61
61
  "node": ">=14.0.0"