@metamask-previews/assets-controllers 91.0.0-preview-0e8737f → 91.0.0-preview-4a05a524
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 +22 -4
- package/package.json +14 -26
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
### Fixed
|
|
11
|
-
|
|
12
|
-
- Fix `TokenBalancesController` state that store both lowercase and checksum account addresses ([#7216](https://github.com/MetaMask/core/pull/7216))
|
|
13
|
-
|
|
14
10
|
### Added
|
|
15
11
|
|
|
16
12
|
- **BREAKING:** Add optional JWT token authentication to multi-chain accounts API calls ([#7165](https://github.com/MetaMask/core/pull/7165))
|
|
@@ -20,8 +16,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
20
16
|
- JWT token is included in `Authorization: Bearer <token>` header when provided
|
|
21
17
|
- Backward compatible: token parameter is optional and APIs work without authentication
|
|
22
18
|
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Move peer dependencies for controller and service packages to direct dependencies ([#7209](https://github.com/MetaMask/core/pull/7209), [#7220](https://github.com/MetaMask/core/pull/7220))
|
|
22
|
+
- The dependencies moved are:
|
|
23
|
+
- `@metamask/account-tree-controller` (^4.0.0)
|
|
24
|
+
- `@metamask/accounts-controller` (^35.0.0)
|
|
25
|
+
- `@metamask/approval-controller` (^8.0.0)
|
|
26
|
+
- `@metamask/core-backend` (^5.0.0)
|
|
27
|
+
- `@metamask/keyring-controller` (^25.0.0)
|
|
28
|
+
- `@metamask/multichain-account-service` (^4.0.0)
|
|
29
|
+
- `@metamask/network-controller` (^26.0.0)
|
|
30
|
+
- `@metamask/permission-controller` (^12.1.1)
|
|
31
|
+
- `@metamask/phishing-controller` (^16.1.0)
|
|
32
|
+
- `@metamask/preferences-controller` (^22.0.0)
|
|
33
|
+
- `@metamask/profile-sync-controller` (^27.0.0)
|
|
34
|
+
- `@metamask/snaps-controllers` (^14.0.1)
|
|
35
|
+
- `@metamask/transaction-controller` (^62.2.0)
|
|
36
|
+
- In clients, it is now possible for multiple versions of these packages to exist in the dependency tree.
|
|
37
|
+
- For example, this scenario would be valid: a client relies on `@metamask/controller-a` 1.0.0 and `@metamask/controller-b` 1.0.0, and `@metamask/controller-b` depends on `@metamask/controller-a` 1.1.0.
|
|
38
|
+
- Note, however, that the versions specified in the client's `package.json` always "win", and you are expected to keep them up to date so as not to break controller and service intercommunication.
|
|
39
|
+
|
|
23
40
|
### Fixed
|
|
24
41
|
|
|
42
|
+
- Fix `TokenBalancesController` state that store both lowercase and checksum account addresses ([#7217](https://github.com/MetaMask/core/pull/7217))
|
|
25
43
|
- `TokenBalancesController`: state inconsistency by ensuring all account addresses are stored in lowercase format ([#7216](https://github.com/MetaMask/core/pull/7216))
|
|
26
44
|
|
|
27
45
|
## [91.0.0]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/assets-controllers",
|
|
3
|
-
"version": "91.0.0-preview-
|
|
3
|
+
"version": "91.0.0-preview-4a05a524",
|
|
4
4
|
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -55,17 +55,30 @@
|
|
|
55
55
|
"@ethersproject/contracts": "^5.7.0",
|
|
56
56
|
"@ethersproject/providers": "^5.7.0",
|
|
57
57
|
"@metamask/abi-utils": "^2.0.3",
|
|
58
|
+
"@metamask/account-tree-controller": "^4.0.0",
|
|
59
|
+
"@metamask/accounts-controller": "^35.0.0",
|
|
60
|
+
"@metamask/approval-controller": "^8.0.0",
|
|
58
61
|
"@metamask/base-controller": "^9.0.0",
|
|
59
62
|
"@metamask/contract-metadata": "^2.4.0",
|
|
60
63
|
"@metamask/controller-utils": "^11.16.0",
|
|
64
|
+
"@metamask/core-backend": "^5.0.0",
|
|
61
65
|
"@metamask/eth-query": "^4.0.0",
|
|
62
66
|
"@metamask/keyring-api": "^21.0.0",
|
|
67
|
+
"@metamask/keyring-controller": "^25.0.0",
|
|
63
68
|
"@metamask/messenger": "^0.3.0",
|
|
64
69
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
70
|
+
"@metamask/multichain-account-service": "^4.0.0",
|
|
71
|
+
"@metamask/network-controller": "^26.0.0",
|
|
72
|
+
"@metamask/permission-controller": "^12.1.1",
|
|
73
|
+
"@metamask/phishing-controller": "^16.1.0",
|
|
65
74
|
"@metamask/polling-controller": "^16.0.0",
|
|
75
|
+
"@metamask/preferences-controller": "^22.0.0",
|
|
76
|
+
"@metamask/profile-sync-controller": "^27.0.0",
|
|
66
77
|
"@metamask/rpc-errors": "^7.0.2",
|
|
78
|
+
"@metamask/snaps-controllers": "^14.0.1",
|
|
67
79
|
"@metamask/snaps-sdk": "^9.0.0",
|
|
68
80
|
"@metamask/snaps-utils": "^11.0.0",
|
|
81
|
+
"@metamask/transaction-controller": "^62.2.0",
|
|
69
82
|
"@metamask/utils": "^11.8.1",
|
|
70
83
|
"@types/bn.js": "^5.1.5",
|
|
71
84
|
"@types/uuid": "^8.3.0",
|
|
@@ -82,24 +95,11 @@
|
|
|
82
95
|
"devDependencies": {
|
|
83
96
|
"@babel/runtime": "^7.23.9",
|
|
84
97
|
"@metamask/account-api": "^0.12.0",
|
|
85
|
-
"@metamask/account-tree-controller": "^4.0.0",
|
|
86
|
-
"@metamask/accounts-controller": "^35.0.0",
|
|
87
|
-
"@metamask/approval-controller": "^8.0.0",
|
|
88
98
|
"@metamask/auto-changelog": "^3.4.4",
|
|
89
|
-
"@metamask/core-backend": "^5.0.0",
|
|
90
99
|
"@metamask/ethjs-provider-http": "^0.3.0",
|
|
91
|
-
"@metamask/keyring-controller": "^25.0.0",
|
|
92
100
|
"@metamask/keyring-internal-api": "^9.0.0",
|
|
93
101
|
"@metamask/keyring-snap-client": "^8.0.0",
|
|
94
|
-
"@metamask/multichain-account-service": "^4.0.0",
|
|
95
|
-
"@metamask/network-controller": "^26.0.0",
|
|
96
|
-
"@metamask/permission-controller": "^12.1.1",
|
|
97
|
-
"@metamask/phishing-controller": "^16.1.0",
|
|
98
|
-
"@metamask/preferences-controller": "^22.0.0",
|
|
99
|
-
"@metamask/profile-sync-controller": "^27.0.0",
|
|
100
102
|
"@metamask/providers": "^22.1.0",
|
|
101
|
-
"@metamask/snaps-controllers": "^14.0.1",
|
|
102
|
-
"@metamask/transaction-controller": "^62.1.0",
|
|
103
103
|
"@ts-bridge/cli": "^0.6.4",
|
|
104
104
|
"@types/jest": "^27.4.1",
|
|
105
105
|
"@types/lodash": "^4.14.191",
|
|
@@ -116,19 +116,7 @@
|
|
|
116
116
|
"webextension-polyfill": "^0.12.0"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@metamask/account-tree-controller": "^4.0.0",
|
|
120
|
-
"@metamask/accounts-controller": "^35.0.0",
|
|
121
|
-
"@metamask/approval-controller": "^8.0.0",
|
|
122
|
-
"@metamask/core-backend": "^5.0.0",
|
|
123
|
-
"@metamask/keyring-controller": "^25.0.0",
|
|
124
|
-
"@metamask/network-controller": "^26.0.0",
|
|
125
|
-
"@metamask/permission-controller": "^12.0.0",
|
|
126
|
-
"@metamask/phishing-controller": "^16.0.0",
|
|
127
|
-
"@metamask/preferences-controller": "^22.0.0",
|
|
128
|
-
"@metamask/profile-sync-controller": "^27.0.0",
|
|
129
119
|
"@metamask/providers": "^22.0.0",
|
|
130
|
-
"@metamask/snaps-controllers": "^14.0.0",
|
|
131
|
-
"@metamask/transaction-controller": "^62.0.0",
|
|
132
120
|
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
|
|
133
121
|
},
|
|
134
122
|
"engines": {
|