@metamask-previews/assets-controller 3.3.0-preview-ce9be8b82 → 4.0.0-preview-373edc9

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 +13 -2
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -9,9 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Changed
11
11
 
12
- - `TokenDataSource` constructor now takes `(messenger, options)` instead of `(options)`; `messenger` must be the same `AssetsControllerMessenger` used by `AssetsController` so token metadata enrichment can call `PhishingController:bulkScanTokens` ([#8329](https://github.com/MetaMask/core/pull/8329))
12
+ - Bump `@metamask/keyring-controller` from `^25.1.1` to `^25.2.0` ([#8363](https://github.com/MetaMask/core/pull/8363))
13
13
 
14
+ ## [4.0.0]
15
+
16
+ ### Changed
17
+
18
+ - **BREAKING:** `TokenDataSource` constructor now takes `(messenger, options)` instead of `(options)`; `messenger` must be the same `AssetsControllerMessenger` used by `AssetsController` so token metadata enrichment can call `PhishingController:bulkScanTokens` ([#8329](https://github.com/MetaMask/core/pull/8329))
19
+ - Clients must now provide `PhishingController:bulkScanTokens` permission when constructing the controller messenger
14
20
  - `TokenDataSource` removes tokens flagged malicious by Blockaid (via `PhishingController:bulkScanTokens`) before merging metadata, instead of filtering non-native tokens by a minimum occurrence count ([#8329](https://github.com/MetaMask/core/pull/8329))
21
+ - Bump `@metamask/assets-controllers` from `^103.1.0` to `^103.1.1` ([#8359](https://github.com/MetaMask/core/pull/8359))
22
+ - Bump `@metamask/network-enablement-controller` from `^5.0.1` to `^5.0.2` ([#8359](https://github.com/MetaMask/core/pull/8359))
23
+ - Bump `@metamask/phishing-controller` from `^17.1.0` to `^17.1.1` ([#8359](https://github.com/MetaMask/core/pull/8359))
24
+ - Bump `@metamask/transaction-controller` from `^63.3.1` to `^64.0.0` ([#8359](https://github.com/MetaMask/core/pull/8359))
15
25
 
16
26
  ## [3.3.0]
17
27
 
@@ -261,7 +271,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
261
271
  - Refactor `RpcDataSource` to delegate polling to `BalanceFetcher` and `TokenDetector` services ([#7709](https://github.com/MetaMask/core/pull/7709))
262
272
  - Refactor `BalanceFetcher` and `TokenDetector` to extend `StaticIntervalPollingControllerOnly` for independent polling management ([#7709](https://github.com/MetaMask/core/pull/7709))
263
273
 
264
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@3.3.0...HEAD
274
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@4.0.0...HEAD
275
+ [4.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@3.3.0...@metamask/assets-controller@4.0.0
265
276
  [3.3.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@3.2.1...@metamask/assets-controller@3.3.0
266
277
  [3.2.1]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@3.2.0...@metamask/assets-controller@3.2.1
267
278
  [3.2.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controller@3.1.1...@metamask/assets-controller@3.2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/assets-controller",
3
- "version": "3.3.0-preview-ce9be8b82",
3
+ "version": "4.0.0-preview-373edc9",
4
4
  "description": "Tracks assets balances/prices and handles token detection across all digital assets",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -40,7 +40,7 @@
40
40
  "build:docs": "typedoc",
41
41
  "changelog:update": "../../scripts/update-changelog.sh @metamask/assets-controller",
42
42
  "changelog:validate": "../../scripts/validate-changelog.sh @metamask/assets-controller",
43
- "generate-method-action-types": "tsx ../../scripts/generate-method-action-types.ts",
43
+ "generate-method-action-types": "tsx ../../packages/messenger/src/generate-action-types/cli.ts",
44
44
  "since-latest-release": "../../scripts/since-latest-release.sh",
45
45
  "test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
46
46
  "test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
@@ -52,25 +52,25 @@
52
52
  "@ethersproject/abi": "^5.7.0",
53
53
  "@ethersproject/providers": "^5.7.0",
54
54
  "@metamask/account-tree-controller": "^7.0.0",
55
- "@metamask/assets-controllers": "^103.1.0",
55
+ "@metamask/assets-controllers": "^103.1.1",
56
56
  "@metamask/base-controller": "^9.0.1",
57
57
  "@metamask/client-controller": "^1.0.1",
58
58
  "@metamask/controller-utils": "^11.20.0",
59
59
  "@metamask/core-backend": "^6.2.1",
60
60
  "@metamask/keyring-api": "^21.6.0",
61
- "@metamask/keyring-controller": "^25.1.1",
61
+ "@metamask/keyring-controller": "^25.2.0",
62
62
  "@metamask/keyring-internal-api": "^10.0.0",
63
63
  "@metamask/keyring-snap-client": "^8.2.0",
64
64
  "@metamask/messenger": "^1.0.0",
65
65
  "@metamask/network-controller": "^30.0.1",
66
- "@metamask/network-enablement-controller": "^5.0.1",
66
+ "@metamask/network-enablement-controller": "^5.0.2",
67
67
  "@metamask/permission-controller": "^12.3.0",
68
- "@metamask/phishing-controller": "^17.1.0",
68
+ "@metamask/phishing-controller": "^17.1.1",
69
69
  "@metamask/polling-controller": "^16.0.4",
70
70
  "@metamask/preferences-controller": "^23.1.0",
71
71
  "@metamask/snaps-controllers": "^19.0.0",
72
72
  "@metamask/snaps-utils": "^12.1.2",
73
- "@metamask/transaction-controller": "^63.3.1",
73
+ "@metamask/transaction-controller": "^64.0.0",
74
74
  "@metamask/utils": "^11.9.0",
75
75
  "async-mutex": "^0.5.0",
76
76
  "bignumber.js": "^9.1.2",