Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions eslint-suppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,62 +386,6 @@
"count": 2
}
},
"packages/assets-controllers/src/TokenBalancesController.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 2
},
"camelcase": {
"count": 1
},
"jest/unbound-method": {
"count": 1
},
"require-atomic-updates": {
"count": 1
}
},
"packages/assets-controllers/src/TokenBalancesController.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 19
},
"@typescript-eslint/naming-convention": {
"count": 1
},
"@typescript-eslint/no-misused-promises": {
"count": 1
},
"@typescript-eslint/prefer-nullish-coalescing": {
"count": 2
},
"id-denylist": {
"count": 6
},
"id-length": {
"count": 7
}
},
"packages/assets-controllers/src/TokenDetectionController.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 5
},
"id-length": {
"count": 1
}
},
"packages/assets-controllers/src/TokenDetectionController.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 12
},
"@typescript-eslint/naming-convention": {
"count": 4
},
"@typescript-eslint/no-misused-promises": {
"count": 5
},
"@typescript-eslint/prefer-nullish-coalescing": {
"count": 1
}
},
"packages/assets-controllers/src/TokenListController.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 2
Expand Down
10 changes: 10 additions & 0 deletions packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Bump `@metamask/transaction-controller` from `^62.4.0` to `^62.5.0` ([#7325](https://github.com/MetaMask/core/pull/7325))
- **BREAKING:** Replace Account API v2 with Account API v4 for token auto-detection ([#7408](https://github.com/MetaMask/core/pull/7408))
- `TokenDetectionController` now delegates token detection for Account API v4 supported chains to `TokenBalancesController`
- RPC-based detection continues to be used for chains not supported by Account API v4
- Added `forceRpc` parameter to `TokenDetectionController.detectTokens()` to force RPC-based detection
- `TokenDetectionController:detectTokens` action is now registered for cross-controller communication
- `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))
- Calls `TokenDetectionController:detectTokens` with `forceRpc: true` when fetcher fails
- Calls `TokenDetectionController:detectTokens` with `forceRpc: true` for any unprocessed chain IDs returned by the API
- Refactored `TokenBalancesController` for improved code organization and maintainability ([#7408](https://github.com/MetaMask/core/pull/7408))
- Remove warning logs for failed chain balance fetches in RPC balance fetcher ([#7429](https://github.com/MetaMask/core/pull/7429))
- Reduce severity of ERC721 metadata interface log from `console.error` to `console.warn` ([#7412](https://github.com/MetaMask/core/pull/7412))
- Fixes [#24988](https://github.com/MetaMask/metamask-extension/issues/24988)
Expand Down
Loading