@wormhole-foundation/wormhole-connect 0.0.1-beta.7 → 0.0.2
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 +6 -4
- package/dist/main.js +190 -2
- package/lib/index.js +2 -2
- package/lib/types.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,7 @@ Networks (`networks`):
|
|
|
35
35
|
| celo | avalanche |
|
|
36
36
|
| moonbeam | moonbasealpha |
|
|
37
37
|
| solana | solana |
|
|
38
|
+
| sui | sui |
|
|
38
39
|
|
|
39
40
|
<br>
|
|
40
41
|
|
|
@@ -63,6 +64,7 @@ Tokens (`tokens`):
|
|
|
63
64
|
| GLMR | GLMR |
|
|
64
65
|
| WGLMR | WGLMR |
|
|
65
66
|
| SOL | WSOL |
|
|
67
|
+
| SUI | SUI |
|
|
66
68
|
| USDCsol | |
|
|
67
69
|
|
|
68
70
|
<br>
|
|
@@ -96,8 +98,8 @@ If you created a config from step 1, [stringify](https://developer.mozilla.org/e
|
|
|
96
98
|
|
|
97
99
|
```html
|
|
98
100
|
<!-- paste below into index.html body -->
|
|
99
|
-
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.
|
|
100
|
-
<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.2/dist/main.js"></script>
|
|
102
|
+
<link href="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.2/dist/main.css" />
|
|
101
103
|
```
|
|
102
104
|
|
|
103
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:
|
|
@@ -105,11 +107,11 @@ Note that the `wormhole-connect` div with your config has to be present _before_
|
|
|
105
107
|
```js
|
|
106
108
|
function mount () {
|
|
107
109
|
const script = document.createElement("script");
|
|
108
|
-
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.2/dist/main.js";
|
|
109
111
|
script.async = true;
|
|
110
112
|
|
|
111
113
|
const link = document.createElement("link");
|
|
112
|
-
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.2/dist/main.css";
|
|
113
115
|
|
|
114
116
|
document.body.appendChild(script);
|
|
115
117
|
document.body.appendChild(link);
|