Franck Royer
5076fa553c
Enable spelling for guides and fix it
2021-08-09 12:36:53 +10:00
Franck Royer
b4dcb73e30
Add store react to example CI
2021-08-09 12:36:50 +10:00
Franck Royer
d3877ac26c
Simplify
2021-08-09 12:36:29 +10:00
Franck Royer
884190c971
Phrasing
2021-08-09 12:36:29 +10:00
Franck Royer
ee5d627d14
Correct grammar
2021-08-09 12:36:28 +10:00
Franck Royer
e52e564a31
Any value can be undefined
2021-08-09 12:36:28 +10:00
Franck Royer
8322d24ac1
Always clean up listeners!
2021-08-09 12:36:28 +10:00
Franck Royer
cecbaad4f2
Finish store guide
2021-08-09 12:36:28 +10:00
Franck Royer
a24e9c82c3
Fix protobuf def
2021-08-09 12:36:28 +10:00
Franck Royer
f700367e62
Demonstrate how to wait for a store node peer
2021-08-09 12:36:28 +10:00
Franck Royer
3767dd75a7
store-react-js retrieves messages from store
2021-08-09 12:36:27 +10:00
Franck Royer
dc9ea6dfac
Add Store example
2021-08-09 12:36:27 +10:00
Franck Royer
f83f3037f1
Start store guide
2021-08-09 12:36:27 +10:00
Franck Royer
319f44a0b1
`WakuStore.queryHistory` throws when encountering an error
...
Instead of returning a `null` value.
2021-08-09 12:36:24 +10:00
Franck Royer
b422c9a10b
Move `contentTopics` out the `WakuStore.queryHistory`'s optional params
2021-08-09 12:36:12 +10:00
Franck Royer
55a36f2263
Merge pull request #260 from status-im/remove-chat-message
2021-08-09 12:35:15 +10:00
Franck Royer
355b8414d8
Separate shutdown process to pinpoint CI failure
2021-08-09 12:27:52 +10:00
Franck Royer
dcdab3203d
Replace nim-waku log grep with new pattern
2021-08-09 12:27:22 +10:00
Franck Royer
80cfa3c87a
Increase timeout to shutdown node
2021-08-09 12:09:21 +10:00
Franck Royer
c14951cb0e
Increase timeout for nim-waku starts
...
Took 5 seconds in CI run.
2021-08-09 11:58:58 +10:00
Franck Royer
ad9d629daa
`ChatMessage` has been moved from js-waku to web-chat example
...
It is a type used for the [TOY-CHAT](https://rfc.vac.dev/spec/22/ )
protocol;
js-waku users should not build on top if this toy protocol and instead
design message data structures appropriate to their use case.
2021-08-06 17:25:12 +10:00
Franck Royer
0c3995a810
Remove cli-chat example
...
The focus of this library is on Web environment; Several examples now
cover usage of Waku Relay and Waku Store; web-chat POC should be
preferred to use the [TOY-CHAT](https://rfc.vac.dev/spec/22/ ) protocol.
2021-08-06 17:25:11 +10:00
Franck Royer
0431088115
Merge pull request #259 from status-im/release/0.10.0
...
Release 0.10.0
2021-08-06 16:50:48 +10:00
Franck Royer
70c58c8c49
Release 0.10.0
...
### Added
- Relay and ReactJS guides and examples
([#56 ](https://github.com/status-im/js-waku/issues/56 )).
### Changed
- **Breaking**: The `WakuMessage` APIs have been changed to move
`contentTopic` out of the optional parameters.
### Removed
- Examples (web-chat): Remove broken `/fleet` command.
- **Breaking**: Removed `DefaultContentTopic` as developers must choose
a content topic for their app; recommendations for content topic can
be found at https://rfc.vac.dev/spec/23/ .
### Fixed
- `WakuMessage.payloadAsUtf8` returning garbage on utf-8 non-ascii
characters.
- `ChatMessage.payloadAsUtf8` returning garbage on utf-8 non-ascii
characters.
2021-08-06 16:38:55 +10:00
Franck Royer
cbf3fc3f8e
Merge pull request #251 from status-im/rename-min-web-chat
2021-08-05 16:11:01 +10:00
Franck Royer
1b82c21297
Update changelog
2021-08-05 13:39:42 +10:00
Franck Royer
c13beae0d2
Include ReactJS in name min web chat name
2021-08-05 13:39:42 +10:00
Franck Royer
bc71247acf
Point to guide menu and remove example section
2021-08-05 13:39:41 +10:00
Franck Royer
016ccd4836
Merge pull request #256 from status-im/revert-p-tests
2021-08-05 13:38:51 +10:00
Franck Royer
d035359616
Workaround the fact that ni-waku does not accept integers as timestamp
2021-08-05 13:32:37 +10:00
Franck Royer
5a4d7cfb09
Revert "Run test tasks in parallel"
...
This reverts commit ed14311174
.
2021-08-04 14:53:07 +10:00
Franck Royer
27feaaac4b
Revert "Run tests in parallel"
...
This reverts commit b8e7079b67
.
2021-08-04 14:53:07 +10:00
Franck Royer
a1da4ada7f
Merge pull request #250 from status-im/test-examples
...
Run test tasks in parallel
2021-08-02 14:34:14 +10:00
Franck Royer
b8e7079b67
Run tests in parallel
...
React build is quite long so best to run other linters in parallel.
2021-08-02 14:12:39 +10:00
Franck Royer
b828f7773c
Add helpers to test examples
...
Keep a separate CI task.
2021-08-02 14:11:05 +10:00
Franck Royer
ed14311174
Run test tasks in parallel
2021-08-02 14:03:41 +10:00
Franck Royer
8aadaacc54
Merge pull request #245 from status-im/guides
2021-08-02 13:35:32 +10:00
Franck Royer
495827ed63
Rephrased
2021-08-02 12:26:07 +10:00
Franck Royer
499b3e7cc0
Touch up
2021-08-02 12:22:18 +10:00
Franck Royer
dbc6662082
Touch up
2021-08-02 12:22:18 +10:00
Franck Royer
ef27afbbf9
Fix voca
2021-08-02 12:00:28 +10:00
Franck Royer
7b87ece951
Add ReactJS Relay to guide menu
2021-08-02 11:59:24 +10:00
Franck Royer
5a4f7d4468
Test by building
...
Cannot run react-scripts test with libp2p
due to
https://github.com/libp2p/js-libp2p/issues/961
2021-08-02 11:04:41 +10:00
Franck Royer
f0fe7dce02
Fix TextDecoder error in tests
2021-08-02 10:45:11 +10:00
Franck Royer
7d9f8c03c1
Move protocol support after examples
2021-08-02 10:45:11 +10:00
Franck Royer
975fb6245a
Run CI for min js web chat example
2021-08-02 10:45:10 +10:00
Franck Royer
943b1c2456
Add ReactJS Relay guide
2021-08-02 10:45:10 +10:00
Franck Royer
f95e52c2ea
Remove reducer, fix timestamp
2021-08-02 10:45:10 +10:00
Franck Royer
2306bb1708
Add breakdown of what examples demonstrate
...
Also move explanation to each readme.
2021-08-02 10:45:10 +10:00
Franck Royer
8a1babac6f
Fix capitalized titles
2021-08-02 10:45:10 +10:00