Commit Graph

907 Commits

Author SHA1 Message Date
Franck Royer 7e22d4cb76
Release Candidate 0.14.0-rc.0
### Added
- If the `callback` function passed to`WakuStore.queryHistory` returns
  `true`, then no further pages are retrieved from the store.
- Use webpack to build UMD bundle of the library.

### Changed
- **Breaking**: Renamed `WakuStore.QueryOptions`'s `direction` to
  `pageDirection` (and its type) as it only affects the page ordering,
  not the ordering of messages with the page.

### Fixed
- Docs: Ensure that `WakuStore`'s `QueryOptions` documentation is
  available [online](https://status-im.github.io/js-waku/docs/).
2021-10-12 14:23:41 +11:00
Franck Royer 6c18eafeac
Merge pull request #311 from status-im/minify-2 2021-10-12 13:38:13 +11:00
Franck Royer b268f59c2e
Include ESM and UMD files in package 2021-10-12 12:01:14 +11:00
Franck Royer 4ff61f4bf9
Update changelog 2021-10-12 11:43:30 +11:00
Franck Royer 6ebcc46f9e
Remove ReactJS warning about webpack
Because this is not a monorepo, ReactJS projects are examples.
2021-10-12 11:43:29 +11:00
Franck Royer a335091ccf
Add `exports` keyword 2021-10-12 11:43:29 +11:00
Franck Royer b029692865
Use webpack for umd 2021-10-12 11:43:29 +11:00
Franck Royer 9488d28266
Merge pull request #310 from status-im/stop-store-query 2021-10-08 11:06:57 +11:00
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