From be6c8b781be86086d0b01978e3bbbb00bb09e564 Mon Sep 17 00:00:00 2001 From: Christophe Le Bars Date: Sat, 1 Jan 2022 20:52:36 +0100 Subject: [PATCH] deps+typos --- README.md | 18 +++++++----------- package.json | 2 +- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f44c3e2..1cdaa3d 100644 --- a/README.md +++ b/README.md @@ -145,16 +145,15 @@ not it's value). ### Reading stores outside of Svelte files -The `$` prefix Svelte notation to access store values in only +The `$` prefix Svelte notation to access store values is only available inside Svelte files. To directly access the instantiated values in pure javascript library without subscribing to the store, -you can use special getter on the library abstract helper: +you can use a special getter on the library abstract helper: ```js // this is not a Svelte file but a standard JavaScript file import { defaultEvmStores } from 'svelte-web3' - if (defaultEvmStores.$selectedAccount) { // do something if store selectedAccount is non null @@ -162,7 +161,7 @@ if (defaultEvmStores.$selectedAccount) { } ``` -### Forcing a disconnect (and the remove all listeners) +### Forcing a disconnect (and removing all listeners) Simply call the function `disconnect` directly on the on the library abstract helper: @@ -254,7 +253,7 @@ discussions in our [Discord](https://discord.gg/7yXuwDwaHF). import { Balance } from 'svelte-web3/components' -

balance = +

balance =

``` @@ -309,20 +308,17 @@ if you want to be listed in this section. ### Svelte basic example (based on rollup template) -Please check [`examples/svelte-app-template-web3` in github] -(https://github.com/clbrge/svelte-web3/tree/master/examples/svelte-app-template-web3). +Please check [`examples/svelte-app-template-web3` in github](https://github.com/clbrge/svelte-web3/tree/master/examples/svelte-app-template-web3). Contains demos to use the default store and multi stores. ### SvelteKit basic example -Please check [`examples/sveltekit-app-template-web3` in github] -(https://github.com/clbrge/svelte-web3/tree/master/examples/sveltekit-app-template-web3). +Please check [`examples/sveltekit-app-template-web3` in github](https://github.com/clbrge/svelte-web3/tree/master/examples/sveltekit-app-template-web3). ### Sapper basic example (based on webpack template) -Please check [`examples/sapper-app-template-web3` in github] -(https://github.com/clbrge/svelte-web3/tree/master/examples/sapper-app-template-web3). +Please check [`examples/sapper-app-template-web3` in github](https://github.com/clbrge/svelte-web3/tree/master/examples/sapper-app-template-web3). Please check `examples/sapper-app-template-web3` in github. diff --git a/package.json b/package.json index 403aa6e..47a2375 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "svelte": "^3.0.0", - "svelte-proxied-store": "^0.2.0" + "svelte-proxied-store": "^1.0.0" }, "devDependencies": { "eslint-plugin-svelte3": "^3.2.1",