Commit Graph

918 Commits

Author SHA1 Message Date
Franck Royer 307469ef92
Merge pull request #316 from status-im/unpkg-link 2021-10-13 12:03:31 +11:00
Franck Royer 4ecd4fd377
Correct unpkg link
Latest release now contains UMD bundle.
2021-10-13 11:45:26 +11:00
Franck Royer 8551712c05
Merge pull request #315 from status-im/release/0.14.0 2021-10-13 11:41:43 +11:00
Franck Royer 2c1ff58f93
Release 0.14.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, see
  [README](./README.md) for usage.

### 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-13 11:14:40 +11:00
Franck Royer bafa30fb05
Add doc location for UMD bundle 2021-10-13 10:21:40 +11:00
Franck Royer 0db30efc5b
Merge pull request #313 from status-im/unpkg-example 2021-10-13 10:19:21 +11:00
Franck Royer 137c1dfcc0
Add jswaku 2021-10-13 08:09:55 +11:00
Franck Royer cb0b93d3f1
Remove todo 2021-10-12 16:32:04 +11:00
Franck Royer 9a8ecd8611
Update README to include unpkg example 2021-10-12 16:31:04 +11:00
Franck Royer 0d86c91720
Add Pure JS example 2021-10-12 15:36:11 +11:00
Franck Royer 6823b98fc0
Merge pull request #314 from status-im/release/0.14.0-rc.0 2021-10-12 15:06:33 +11:00
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