MetaMask / providers

An Ethereum Provider that connects over a stream, as injected into websites by MetaMask
MIT License
217 stars 123 forks source link

warn wallet_watchAsset ERC721,ERC1155 #264

Closed jiexi closed 1 year ago

jiexi commented 1 year ago

Adds a console.warn when wallet_watchAsset is called with params: {type: 'ERC721'} or params: {type: 'ERC1155'}.

Examples

socket-security[bot] commented 1 year ago

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

jiexi commented 1 year ago

@metamask/controller-utils@4.0.0 is used in extension. Okay if we @SocketSecurity ignore-all the socket-security alerts?