Skip to content

Commit b6acfb1

Browse files
committed
update docs, deps & chain data
1 parent beed29a commit b6acfb1

File tree

5 files changed

+1164
-3153
lines changed

5 files changed

+1164
-3153
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ defaultChainStore.setProvider(<ws/https or http provider url or provider Object>
6666
Please check `examples/svelte-app-template-web3/src/Web3Modal.svelte` in github.
6767

6868

69+
## Forcing a disconnect (and event subscriptions from a provider)
70+
71+
Simply call the function `close` directly on the store. For example with the default store:
72+
73+
```js
74+
defaultChainStore.close()
75+
```
76+
6977
### Using the Web3 instance $web3 after the connection
7078

7179
If a connection is successful, you can access the instantiated web3.js

examples/svelte-app-template-web3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"rollup-plugin-livereload": "^2.0.0",
1616
"rollup-plugin-svelte": "^7.0.0",
1717
"rollup-plugin-terser": "^7.0.0",
18-
"svelte": "^3.0.0"
18+
"svelte": "^3.41.0"
1919
},
2020
"dependencies": {
2121
"sirv-cli": "^1.0.0",

0 commit comments

Comments
 (0)