diff --git a/.cspell.json b/.cspell.json index c02bd72867..7f27564361 100644 --- a/.cspell.json +++ b/.cspell.json @@ -70,8 +70,10 @@ "statusim", "submodule", "submodules", + "supercrypto", "transpiled", "typedoc", + "unmount", "unmounts", "untracked", "upgrader", diff --git a/guides/reactjs-relay.md b/guides/reactjs-relay.md index 52e6a5310e..77c2169085 100644 --- a/guides/reactjs-relay.md +++ b/guides/reactjs-relay.md @@ -270,8 +270,8 @@ function App() { time.setTime(timestamp); const message = { text, timestamp: time }; - setMessages((currMessages) => { - return [message].concat(currMessages); + setMessages((messages) => { + return [message].concat(messages); }); }, []); diff --git a/guides/store-retrieve-messages.md b/guides/store-retrieve-messages.md index bd07e1d7ea..fe756e6cfb 100644 --- a/guides/store-retrieve-messages.md +++ b/guides/store-retrieve-messages.md @@ -141,7 +141,7 @@ waku.store ``` Note that `WakuStore.queryHistory` select an available store node for you. -However, it can only query connected node, which is why the bootstraping is necessary. +However, it can only query connected node, which is why the bootstrapping is necessary. The call can throw an error if no store node is available. diff --git a/package.json b/package.json index 0ebf5e02d4..b6f3799250 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "test": "run-s build test:*", "test:lint": "eslint src --ext .ts", "test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.conf.js\" --list-different", - "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"", + "test:spelling": "cspell \"{README.md,.github/*.md,guides/*.md,src/**/*.ts}\"", "test:unit": "nyc --silent mocha", "test:karma": "karma start", "examples:test": "run-s examples:pretest; for d in examples/*; do (cd $d; npm test;); done",