@metamask-previews/assets-controllers 55.0.1-preview-6cc620a → 56.0.0-preview-ded32bd
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 +18 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,22 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [56.0.0]
|
|
11
|
+
|
|
10
12
|
### Changed
|
|
11
13
|
|
|
12
|
-
-
|
|
14
|
+
- Update `TokensController`, `TokenListController`, and `AccountTrackerController` to use per-chain state variants ([#5310](https://github.com/MetaMask/core/pull/5310))
|
|
15
|
+
- Bump `@metamask/keyring-api` to `^17.4.0` ([#5565](https://github.com/MetaMask/core/pull/5565))
|
|
16
|
+
- Bump `@metamask/controller-utils` to `^11.7.0` ([#5583](https://github.com/MetaMask/core/pull/5583))
|
|
17
|
+
- Via this upgrade, `updateExchangeRates` now supports the MegaETH testnet
|
|
13
18
|
|
|
14
19
|
### Removed
|
|
15
20
|
|
|
16
21
|
- **BREAKING:** Remove deprecated state fields scoped to the current chain ([#5310](https://github.com/MetaMask/core/pull/5310))
|
|
17
|
-
- This change removes the following state fields:
|
|
18
|
-
- `
|
|
22
|
+
- This change removes the following state fields from the following controllers:
|
|
23
|
+
- `TokensControllerState`
|
|
19
24
|
- `detectedTokens` (replaced by `detectedTokensByChainId`)
|
|
20
25
|
- `ignoredTokens` (replaced by `ignoredTokensByChainId`)
|
|
21
26
|
- `tokens` (replaced by `tokensByChainId`)
|
|
22
|
-
- `
|
|
27
|
+
- `TokenListControllerState`
|
|
23
28
|
- `tokenList` (replaced by `tokensChainsCache`)
|
|
24
|
-
- `
|
|
29
|
+
- `AccountTrackerControllerState`
|
|
25
30
|
- `accounts` (replaced by `accountsByChainId`)
|
|
31
|
+
- This will require a migration in the clients to remove them from state in order to prevent unnecessary Sentry errors when updating controller state.
|
|
32
|
+
|
|
33
|
+
### Fixed
|
|
34
|
+
|
|
35
|
+
- Update token rate request key to handle when new tokens are detected inside the `TokenRatesController` ([#5531](https://github.com/MetaMask/core/pull/5311)))
|
|
36
|
+
- Update `CurrencyRateController` to prevent undefined or empty currencies from being queried ([#5458](https://github.com/MetaMask/core/pull/5458)))
|
|
26
37
|
|
|
27
38
|
## [55.0.1]
|
|
28
39
|
|
|
@@ -1509,7 +1520,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1509
1520
|
|
|
1510
1521
|
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
|
|
1511
1522
|
|
|
1512
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@
|
|
1523
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@56.0.0...HEAD
|
|
1524
|
+
[56.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@55.0.1...@metamask/assets-controllers@56.0.0
|
|
1513
1525
|
[55.0.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@55.0.0...@metamask/assets-controllers@55.0.1
|
|
1514
1526
|
[55.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@54.0.0...@metamask/assets-controllers@55.0.0
|
|
1515
1527
|
[54.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@53.1.1...@metamask/assets-controllers@54.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/assets-controllers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "56.0.0-preview-ded32bd",
|
|
4
4
|
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@metamask/abi-utils": "^2.0.3",
|
|
57
57
|
"@metamask/base-controller": "^8.0.0",
|
|
58
58
|
"@metamask/contract-metadata": "^2.4.0",
|
|
59
|
-
"@metamask/controller-utils": "^11.
|
|
59
|
+
"@metamask/controller-utils": "^11.7.0",
|
|
60
60
|
"@metamask/eth-query": "^4.0.0",
|
|
61
61
|
"@metamask/keyring-api": "^17.4.0",
|
|
62
62
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@metamask/keyring-controller": "^21.0.1",
|
|
85
85
|
"@metamask/keyring-internal-api": "^6.0.1",
|
|
86
86
|
"@metamask/keyring-snap-client": "^4.1.0",
|
|
87
|
-
"@metamask/network-controller": "^23.
|
|
87
|
+
"@metamask/network-controller": "^23.2.0",
|
|
88
88
|
"@metamask/permission-controller": "^11.0.6",
|
|
89
89
|
"@metamask/preferences-controller": "^17.0.0",
|
|
90
90
|
"@metamask/providers": "^18.1.1",
|