Skip to content

Commit

Permalink
typo docs
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed May 27, 2021
1 parent a47e3df commit 4c5c8bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Use the [web3.js library](https://web3js.readthedocs.io/) as a
collection of [readable svelte stores](https://svelte.dev/tutorial/readable-stores)
for Svelte, Sapper or Svelte-kit.
for Svelte, Sapper or Sveltekit.

## Installation

Expand All @@ -14,7 +14,7 @@ for Svelte, Sapper or Svelte-kit.
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 Svelte-kit)
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 @@ -42,7 +42,7 @@ defaultChainStore.setBrowserProvider()

Please note that your code need to be in browser context when
`setBrowserProvider` is running. So you may want to use `onMount` when
using Sapper or Svelte-kit. Similarly, you cannot use
using Sapper or Sveltekit. Similarly, you cannot use
`setBrowserProvider` in SSR context.

```js
Expand Down Expand Up @@ -74,7 +74,7 @@ $web3.eth.getBalance(<Ethereum address>)

The whole Web3.js API is now usable in the `<script>` section of your
svelte files if you always use notation `$web3` and not `web3` which
is teh default notation is in web3.js library documentation. (using
is the default notation is in web3.js library documentation. (using
`svelte-web3` package, because the svelte store value should always
start with `$`, `web3` is the Svelte store itself, not the
instantiated library)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"access": "public"
},
"keywords": [
"svelte-kit",
"sveltekit",
"svelte",
"sapper",
"ethereum",
Expand Down

0 comments on commit 4c5c8bc

Please sign in to comment.