Skip to content

Commit cbf3fc3

Browse files
authored
Merge pull request #251 from status-im/rename-min-web-chat
2 parents 016ccd4 + 1b82c21 commit cbf3fc3

24 files changed

+30
-26
lines changed

.github/workflows/examples-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
examples_build_and_test:
1313
strategy:
1414
matrix:
15-
example: [ cli-chat, web-chat, eth-dm, min-js-web-chat ]
15+
example: [ cli-chat, web-chat, eth-dm, min-react-js-chat ]
1616
runs-on: ubuntu-latest
1717
steps:
1818

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
- Relay and ReactJS guides and examples
12+
([#56](https://github.com/status-im/js-waku/issues/56)).
13+
1014
### Changed
1115
- **Breaking**: The `WakuMessage` APIs have been changed to move `contentTopic` out of the optional parameters.
1216

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
A JavaScript implementation of the [Waku v2 protocol](https://rfc.vac.dev/spec/10/).
44

5+
## Documentation
6+
7+
In the [section below](#usage) you can find explanations for the main API.
8+
9+
We also have [guides](https://github.com/status-im/js-waku/blob/main/guides/menu.md) available
10+
and [code examples](https://github.com/status-im/js-waku/blob/main/examples/examples.md).
11+
12+
You can read the latest `main` branch documentation at [https://status-im.github.io/js-waku/docs/](https://status-im.github.io/js-waku/docs/).
13+
14+
Docs can also be generated locally using:
15+
16+
```shell
17+
npm install
18+
npm run doc
19+
```
20+
21+
522
## Usage
623

724
Install `js-waku` package:
@@ -249,18 +266,6 @@ const sigPubKey = wakuMessage.signaturePublicKey;
249266
const isSignedByAlice = sigPubKey && equalByteArrays(sigPubKey, alicePublicKey);
250267
```
251268

252-
## More documentation
253-
254-
Find more [examples](#examples) below
255-
or checkout the latest `main` branch documentation at [https://status-im.github.io/js-waku/docs/](https://status-im.github.io/js-waku/docs/).
256-
257-
Docs can also be generated locally using:
258-
259-
```shell
260-
npm install
261-
npm run doc
262-
```
263-
264269
## Changelog
265270

266271
Release changelog can be found [here](https://github.com/status-im/js-waku/blob/main/CHANGELOG.md).
@@ -273,11 +278,6 @@ To get help, join #dappconnect-support on [Vac Discord](https://discord.gg/j5pGb
273278

274279
For more general discussion and latest news, join #dappconnect on [Vac Discord](https://discord.gg/9DgykdmpZ6) or [Telegram](https://t.me/dappconnect).
275280

276-
## Examples
277-
278-
We have a number of code examples available,
279-
you can find them in the [examples](https://github.com/status-im/js-waku/blob/main/examples/examples.md) directory.
280-
281281
## Waku Protocol Support
282282

283283
You can track progress on the [project board](https://github.com/status-im/js-waku/projects/1).

examples/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Here is the list of the code examples and the features they demonstrate:
55
- [Web Chat App](web-chat): Group chat, React/TypeScript, Relay, Store.
66
- [CLI Chat App](cli-chat): Group chat, Node JS/TypeScript, Relay, Light Push, Store.
77
- [Ethereum Direct Message Web App](eth-dm): Private Messaging, React/TypeScript, Light Push, Signature with Web3, Asymmetric Encryption.
8-
- [Minimal JS Web Chat App](min-js-web-chat): Group chat, React/JavaScript, Relay, Protobuf using `protons`.
8+
- [Minimal ReactJS Chat App](min-react-js-chat): Group chat, React/JavaScript, Relay, Protobuf using `protons`.
File renamed without changes.

examples/min-js-web-chat/README.md renamed to examples/min-react-js-chat/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To run a development version locally, do:
1515
git clone https://github.com/status-im/js-waku/ ; cd js-waku
1616
npm install # Install dependencies for js-waku
1717
npm run build # Build js-waku
18-
cd examples/min-js-web-chat
18+
cd examples/min-react-js-chat
1919
npm install # Install dependencies for the web app
2020
npm run start # Start development server to serve the web app on http://localhost:3000/
2121
```
File renamed without changes.

0 commit comments

Comments
 (0)