@metamask-previews/gas-fee-controller 20.0.0-preview-9d310688 → 20.0.1-preview-e34879fb
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 +20 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [20.0.1]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
15
|
+
- Previously, this package shipped with only one variant of type declaration
|
|
16
|
+
files, and these files were only CommonJS-compatible, and the `exports`
|
|
17
|
+
field in `package.json` linked to these files. This is an anti-pattern and
|
|
18
|
+
was rightfully flagged by the
|
|
19
|
+
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
|
|
20
|
+
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
|
|
21
|
+
All of the ATTW checks now pass.
|
|
22
|
+
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
|
|
23
|
+
- Previously, the build tool we used to generate JavaScript files extracted
|
|
24
|
+
common code to "chunk" files. While this was intended to make this package
|
|
25
|
+
more tree-shakeable, it also made debugging more difficult for our
|
|
26
|
+
development teams. These chunk files are no longer present.
|
|
27
|
+
|
|
10
28
|
## [20.0.0]
|
|
11
29
|
|
|
12
30
|
### Changed
|
|
@@ -333,7 +351,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
333
351
|
|
|
334
352
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
335
353
|
|
|
336
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@20.0.
|
|
354
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@20.0.1...HEAD
|
|
355
|
+
[20.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@20.0.0...@metamask/gas-fee-controller@20.0.1
|
|
337
356
|
[20.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@19.0.1...@metamask/gas-fee-controller@20.0.0
|
|
338
357
|
[19.0.1]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@19.0.0...@metamask/gas-fee-controller@19.0.1
|
|
339
358
|
[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/gas-fee-controller@18.0.0...@metamask/gas-fee-controller@19.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/gas-fee-controller",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.1-preview-e34879fb",
|
|
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.
|
|
50
|
+
"@metamask/base-controller": "^7.0.1",
|
|
51
|
+
"@metamask/controller-utils": "^11.3.0",
|
|
52
52
|
"@metamask/eth-query": "^4.0.0",
|
|
53
53
|
"@metamask/ethjs-unit": "^0.3.0",
|
|
54
|
-
"@metamask/polling-controller": "^10.0.
|
|
54
|
+
"@metamask/polling-controller": "^10.0.1",
|
|
55
55
|
"@metamask/utils": "^9.1.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": "^21.0.
|
|
63
|
+
"@metamask/network-controller": "^21.0.1",
|
|
64
64
|
"@types/jest": "^27.4.1",
|
|
65
65
|
"@types/jest-when": "^2.7.3",
|
|
66
66
|
"deepmerge": "^4.2.2",
|