Commit Graph

191 Commits

Author SHA1 Message Date
Franck Royer c4758a8737
Setup rollup, move files to dist/ 2022-06-20 14:32:20 +10:00
Franck Royer 1a53a35358
Release 0.24.0 2022-05-27 23:46:18 +10:00
Franck Royer d3082c8dd8
Update changelog 2022-05-27 20:37:16 +10:00
Franck Royer 2b378e7ca1
Update changelog 2022-05-20 12:22:41 +10:00
Franck Royer aad678a708
Add a timeout to `waitForRemotePeer` 2022-05-19 16:04:38 +10:00
Franck Royer 4b43db6daa
Change default to wait for Relay only
Store is not used by all applications, also, note all
nodes have store enabled.
Default value should prefer working software over feature complexity.
2022-05-19 16:04:04 +10:00
Franck Royer 3ec3ad1fd9
Update changelog for release 0.23.0 2022-05-19 15:54:24 +10:00
Franck Royer 0ec6e6d2fb
Update changelog 2022-05-19 15:17:37 +10:00
Franck Royer 48efcc1562
Add all used deps 2022-05-18 20:41:10 +10:00
Franck Royer b708077483
Remove assert usage 2022-05-13 17:28:38 +10:00
Franck Royer 920668c54c
Release 0.22.0 2022-05-10 16:44:17 +10:00
Franck Royer 7b7ff78c7f
Fix changelog 2022-05-10 16:42:25 +10:00
Franck Royer 00be6b147d
Remove crypto-browserify 2022-05-09 23:32:43 +10:00
Franck Royer fd15b190d5
Release 0.21.0 2022-05-05 16:45:55 +10:00
Franck Royer 1a95efbb12
Changelog update for `waku2` ENR key 2022-05-05 14:58:56 +10:00
Franck Royer 5de2f1996f
Facilitate the use of a polyfill for `BigInt`
By preferring the use of `BigInt` over integer literal (`n` postfix).
2022-05-02 14:51:14 +10:00
Franck Royer f953a41546
Declare it-pipe dependency, properly import
As it was implicitly using it-pipe@1.0.0 that has a different import
format.
2022-04-06 13:41:15 +10:00
Franck Royer 929f05968b
Release 0.20.0 2022-03-30 10:14:25 +11:00
Franck Royer 13d12f8284
Froze `libp2p-gossipsub` version to 0.13.0
0.13.2 moved heartbeat class which is a breaking change.
2022-03-29 21:28:03 +11:00
Franck Royer bf63e85e9e
Move utf-8 utils to `utils` 2022-03-25 17:08:03 +11:00
Franck Royer a915acfcda
Remove deprecated utils functions 2022-03-25 17:08:02 +11:00
Franck Royer c4d779d1db
Remove `equalByteArrays` 2022-03-25 17:08:02 +11:00
Franck Royer d0dea3884b
Replace Base 64 buggy conversion functions with `uint8arrays` 2022-03-25 11:02:40 +11:00
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