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 1.0.0
Added
Add balance selectors getAggregatedBalanceForAccount, getGroupIdForAccount, and getInternalAccountsForGroup with types AggregatedBalanceEntry, AggregatedBalanceForAccount, EnabledNetworkMap, and AccountsById for aggregated portfolio balance (optionally by account group), fiat total, and portfolio-weighted 1d price change (#7864)
Changed
BREAKING: Require previousChains in handleActiveChainsUpdate(dataSourceId, activeChains, previousChains) and in the onActiveChainsUpdated callback used by data sources; the third parameter is no longer optional. Callers and data sources must pass the previous chain list for correct added/removed chain diff computation (#7867)
Bump @metamask/account-tree-controller from ^4.0.0 to ^4.1.0 (#7869)
Removed
BREAKING: Remove initDataSources and related exports (InitDataSourcesOptions, DataSources, DataSourceActions, DataSourceEvents, DataSourceAllowedActions, DataSourceAllowedEvents, RootMessenger). Initialize assets by creating AssetsController with queryApiClient; the controller instantiates all data sources internally (#7859)