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
Cannot import coinbase-adapter as es module. Due to error "i is not a constructor"
Apparently coinbase-adapter is doing import i from "@coinbase/wallet-sdk" but "i is not a constructor".
Describe the bug
Cannot import coinbase-adapter as es module. Due to error "i is not a constructor"
Apparently coinbase-adapter is doing
import i from "@coinbase/wallet-sdk"
but "i is not a constructor".To Reproduce
Reference coinbaseAdapter: https://unpkg.com/@web3auth/[email protected]/dist/lib.cjs/coinbaseAdapter.js
Load the library and call init():
Expected behavior
No error
Additional context
Issue and potential solution described in more detail here: jspm/project#344 (comment)
Current code:
Should instead be:
The text was updated successfully, but these errors were encountered: