@metamask-previews/assets-controllers 93.1.0-preview-aabe1c65 → 93.1.0-preview-c92c27f1

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 CHANGED
@@ -14,6 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  ### Changed
15
15
 
16
16
  - Bump `@metamask/transaction-controller` from `^62.4.0` to `^62.5.0` ([#7325](https://github.com/MetaMask/core/pull/7325))
17
+ - **BREAKING:** Replace Account API v2 with Account API v4 for token auto-detection ([#7408](https://github.com/MetaMask/core/pull/7408))
18
+ - `TokenDetectionController` now delegates token detection for Account API v4 supported chains to `TokenBalancesController`
19
+ - RPC-based detection continues to be used for chains not supported by Account API v4
20
+ - Added `forceRpc` parameter to `TokenDetectionController.detectTokens()` to force RPC-based detection
21
+ - `TokenDetectionController:detectTokens` action is now registered for cross-controller communication
22
+ - `TokenBalancesController` now triggers RPC-based token detection as fallback when Account API v4 fails or returns unprocessed chains ([#7408](https://github.com/MetaMask/core/pull/7408))
23
+ - Calls `TokenDetectionController:detectTokens` with `forceRpc: true` when fetcher fails
24
+ - Calls `TokenDetectionController:detectTokens` with `forceRpc: true` for any unprocessed chain IDs returned by the API
25
+ - Refactored `TokenBalancesController` for improved code organization and maintainability ([#7408](https://github.com/MetaMask/core/pull/7408))
17
26
 
18
27
  ### Fixed
19
28