bytesbay / web3-token

Web3 Token is a new way to authenticate users in a hybrid dApps using signed messages. Implementation of EIP-4361.
381 stars 51 forks source link

Import UMD in browser #28

Open Drarig29 opened 2 years ago

Drarig29 commented 2 years ago

https://github.com/bytesbay/web3-token/blob/94ac45b55f2d66632b6d3214b7f59551d313730d/dist/demo.html#L9

This line doesn't work. You can access it with window['web3-token'] though.

Here is the CDN link I use: https://cdn.jsdelivr.net/npm/web3-token@0.2.7/dist/web3-token.umd.min.js