Skip to content

Commit

Permalink
fix security deps
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Aug 12, 2021
1 parent f8a266c commit a13a634
Show file tree
Hide file tree
Showing 3 changed files with 882 additions and 668 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for Svelte, Sapper or Sveltekit.
npm i svelte-web3
```

2. add the web3.js library in the main HTML page (`public/index.html` in Svelte, `src/template.html` in Sapper or `src/app.html` in Sveltekit)
2. add the web3.js library in the main HTML page (`public/index.html` in Svelte, `src/template.html` in Sapper or `src/app.html` in SvelteKit)

```html
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ defaultChainStore.setProvider(<ws/https or http provider url or provider Object>
Please check `examples/svelte-app-template-web3/src/Web3Modal.svelte` in github.


## Forcing a disconnect (and event subscriptions from a provider)
### Forcing a disconnect (and event subscriptions from a provider)

Simply call the function `close` directly on the store. For example with the default store:

Expand Down
Loading

0 comments on commit a13a634

Please sign in to comment.