Commit Graph

1130 Commits

Author SHA1 Message Date
F 31325bb673
Release 0.14.2
### Changed

- Examples: JS examples uses local ESM folder to replicate behaviour of
js-waku publish package.

### Fixed

- `TypeError` issue related to constructors using js-waku in a JS
project
  ([#323](https://github.com/status-im/js-waku/issues/323)).
2021-11-30 11:33:30 +11:00
F 04a9da6555
Merge pull request #328 from status-im/323-type-error 2021-11-26 21:41:32 +11:00
F 8909164f6d
Use ESM in JavaScript examples
As it is what JS projects would use when using the js-waku npm package.
2021-11-26 21:24:05 +11:00
F de9b313b65
Use es6/es2015 target for ESM output
es5 does not support class constructors and hence lead to issues.
2021-11-26 21:23:50 +11:00
F 2d80d656af
Merge pull request #329 from status-im/setup-buf
ci: Upgrade bufbuild to 0.56.0
2021-11-26 19:42:42 +11:00
F 4b727d9138
ci: Upgrade bufbuild to 0.56.0 2021-11-26 16:31:10 +11:00
Franck Royer f56e87a963
Merge pull request #322 from status-im/release/0.14.1 2021-10-22 15:14:48 +11:00
Franck Royer 0cf12f3b55
Release 0.14.1
### Fixed
- Issue when importing the `utils` module.
2021-10-22 14:40:38 +11:00
Franck Royer 6f61c19deb
Merge pull request #321 from status-im/exports 2021-10-20 13:14:07 +11:00
Franck Royer 5009792fca
Remove exports field
TypeScript does not play nice with it just yet:
https://github.com/microsoft/TypeScript/issues/33079
2021-10-19 15:22:38 +11:00
Franck Royer 0ccc43dabc
Merge pull request #317 from status-im/docs-gh-pages 2021-10-13 13:59:23 +11:00
Franck Royer 9bd5d98ed9
Do not delete subfolders
Which makes them unavailable until they are published.
2021-10-13 12:17:44 +11:00
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