diff --git a/README.md b/README.md index 41d401b81..1b05a300f 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Include the wormhole connect ```html - - + +
diff --git a/wormhole-connect-loader/README.md b/wormhole-connect-loader/README.md index b716d72c6..1670a5309 100644 --- a/wormhole-connect-loader/README.md +++ b/wormhole-connect-loader/README.md @@ -144,9 +144,9 @@ If you created a config from step 1, [stringify](https://developer.mozilla.org/e ```html - + ``` @@ -156,12 +156,13 @@ Note that the `wormhole-connect` div with your config has to be present _before_ function mount() { const script = document.createElement("script"); script.src = - "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.12/dist/main.js"; + "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.2.0/dist/main.js"; script.async = true; + script.type = "module"; const link = document.createElement("link"); link.href = - "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.12/dist/main.css"; + "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.2.0/dist/main.css"; document.body.appendChild(script); document.body.appendChild(link);