@metamask-previews/assets-controllers 24.0.0-preview.57d41d4 → 25.0.0-preview.2431602

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [25.0.0]
10
+ ### Added
11
+ - Add Linea to price api supported chains ([#3797](https://github.com/MetaMask/core/pull/3797))
12
+
13
+ ### Changed
14
+ - **BREAKING:** Convert `TokenBalancesController` to `BaseControllerV2` ([#3750](https://github.com/MetaMask/core/pull/3750))
15
+ - The constructor parameters have changed; rather than accepting a "config" parameter for interval and tokens we now pass both values as controller options, and a "state" parameter, there is now just a single object for all constructor arguments. This object has a mandatory `messenger` and an optional `state`, `tokens`, `interval` properties a disabled property has also been added.
16
+ - State now saves tokens balances as strings and not as a BNs.
17
+ - Additional BN export has been removed as it was intended to be removed in the next major release.
18
+ - **BREAKING:** Bump `@metamask/approval-controller` peer dependency to `^5.1.2` ([#3821](https://github.com/MetaMask/core/pull/3821))
19
+ - **BREAKING:** Bump `@metamask/network-controller` peer dependency to `^17.2.0` ([#3821](https://github.com/MetaMask/core/pull/3821))
20
+ - **BREAKING:** Bump `@metamask/preferences-controller` peer dependency to `^7.0.0` ([#3821](https://github.com/MetaMask/core/pull/3821))
21
+ - Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769))
22
+ - Bump `@metamask/base-controller` to `^4.1.1` ([#3760](https://github.com/MetaMask/core/pull/3760), [#3821](https://github.com/MetaMask/core/pull/3821))
23
+ - Bump `@metamask/controller-utils` to `^8.0.2` ([#3821](https://github.com/MetaMask/core/pull/3821))
24
+ - Bump `@metamask/polling-controller` to `^5.0.0` ([#3821](https://github.com/MetaMask/core/pull/3821))
25
+
9
26
  ## [24.0.0]
10
27
  ### Added
11
28
  - Add `getDefaultTokenListState` function to `TokenListController` ([#3744](https://github.com/MetaMask/core/pull/3744))
@@ -531,7 +548,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
531
548
  ### Changed
532
549
  - Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
533
550
 
534
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@24.0.0...HEAD
551
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@25.0.0...HEAD
552
+ [25.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@24.0.0...@metamask/assets-controllers@25.0.0
535
553
  [24.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@23.1.0...@metamask/assets-controllers@24.0.0
536
554
  [23.1.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@23.0.0...@metamask/assets-controllers@23.1.0
537
555
  [23.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@22.0.0...@metamask/assets-controllers@23.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/assets-controllers",
3
- "version": "24.0.0-preview.57d41d4",
3
+ "version": "25.0.0-preview.2431602",
4
4
  "description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -36,15 +36,15 @@
36
36
  "@ethersproject/contracts": "^5.7.0",
37
37
  "@ethersproject/providers": "^5.7.0",
38
38
  "@metamask/abi-utils": "^2.0.2",
39
- "@metamask/approval-controller": "^5.1.1",
40
- "@metamask/base-controller": "^4.1.0",
39
+ "@metamask/approval-controller": "^5.1.2",
40
+ "@metamask/base-controller": "^4.1.1",
41
41
  "@metamask/contract-metadata": "^2.4.0",
42
- "@metamask/controller-utils": "^8.0.1",
42
+ "@metamask/controller-utils": "^8.0.2",
43
43
  "@metamask/eth-query": "^4.0.0",
44
44
  "@metamask/metamask-eth-abis": "3.0.0",
45
- "@metamask/network-controller": "^17.1.0",
46
- "@metamask/polling-controller": "^4.0.0",
47
- "@metamask/preferences-controller": "^6.0.0",
45
+ "@metamask/network-controller": "^17.2.0",
46
+ "@metamask/polling-controller": "^5.0.0",
47
+ "@metamask/preferences-controller": "^7.0.0",
48
48
  "@metamask/rpc-errors": "^6.1.0",
49
49
  "@metamask/utils": "^8.3.0",
50
50
  "@types/uuid": "^8.3.0",
@@ -73,9 +73,9 @@
73
73
  "typescript": "~4.8.4"
74
74
  },
75
75
  "peerDependencies": {
76
- "@metamask/approval-controller": "^5.1.1",
77
- "@metamask/network-controller": "^17.1.0",
78
- "@metamask/preferences-controller": "^6.0.0"
76
+ "@metamask/approval-controller": "^5.1.2",
77
+ "@metamask/network-controller": "^17.2.0",
78
+ "@metamask/preferences-controller": "^7.0.0"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=16.0.0"