@wormhole-foundation/wormhole-connect 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/main.js +18 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,8 +98,8 @@ If you created a config from step 1, [stringify](https://developer.mozilla.org/e
|
|
|
98
98
|
|
|
99
99
|
```html
|
|
100
100
|
<!-- paste below into index.html body -->
|
|
101
|
-
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.
|
|
102
|
-
<link href="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.
|
|
101
|
+
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.4/dist/main.js"></script>
|
|
102
|
+
<link href="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.4/dist/main.css" />
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
Note that the `wormhole-connect` div with your config has to be present _before_ the scripts are loaded. If your application loads it after, you may need to add the scripts like this:
|
|
@@ -107,11 +107,11 @@ Note that the `wormhole-connect` div with your config has to be present _before_
|
|
|
107
107
|
```js
|
|
108
108
|
function mount () {
|
|
109
109
|
const script = document.createElement("script");
|
|
110
|
-
script.src = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.
|
|
110
|
+
script.src = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.4/dist/main.js";
|
|
111
111
|
script.async = true;
|
|
112
112
|
|
|
113
113
|
const link = document.createElement("link");
|
|
114
|
-
link.href = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.
|
|
114
|
+
link.href = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.4/dist/main.css";
|
|
115
115
|
|
|
116
116
|
document.body.appendChild(script);
|
|
117
117
|
document.body.appendChild(link);
|