You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/assets-controller 17.0.0
Added
Add getZeroNativeAssetBalance and getZeroTokenAssetBalance so Stellar native zeros include spendable/reserve metadata and Stellar token zeros include empty trustline metadata. getZeroAssetBalance picks between them with isNativeAssetId
Changed
BREAKING: Split asset fetching into two paths behind assetsAccountsApiV6 (#9651)
Architecture: The v5 path keeps production behavior — the API decides the returned set, and results are merged. The v6 path has the client declare the visible set (includeAssetIds / excludeAssetIds) and write an authoritative full snapshot for covered chains. Visibility is computed from controller state and shared by Accounts API, Snap, RPC, and RPC fallback. The flag is read only in AssetsController and injected as isBalanceV6Enabled. Hide/unhide re-evaluates live subscriptions so the next poll uses the new set.
Why this is breaking:
'update' is removed from AssetsUpdateMode; use 'full' or 'merge'
getAssets no longer accepts updateMode; the data source sets it on the response
getAssetsState is removed from pipeline Context, SubscriptionRequest, and PriceDataSource.fetch; inject it on data-source and middleware constructors instead
getAssetsState and getAssetVisibility are required on Accounts API, Snap, and RPC data sources
isBalanceV6Enabled is required on SnapDataSource
unhideAsset is now async and force-fetches the asset's chain, matching addCustomAsset
Bump @metamask/transaction-controller from ^72.0.0 to ^72.0.1 (#10462)
Fixed
Treat assetsAccountsApiV6 as enabled when it is true, not a nested { value } object (#9651)
@metamask/bridge-controller 81.3.3
Changed
Bump @metamask/transaction-controller from ^72.0.0 to ^72.0.1 (#10462)
Bump @metamask/assets-controller from ^16.1.2 to ^17.0.0 (#10474)
@metamask/bridge-status-controller 76.3.3
Changed
Bump @metamask/transaction-controller from ^72.0.0 to ^72.0.1 (#10462)
Bump @metamask/bridge-controller from ^81.3.2 to ^81.3.3 (#10474)
@metamask/transaction-pay-controller 29.2.2
Changed
Bump @metamask/assets-controller from ^16.1.1 to ^17.0.0 (#10459, #10474)