MetaMask / snaps

Extend the functionality of MetaMask using Snaps

Home Page:https://metamask.io/snaps/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve error message when trying to use top-level await

FrederikBolding opened this issue · comments

Top-level await is not supported in Snaps and following #2358 we throw an error when users try to use it. We should clean up this error and explain that this is intentionally disabled for Snaps due to not being supported