chore: bump new assets controller to v2.1.0#40439
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
@metamaskbot update-policies |
|
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff 👀 lavamoat/browserify/beta/policy.json changes differ from main/policy.json policy changes |
✨ Files requiring CODEOWNER review ✨📜 @MetaMask/policy-reviewers (9 files, +95 -79)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. |
|
| "@metamask/utils": true | ||
| } | ||
| }, | ||
| "@metamask/assets-controller>@metamask/client-controller": { |
There was a problem hiding this comment.
Oh interesting, new controller - not seen this one yet 👀
bergarces
left a comment
There was a problem hiding this comment.
Expected changes to policies due to the introduction of p-limit package in core.



Description
bump assets controller to v2.1.0
Changelog
CHANGELOG entry: bump assets controller to v2.1.0
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Upgrades a core dependency (
@metamask/assets-controller) and adjusts initialization/configuration behavior, which could change asset fetching/balances at runtime. Also updates LavaMoat allowlists; misconfigurations could surface as build/runtime module access errors.Overview
Bumps
@metamask/assets-controllerfrom2.0.0to2.1.0(and related transitive deps), updating lockfile entries and LavaMoat policies to allow new package paths (notably@metamask/client-controllerandp-limit) and revised@metamask/core-backendusage.Changes AssetsController initialization to disable
stakedBalanceDataSourceConfig.enabledby default (and updates tests accordingly), and updates the aggregated balance selector to passselectedCurrency(defaulting tousd) into the AssetsController aggregation state.Written by Cursor Bugbot for commit 6dad8c0. This will update automatically on new commits. Configure here.