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.
The key has expired.
Changed
BREAKING: Update TokensController allTokens state structure to make network/chainID parent of account (#572)
The shape of allTokens state field on TokensController has been reorganized. Consumers of the TokensController will have to migrate existing token state to new shape.
BREAKING: ignoredTokens changed to allIgnoredTokens (#570)
a new state field on the TokensController - allIgnoredTokens - now manages ignoredTokens by network and accountAddress, ignoredTokens is now the array of token address strings (previously an array of full token objects) that have been hidden by the user for the currently active network and accountAddress pair. Consumers of the TokensController will have to migrate existing ignoredTokens array to allIgnoredTokens object.
BREAKING: Improve BaseControllerV2 messenger type (#556)
This is a breaking change, because anyone extending BaseControllerV2 will now be required to supply an additional generic parameter.
BREAKING: Remove redundant default export from util.ts (#574)
This is breaking for consumers who use the default import of the utils module, and will require using named imports instead.
BREAKING: Removing aggregator from TokenListToken (#564)
This is breaking because the the DynamicToken and TokenListToken types no longer contain an aggregators field. Consumers will have to remove aggregators for objects using this type.
BREAKING: Migrate ApprovalController to BaseControllerV2 (#555)
This is a breaking change because the BaseControllerV2 migration is breaking, and the 'resolve' method has been renamed to 'accept'.
Speed up token detection for most popular 1000 tokens (#568)
Cancel inflight request during chainId change and useStaticTokenList flag change (#571)
Previously it would update the token list upon any preference or network configuration change. Now it only restarts polling when the network switches or when the useStaticTokenList flag changes.