Skip to content

Conversation

@ccharly
Copy link
Contributor

@ccharly ccharly commented Jan 5, 2026

Explanation

Bumping all @metamask/snaps-* packages to match the latest versions (that are already in-use on both clients)

References

N/A

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Updates dependency stack to align with latest Snaps ecosystem.

  • Bump @metamask/snaps-controllers to ^17.2.0, @metamask/snaps-sdk to ^10.3.0, and @metamask/snaps-utils to ^11.7.0 across packages (accounts, account-tree, assets, bridge, bridge-status, gator-permissions, multichain-account-service, multichain-transactions, profile-sync)
  • Lockfile updates bring in related versions: @metamask/providers@^22.1.1, @metamask/rpc-errors@^7.0.3, @metamask/phishing-controller@^15.0.1, @metamask/snaps-registry@^4.0.0, @metamask/snaps-rpc-methods@^14.1.1, and ses@^1.14.0
  • Code tweak in MultichainAssetsRatesController.ts: map market data only when fungible is true, excluding NFTs
  • Changelogs and package.jsons updated accordingly

Written by Cursor Bugbot for commit 55e4128. This will update automatically on new commits. Configure here.

@socket-security
Copy link

socket-security bot commented Jan 5, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​metamask/​snaps-utils@​11.0.0 ⏵ 11.7.09810076 +295 -2100
Added@​metamask/​snaps-sdk@​10.3.01001007895100
Updated@​metamask/​rpc-errors@​7.0.2 ⏵ 7.0.310010010084100
Updated@​metamask/​snaps-controllers@​14.0.1 ⏵ 17.2.0100 +3100100 +27100 +3100 +50

View full report

@ccharly ccharly marked this pull request as ready for review January 5, 2026 13:35
@ccharly ccharly requested review from a team as code owners January 5, 2026 13:35
Comment on lines +488 to +495
const assetMarketData = response.marketData?.[asset]?.[currency];

// We do not consider NFTs here, so `fungible` must be `true`.
if (assetMarketData?.fungible) {
assetToMarketData[asset] = assetMarketData;
} else {
assetToMarketData[asset] = undefined;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OnAssetsMarketData now also include NFTs asset type. So we have to filter them out. Using if (assetMarketData?.fungible) is enough, since we use this boolean as a tag to disambiguate both data structures (NFT vs fungible tokens).

cc @MetaMask/metamask-assets

@ccharly ccharly added this pull request to the merge queue Jan 5, 2026
Merged via the queue into main with commit 58afc71 Jan 5, 2026
286 checks passed
@ccharly ccharly deleted the chore/bump-snaps-deps branch January 5, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants