Commit Graph

27 Commits

Author SHA1 Message Date
Franck Royer 27a90d8204
Use timestamp in millisecond
It was implicitly using `toString` which return the timestamp in
readable format with a precision in seconds which meant messages sent
within the same second had the same key.
2022-05-19 15:32:06 +10:00
tobyjaguar 35cfd5679e
update unique key to React list element in relay-reactjs-chat app 2022-05-19 15:32:06 +10:00
Franck Royer 82f1b5a135
Publish store and relay ReactJS examples 2022-05-13 16:05:58 +10:00
Franck Royer 775628fbe7
relay-reactjs: Remove crypto-browserify 2022-05-11 15:54:55 +10:00
Franck Royer 701dccfc28
relay-reactjs: Upgrade js-waku to 0.22.0 2022-05-11 15:54:55 +10:00
dependabot[bot] 8a02ba657b
Bump @testing-library/react in /examples/relay-reactjs-chat
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.1.2 to 13.2.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.2...v13.2.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 15:30:17 +00:00
Franck Royer a26f9e2bda
Bump react and react-dom in examples 2022-05-04 14:21:30 +10:00
Franck Royer 507413665a
Use js-waku from npmjs.com instead of local build 2022-05-03 10:47:13 +10:00
Franck Royer f953a41546
Declare it-pipe dependency, properly import
As it was implicitly using it-pipe@1.0.0 that has a different import
format.
2022-04-06 13:41:15 +10:00
dependabot[bot] 9a43b86b4d
Bump @testing-library/user-event in /examples/relay-reactjs-chat
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.5.0 to 14.0.4.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.0.4)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 15:22:32 +00:00
Franck Royer 47277e5bb5
Replaces protons with protobufjs 2022-04-01 16:16:53 +11:00
Dylan Oliver ff0cc1bc38
example relay-reactjs-chat app works importing whole package rather than subpath 2022-03-18 14:41:33 +11:00
Franck R 160fea0e7b
`Waku.dial` accepts protocols expected from the peer. Defaults to Waku Relay only. (#516) 2022-02-13 19:04:50 +11:00
dependabot[bot] 42c5115a32
Bump @testing-library/jest-dom from 5.16.1 to 5.16.2 in /examples/relay-reactjs-chat (#489)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 14:25:53 +11:00
Jakub e4888f779c
ci: build examples and deply in a subfolder (#432) 2022-02-02 11:35:28 +11:00
Franck R d9248dbc56
Replace `waitForConnectedPeer` with `waitForRemotePeer` (#469) 2022-01-30 21:56:21 +11:00
Franck R 41b7ef17e1
Remove web-vitals (#429) 2022-01-24 18:19:11 +11:00
Franck R c7fe1bd789
Rename DappConnect to Waku Connect (#427) 2022-01-24 15:00:11 +11:00
Franck Royer 4fd2db608b
Update caniuse in all examples 2022-01-13 16:40:11 +11:00
Franck Royer a5259e04ae
Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +11:00
Franck Royer b73efdb124
Update README 2022-01-10 12:27:09 +11:00
Franck Royer dae4ca4345
Display received messages 2022-01-10 12:27:09 +11:00
Franck Royer d643735296
Handle incoming messages 2022-01-10 12:27:09 +11:00
Franck Royer 5eb14d7826
Send message 2022-01-10 12:27:09 +11:00
Franck Royer e8c0728a49
Wait for connected peers 2022-01-10 12:27:08 +11:00
Franck Royer 673869bdff
Use cra-webpack-rewired, display Waku status 2022-01-10 12:27:08 +11:00
Franck Royer 80c0ab5b20
Init relay-reactjs-chat
New example using create-react-app 5.
2022-01-10 12:27:08 +11:00