Skip to content

Commit

Permalink
release: 0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kev1n-peters committed Jul 19, 2023
1 parent 5c6f774 commit d89d407
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Include the wormhole connect

```html
<!-- include in <head> -->
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.1-beta.2/dist/main.js" defer></script>
<link rel="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.1-beta.2/dist/main.css" />
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.js" defer></script>
<link rel="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.css" />

<!-- include in <body> -->
<div id="wormhole-connect"></div>
Expand Down
4 changes: 2 additions & 2 deletions builder/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function App() {
const { classes } = useStyles();
const script = `
<div id="wormhole-connect"></div>
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.4/dist/main.js"></script>
<link src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.4/dist/main.css"/>
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.js"></script>
<link src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.css"/>
`
const customized = defaultTheme;
customized.background.default = 'transparent';
Expand Down
4 changes: 2 additions & 2 deletions wormhole-connect-loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ If you created a config from step 1, [stringify](https://developer.mozilla.org/e

```html
<!-- paste below into index.html body -->
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.6/dist/main.js"></script>
<link href="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.6/dist/main.css" />
<script src="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.js"></script>
<link href="https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.css" />
```

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:
Expand Down
8 changes: 4 additions & 4 deletions wormhole-connect-loader/dist/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions wormhole-connect-loader/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wormhole-connect-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wormhole-foundation/wormhole-connect",
"version": "0.0.6",
"version": "0.0.7",
"dependencies": {
"@mui/material": "^5.12.1"
},
Expand Down
4 changes: 2 additions & 2 deletions wormhole-connect-loader/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ class WormholeBridge extends React.Component<
> {
componentDidMount() {
const script = document.createElement("script");
script.src = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.6/dist/main.js";
script.src = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.js";
script.async = true;

const link = document.createElement("link");
link.href = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.6/dist/main.css";
link.href = "https://www.unpkg.com/@wormhole-foundation/wormhole-connect@0.0.7/dist/main.css";

document.body.appendChild(script);
document.body.appendChild(link);
Expand Down

0 comments on commit d89d407

Please sign in to comment.