Franck Royer
98c1257585
Add JavaScript Relay example
2022-03-21 12:33:31 +11:00
Franck Royer
483b11723c
Release 0.19.2
2022-03-21 10:36:27 +11:00
Franck Royer
d2e9a57604
Update changelog
2022-03-18 14:47:25 +11:00
Franck R
c806135810
Revert "Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. ( #611 )" ( #613 )
...
This reverts commit f4e81dd29c
.
2022-03-13 20:33:47 +11:00
Franck R
f4e81dd29c
Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. ( #611 )
2022-03-13 10:11:04 +11:00
Franck R
ac337855aa
Release 0.19.1 ( #610 )
2022-03-10 16:25:51 +11:00
Franck R
ed23332965
Allow passing multiaddr to `bootstrap.peers` ( #608 )
2022-03-09 18:38:28 +11:00
Franck R
e4024d5c72
Release 0.19.0 ( #607 )
2022-03-09 14:29:35 +11:00
Franck R
e649f772a7
`WakuMessage.timestamp` field must use nanoseconds ( #606 )
2022-03-09 12:00:02 +11:00
Franck R
2798376776
Remove ecies-geth ( #598 )
...
* test: specify encryption method
Makes debugging easier.
* Fix log typo
* Remove ecies-geth
Start removal of elliptic dependency and move towards exclusive usage to
CryptoSubtle.
2022-03-06 23:20:59 +11:00
Franck R
ad5b3ddc7f
New `pubsub_topic` field on the `cursor` of Waku Store queries ( #596 )
2022-03-04 16:47:23 +11:00
Franck Royer
fe30449861
Add exports field for node
...
While this library targets the browser, it is sometimes helpful to use
it in need for experiments.
For example: https://github.com/status-im/js-waku/pull/588
2022-03-04 14:49:33 +11:00
Franck Royer
f73afc5244
Handle errors thrown when converting to utf-8
2022-03-01 16:58:15 +11:00
Franck R
d838f53c78
Release 0.18.0 ( #576 )
2022-02-24 16:40:14 +11:00
Franck R
a488988f37
Implement Waku Store 2.0.0-beta4 ( #566 )
2022-02-24 16:25:58 +11:00
Franck R
64657a250f
Replace rlp with ethers' rlp ( #526 )
2022-02-16 14:08:48 +11:00
Franck R
297d65ce03
Reduce Buffer usage in ENR module ( #522 )
2022-02-16 12:11:54 +11:00
Franck R
9931011c93
Release 0.17.0 ( #538 )
2022-02-16 11:55:53 +11:00
Franck R
146c67e43e
Predefine bootstrap node ( #528 )
2022-02-16 11:43:57 +11:00
Franck R
cfc5eee4ff
Reduce buffer usage ( #521 )
2022-02-14 10:50:02 +11:00
Franck R
2dc8764be2
Remove axios ( #520 )
2022-02-14 09:26:22 +11:00
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
0f678750df
Improve docs ( #519 )
2022-02-11 17:27:15 +11:00
Franck R
69f0005445
Bump libp2p from 0.32.4 to 0.36.2, libp2p-gossipsub from 0.12.1 to 0.13.0 ( #470 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 15:12:08 +11:00
Franck R
f2cf00bf44
Examples are now deployed in wakuconnect.dev ( #485 )
2022-02-02 11:56:40 +11:00
Franck R
4be3d95535
Release 0.16.0 ( #473 )
2022-01-31 15:56:59 +11:00
Franck R
d9248dbc56
Replace `waitForConnectedPeer` with `waitForRemotePeer` ( #469 )
2022-01-30 21:56:21 +11:00
Franck R
95b3daf3e8
js-waku docs have a new location ( #436 )
2022-01-27 12:40:46 +11:00
Franck R
c7fe1bd789
Rename DappConnect to Waku Connect ( #427 )
2022-01-24 15:00:11 +11:00
Franck R
cba5212872
Upgrade nim-waku to v0.7 ( #417 )
2022-01-19 15:43:45 +11:00
Franck R
8b06b6e1d5
Release 0.15.0 ( #414 )
2022-01-19 12:24:32 +11:00
Franck R
96cf24d34e
Allow specifying decryption methods and content topic ( #409 )
2022-01-17 14:11:05 +11:00
Franck Royer
8e591f22db
Update changelog
2022-01-14 12:49:40 +11:00
Franck Royer
284644b822
Fix-up new bootstrap API
2022-01-13 16:39:52 +11:00
Franck Royer
e244bae03d
Renamed `getBootstrapNodes` to `getNodesFromHostedJson`
...
So that the name better matches the function's behaviour.
2022-01-13 15:33:37 +11:00
Franck Royer
ddec271621
Make minimum support node version 16
...
A number of libp2p packages do not support node 14 anymore.
2022-01-06 14:17:17 +11:00
F
eb9057fc8f
doc: Remove warnings
2021-12-02 23:51:54 +11:00
Franck Royer
46abd4ca96
changelog: Upgrade nim-waku to v0.6
2021-12-01 16:25:23 +11:00
F
60073ce4fc
Update links
2021-11-30 12:16:07 +11:00
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
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
Franck Royer
0cf12f3b55
Release 0.14.1
...
### Fixed
- Issue when importing the `utils` module.
2021-10-22 14:40:38 +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
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
4ff61f4bf9
Update changelog
2021-10-12 11:43:30 +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
b216cd3b22
Update changelog
2021-10-05 13:36:04 +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