torusresearch / torus-embed

Embeds the Torus Wallet directly in your application via torus-embed. Exposes a Web3 Provider.
https://demo-eth.tor.us
MIT License
84 stars 52 forks source link

Uncaught TypeError: Torus is not a constructor #557

Closed binilvjacob closed 1 year ago

binilvjacob commented 1 year ago

"https://cdn.jsdelivr.net/npm/@toruslabs/torus-embed" - > Using this CDN is giving out an error : Uncaught TypeError: Torus is not a constructor. The code was working fine the previous day, but now it is showing this error, and couldn't be used in development

xpluscal commented 1 year ago

Second this, currently blocks using torus.

chaitanyapotti commented 1 year ago

Pls use new Torus.default() There was a major version release