Commit Graph

802 Commits

Author SHA1 Message Date
Franck Royer bc31089860
Merge pull request #255 from status-im/store-guide 2021-08-09 14:56:06 +10:00
Franck Royer eb04acd1a0
Fix format 2021-08-09 14:40:57 +10:00
Franck Royer 332d05e31d
Not sure why npm does that 2021-08-09 14:22:14 +10:00
Franck Royer fb89b78754
Do not run react tests
Unfortunately, there are issue with react-scripts (jest) and
multiformats: https://github.com/multiformats/js-multiformats/issues/110
2021-08-09 14:21:47 +10:00
Franck Royer 2381adfd17
Do not recommend protobuf
Yet provide guide on how to use protobuf.
2021-08-09 14:03:52 +10:00
Franck Royer bb7ae2f30a
Improve wording 2021-08-09 12:36:53 +10:00
Franck Royer b7bf47715b
Wording 2021-08-09 12:36:53 +10:00
Franck Royer be771d6619
This would have failed if the first node we connect to is NOT store 2021-08-09 12:36:53 +10:00
Franck Royer 951e2e296b
Format 2021-08-09 12:36:53 +10:00
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