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/transaction-pay-controller 30.0.0
Changed
BREAKING: Read token metadata, balances, and prices directly from AssetsController state (#10461)
Consumers must delegate AccountsController:getState, AssetsController:getState, and AssetsController:stateChange to the Pay messenger, and unified asset state must be populated before using Pay.
The assetsUnifyState feature flag branching and the AssetsController:getStateForTransactionPay action are no longer used, and the four separate asset stateChange subscriptions are replaced by a single AssetsController:stateChange.
Replaced the @metamask/assets-controllers dependency with @metamask/accounts-controller.