@metamask-previews/transaction-controller 36.1.0-preview-cf09c0a → 37.0.0-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 +32 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [37.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Remove unapproved transactions during initialisation ([#4658](https://github.com/MetaMask/core/pull/4658))
|
|
15
|
+
- Fail approved and signed transactions during initialisation ([#4658](https://github.com/MetaMask/core/pull/4658))
|
|
16
|
+
- Remove `TraceContext`, `TraceRequest`, and `TraceCallback` types ([#4655](https://github.com/MetaMask/core/pull/4655))
|
|
17
|
+
- These were moved to `@metamask/controller-utils`.
|
|
18
|
+
|
|
19
|
+
### Removed
|
|
20
|
+
|
|
21
|
+
- **BREAKING:** Remove `initApprovals` method ([#4658](https://github.com/MetaMask/core/pull/4658))
|
|
22
|
+
- **BREAKING:** Remove `beforeApproveOnInit` hook ([#4658](https://github.com/MetaMask/core/pull/4658))
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
27
|
+
- Previously, this package shipped with only one variant of type declaration
|
|
28
|
+
files, and these files were only CommonJS-compatible, and the `exports`
|
|
29
|
+
field in `package.json` linked to these files. This is an anti-pattern and
|
|
30
|
+
was rightfully flagged by the
|
|
31
|
+
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
|
|
32
|
+
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
|
|
33
|
+
All of the ATTW checks now pass.
|
|
34
|
+
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
|
|
35
|
+
- Previously, the build tool we used to generate JavaScript files extracted
|
|
36
|
+
common code to "chunk" files. While this was intended to make this package
|
|
37
|
+
more tree-shakeable, it also made debugging more difficult for our
|
|
38
|
+
development teams. These chunk files are no longer present.
|
|
39
|
+
|
|
10
40
|
## [36.1.0]
|
|
11
41
|
|
|
12
42
|
### Added
|
|
@@ -993,7 +1023,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
993
1023
|
|
|
994
1024
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
995
1025
|
|
|
996
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@
|
|
1026
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@37.0.0...HEAD
|
|
1027
|
+
[37.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@36.1.0...@metamask/transaction-controller@37.0.0
|
|
997
1028
|
[36.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@36.0.0...@metamask/transaction-controller@36.1.0
|
|
998
1029
|
[36.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@35.2.0...@metamask/transaction-controller@36.0.0
|
|
999
1030
|
[35.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@35.1.1...@metamask/transaction-controller@35.2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/transaction-controller",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "37.0.0-preview-e34879fb",
|
|
4
4
|
"description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@ethersproject/abi": "^5.7.0",
|
|
54
54
|
"@ethersproject/contracts": "^5.7.0",
|
|
55
55
|
"@ethersproject/providers": "^5.7.0",
|
|
56
|
-
"@metamask/base-controller": "^7.0.
|
|
57
|
-
"@metamask/controller-utils": "^11.
|
|
56
|
+
"@metamask/base-controller": "^7.0.1",
|
|
57
|
+
"@metamask/controller-utils": "^11.3.0",
|
|
58
58
|
"@metamask/eth-query": "^4.0.0",
|
|
59
59
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
60
60
|
"@metamask/nonce-tracker": "^6.0.0",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@babel/runtime": "^7.23.9",
|
|
72
|
-
"@metamask/accounts-controller": "^18.2.
|
|
73
|
-
"@metamask/approval-controller": "^7.0.
|
|
72
|
+
"@metamask/accounts-controller": "^18.2.1",
|
|
73
|
+
"@metamask/approval-controller": "^7.0.4",
|
|
74
74
|
"@metamask/auto-changelog": "^3.4.4",
|
|
75
|
-
"@metamask/eth-json-rpc-provider": "^4.1.
|
|
75
|
+
"@metamask/eth-json-rpc-provider": "^4.1.4",
|
|
76
76
|
"@metamask/ethjs-provider-http": "^0.3.0",
|
|
77
|
-
"@metamask/gas-fee-controller": "^20.0.
|
|
77
|
+
"@metamask/gas-fee-controller": "^20.0.1",
|
|
78
78
|
"@metamask/keyring-api": "^8.1.0",
|
|
79
|
-
"@metamask/network-controller": "^21.0.
|
|
79
|
+
"@metamask/network-controller": "^21.0.1",
|
|
80
80
|
"@types/bn.js": "^5.1.5",
|
|
81
81
|
"@types/jest": "^27.4.1",
|
|
82
82
|
"@types/node": "^16.18.54",
|