Skip to content

Commit

Permalink
update docs, deps & chain data
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Aug 3, 2021
1 parent beed29a commit b6acfb1
Show file tree
Hide file tree
Showing 5 changed files with 1,164 additions and 3,153 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ 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)

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

```js
defaultChainStore.close()
```

### Using the Web3 instance $web3 after the connection

If a connection is successful, you can access the instantiated web3.js
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-app-template-web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.0",
"svelte": "^3.0.0"
"svelte": "^3.41.0"
},
"dependencies": {
"sirv-cli": "^1.0.0",
Expand Down
Loading

0 comments on commit b6acfb1

Please sign in to comment.