Commit Graph

20 Commits

Author SHA1 Message Date
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
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 Royer a5259e04ae
Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +11:00
Franck Royer 899e0c89e7
Add time filter to the guide 2021-10-05 13:36:04 +11:00
Franck Royer 087f5bf774
guide/example: Demonstrate how to use the store callback option
This option is better than using the returned value.
This is because the returned value is returned only once **all** pages
are received, which can be very long if the `timeFilter` option is not
used.
2021-10-05 13:36:03 +11:00
Franck Royer c468bfd662
Minor correct, simplify code 2021-09-07 14:17:29 +10:00
Franck Royer 064bad5a75
Remove interval 2021-09-07 14:17:29 +10:00
Franck Royer f6aa758712
Small cleanup 2021-09-07 14:17:29 +10:00
Franck Royer a21d641280
Added `Waku.waitForConnectedPeer` helper
To ensure that we are connected to Waku peers when using the bootstrap
option.
2021-09-02 15:46:23 +10:00
Franck Royer 140791cc91
Provide easy way to bootstrap when creating Waku node 2021-08-13 16:18:00 +10:00
Franck Royer c3855112d7
Rename `getStatusFleetNodes`
To make it more generic to allow retrieval of bootstrap nodes from
other sources.
2021-08-13 16:17:15 +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 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