Commit Graph

899 Commits

Author SHA1 Message Date
Franck Royer 8d469ff842
Enable caller to abort store query
If the `callback` function passed to`WakuStore.queryHistory` returns
`true`, then no further pages are retrieved from the store.
2021-10-07 15:33:00 +11:00
Franck Royer ec8d7ba9dc
Merge pull request #308 from status-im/store-guide 2021-10-07 15:19:57 +11:00
Franck Royer 2fbe926df2
Fix typos 2021-10-05 13:44:37 +11:00
Franck Royer 0d82b74854
Add and update time filter guides 2021-10-05 13:41:21 +11:00
Franck Royer d6f180cf36
Use callback option in store guide 2021-10-05 13:36:04 +11:00
Franck Royer 6f4d765e30
Remove useless log 2021-10-05 13:36:04 +11:00
Franck Royer 62b30b3f33
Log queried store peer info 2021-10-05 13:36:04 +11:00
Franck Royer 899e0c89e7
Add time filter to the guide 2021-10-05 13:36:04 +11:00
Franck Royer b216cd3b22
Update changelog 2021-10-05 13:36:04 +11:00
Franck Royer 92762deda2
Remove extra line 2021-10-05 13:36:03 +11:00
Franck Royer 4ae819357f
Correct doc for page direction 2021-10-05 13:36:03 +11:00
Franck Royer 92ee5b060c
doc: Move comments to ensure they appear in generated documentation 2021-10-05 13:36:03 +11:00
Franck Royer f5a0416efd
Rename to page direction
As the direction only affects the page ordering,
not the message ordering in the pages.
2021-10-05 13:36:03 +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 3f0af32c5a
Merge pull request #299 from status-im/readme-topic 2021-10-05 13:35:52 +11:00
Franck Royer 2ea9996603
Redirect to content topic guide 2021-10-05 11:32:30 +11:00
Franck Royer a056227538
Merge pull request #304 from status-im/run-test-on-browser-by-default 2021-09-24 17:32:14 +10:00
Franck Royer c990660fb9
Rename node only suites 2021-09-24 17:15:46 +10:00
Franck Royer 928d888ad8
Remove 'browser' from test filename
These tests are run both on node and in browser.
2021-09-24 17:09:34 +10:00
Franck Royer d900945b6d
Add 'node' in test file names that only run on node 2021-09-24 17:09:34 +10:00
Franck Royer 0482239e8b
Merge pull request #303 from status-im/heartbeat
Fix hearbeat tick handler rounding issue
2021-09-24 15:41:08 +10:00
Franck Royer d875994908
Fix hearbeat tick handler rounding issue
807bf282c5
2021-09-24 10:36:19 +10:00
Franck Royer 30e063a8eb
Merge pull request #302 from status-im/release/0.12.2 2021-09-22 11:19:25 +10:00
Franck Royer 6bc8136204
Merge branch 'main' of github.com:status-im/waku-js into release/0.12.2 2021-09-21 15:41:23 +10:00
Franck Royer e3dce12ae8
Release 0.12.2 2021-09-21 15:33:42 +10:00
Franck Royer ff8f151fbd
Update Changelog 2021-09-21 15:23:19 +10:00
Franck Royer 48bed9d2a2
Test default discovery as part of the CI 2021-09-21 15:23:19 +10:00
Franck Royer d18c6eca83
Do not setup libp2p discovery module if we fail to retrieve node addrs 2021-09-21 15:23:19 +10:00
Franck Royer ff829fc43e
Ensure node address is returned for Object type responses 2021-09-21 15:23:19 +10:00
Franck Royer 99ea50ed42
Merge pull request #301 from status-im/release/0.13.1
Release 0.13.1
2021-09-21 15:21:25 +10:00
Franck Royer 129b6a97d4
Release 0.13.1 2021-09-21 15:00:57 +10:00
Franck Royer d432f08652
Merge pull request #298 from status-im/boostrap-true 2021-09-21 14:55:37 +10:00
Franck Royer 6b11bc7183
Update Changelog 2021-09-21 14:47:45 +10:00
Franck Royer 2eb88068ae
Test default discovery as part of the CI 2021-09-21 14:47:45 +10:00
Franck Royer 640a672257
Do not setup libp2p discovery module if we fail to retrieve node addrs 2021-09-21 14:47:45 +10:00
Franck Royer a95315eeb5
Ensure node address is returned for Object type responses 2021-09-21 14:47:45 +10:00
Franck Royer eef6ff89c3
Merge pull request #300 from status-im/release/0.12.0
Merge hotfix 0.12.1 to main
2021-09-21 14:47:24 +10:00
Franck Royer 5443e3b4a7
Merge branch 'main' of github.com:status-im/waku-js into release/0.12.0 2021-09-21 14:31:28 +10:00
Franck Royer a0aa4395f9
Merge pull request #297 from status-im/release/0.12.1 2021-09-16 15:39:03 +10:00
Franck Royer def38b4234
Release 0.12.1 2021-09-16 15:21:45 +10:00
Franck Royer 8a4e7f5f3c
Connects to a limited number of bootstrap nodes, defaults to 1 2021-09-16 15:16:32 +10:00
Franck Royer a4ae4b4237
Merge pull request #295 from status-im/release/0.13.0 2021-09-16 15:13:51 +10:00
Franck Royer 6bd114f551
Release 0.13.0 2021-09-16 14:57:10 +10:00
Franck Royer 69778d065f
Merge pull request #294 from status-im/limit-connections
Connects to a limited number of bootstrap nodes, defaults to 1
2021-09-16 10:58:01 +10:00
Franck Royer 6504106a9e
Connects to a limited number of bootstrap nodes, defaults to 1 2021-09-16 10:38:01 +10:00
Franck Royer 1a9ab2ec77
Merge pull request #293 from status-im/182-async-await-syntax 2021-09-15 10:36:25 +10:00
Franck Royer a352cb0b38
Examples with no async/await syntax
Useful for those using ClojureScript.

Resolves #182.
2021-09-07 14:44:33 +10:00
Franck Royer 898f93371c
Merge pull request #292 from status-im/store-guide-react-js 2021-09-07 14:36:37 +10:00
Franck Royer c468bfd662
Minor correct, simplify code 2021-09-07 14:17:29 +10:00
Franck Royer 893e0b1af9
Add guide to use Waku Store in ReactJS 2021-09-07 14:17:29 +10:00