@metamask-previews/assets-controllers 45.1.2-preview-407f96d → 46.0.0-preview-ca1f35f
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 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -7,9 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [46.0.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add new `MultichainBalancesController` ([#4965](https://github.com/MetaMask/core/pull/4965))
|
|
15
|
+
- This controller has been migrated from the MetaMask extension codebase.
|
|
16
|
+
- Added utility function `getKeyByValue` ([#5099](https://github.com/MetaMask/core/pull/5099))
|
|
17
|
+
|
|
10
18
|
### Changed
|
|
11
19
|
|
|
12
|
-
- Bump `@metamask/
|
|
20
|
+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^20.0.0` to `^21.0.0` ([#5140](https://github.com/MetaMask/core/pull/5140))
|
|
21
|
+
- Bump `@metamask/base-controller` from `^7.0.0` to `^7.1.1` ([#5079](https://github.com/MetaMask/core/pull/5079)), ([#5135](https://github.com/MetaMask/core/pull/5135))
|
|
22
|
+
- Bump `@metamask/keyring-api` from `^12.0.0` to `^13.0.0` ([#5066](https://github.com/MetaMask/core/pull/5066))
|
|
23
|
+
- Bump `@metamask/utils` to `^11.0.1` ([#5080](https://github.com/MetaMask/core/pull/5080))
|
|
24
|
+
- Bump `@metamask/rpc-errors` to `^7.0.2` ([#5080](https://github.com/MetaMask/core/pull/5080))
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Fix Mantle price when calling `fetchMultiExchangeRate` ([#5099](https://github.com/MetaMask/core/pull/5099))
|
|
29
|
+
- Fix multicall revert in `TokenBalancesController` ([#5083](https://github.com/MetaMask/core/pull/5083))
|
|
30
|
+
- `TokenBalancesController` was fixed to fetch erc20 token balances even if there's an invalid token in state whose address does not point to a smart contract.
|
|
31
|
+
- Fix state changes for `ignoreTokens` for non-selected networks ([#5014](https://github.com/MetaMask/core/pull/5014))
|
|
13
32
|
|
|
14
33
|
## [45.1.2]
|
|
15
34
|
|
|
@@ -1304,7 +1323,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1304
1323
|
|
|
1305
1324
|
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
|
|
1306
1325
|
|
|
1307
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@
|
|
1326
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@46.0.0...HEAD
|
|
1327
|
+
[46.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@45.1.2...@metamask/assets-controllers@46.0.0
|
|
1308
1328
|
[45.1.2]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@45.1.1...@metamask/assets-controllers@45.1.2
|
|
1309
1329
|
[45.1.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@45.1.0...@metamask/assets-controllers@45.1.1
|
|
1310
1330
|
[45.1.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@45.0.0...@metamask/assets-controllers@45.1.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/assets-controllers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "46.0.0-preview-ca1f35f",
|
|
4
4
|
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@ethersproject/contracts": "^5.7.0",
|
|
55
55
|
"@ethersproject/providers": "^5.7.0",
|
|
56
56
|
"@metamask/abi-utils": "^2.0.3",
|
|
57
|
-
"@metamask/base-controller": "^7.1.
|
|
57
|
+
"@metamask/base-controller": "^7.1.1",
|
|
58
58
|
"@metamask/contract-metadata": "^2.4.0",
|
|
59
|
-
"@metamask/controller-utils": "^11.4.
|
|
59
|
+
"@metamask/controller-utils": "^11.4.5",
|
|
60
60
|
"@metamask/eth-query": "^4.0.0",
|
|
61
61
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
62
62
|
"@metamask/polling-controller": "^12.0.2",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@babel/runtime": "^7.23.9",
|
|
80
|
-
"@metamask/accounts-controller": "^
|
|
81
|
-
"@metamask/approval-controller": "^7.1.
|
|
80
|
+
"@metamask/accounts-controller": "^21.0.0",
|
|
81
|
+
"@metamask/approval-controller": "^7.1.2",
|
|
82
82
|
"@metamask/auto-changelog": "^3.4.4",
|
|
83
83
|
"@metamask/ethjs-provider-http": "^0.3.0",
|
|
84
84
|
"@metamask/keyring-api": "^13.0.0",
|
|
85
|
-
"@metamask/keyring-controller": "^19.0.
|
|
86
|
-
"@metamask/keyring-internal-api": "^
|
|
87
|
-
"@metamask/keyring-snap-client": "^
|
|
85
|
+
"@metamask/keyring-controller": "^19.0.3",
|
|
86
|
+
"@metamask/keyring-internal-api": "^2.0.0",
|
|
87
|
+
"@metamask/keyring-snap-client": "^2.0.0",
|
|
88
88
|
"@metamask/network-controller": "^22.1.1",
|
|
89
89
|
"@metamask/preferences-controller": "^15.0.1",
|
|
90
90
|
"@metamask/providers": "^18.1.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"webextension-polyfill": "^0.12.0"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
|
-
"@metamask/accounts-controller": "^
|
|
108
|
+
"@metamask/accounts-controller": "^21.0.0",
|
|
109
109
|
"@metamask/approval-controller": "^7.0.0",
|
|
110
110
|
"@metamask/keyring-controller": "^19.0.0",
|
|
111
111
|
"@metamask/network-controller": "^22.0.0",
|