Commit Graph

1573 Commits

Author SHA1 Message Date
Franck Royer 4a193e49e0
style: use nullish coalescing instead of if/then 2022-08-03 09:30:38 +10:00
Franck Royer a3e6850b2f
fix(test): compare peer ids using string format 2022-08-03 09:30:37 +10:00
Franck Royer 991a1cf747
fix(test): ensure nodes are cleaned up, use separate noise key 2022-08-03 09:30:37 +10:00
Franck Royer ba1c7b86ea
fix: Use libp2p options passed to `createWaku` 2022-08-03 09:30:37 +10:00
Franck Royer ee12ec0ab5
chore: bump dns-query to 0.11.2 2022-08-03 09:30:37 +10:00
Franck Royer 9965ba9059
chore: bump @libp2p/mplex to 4.0.1 2022-08-03 09:30:37 +10:00
Franck Royer d7b08f7e24
fix: Wait for remote peer for Waku Relay
The promise resolves only if a remote peer is added to the gossipsub
mesh.
2022-08-03 09:30:37 +10:00
Franck Royer 2265a0099f
refactor: Use same code for store, lightpush and filter 2022-08-03 09:30:37 +10:00
Franck Royer 0a505659b7
fix: ensure node only enable protocol we are testing 2022-08-03 09:30:37 +10:00
Franck Royer 4c3da7bad2
refactor: Use common code for filter and light push 2022-08-03 09:30:36 +10:00
Franck Royer 811685e041
refactor!: Move `waitForRemotePeer` to own file 2022-08-03 09:30:36 +10:00
Franck Royer da9b7b31f5
chore: bump @chainsafe/libp2p-gossipsub to 3.4.0 2022-08-03 09:30:36 +10:00
Franck Royer 4eeca93d47
chore: bump libp2p to next (0.38.0 rc) 2022-08-03 09:30:36 +10:00
Franck Royer c346361940
chore: bump @libp2p/mplex to 4.0.0 2022-08-03 09:30:36 +10:00
Franck Royer 4669c4d149
chore: upgrade @chainsafe/libp2p-gossipsub to 3.3.0 2022-08-03 09:30:36 +10:00
Franck Royer 61e6ec8ed4
chore: upgrade rollup-plugin-polyfill-node 2022-08-03 09:30:36 +10:00
Franck Royer 1f9a12cddb
chore: upgrade libp2p-gossipsub and libp2p-noise 2022-08-03 09:30:36 +10:00
Franck Royer bd7d01387d
chore: remove useless test 2022-08-03 09:30:36 +10:00
Franck Royer f768686e51
fix: fix pipe usage 2022-08-03 09:30:33 +10:00
Franck Royer f3833564f2
fix: Remove event listener once done 2022-07-28 10:43:37 +10:00
Franck Royer 51d5bc19a2
fix: removed usage of buffer in streams 2022-07-20 12:45:14 +10:00
Franck Royer 52616fb912
fix: move to usage of `log` 2022-07-20 12:44:48 +10:00
Franck Royer d609b9c47b
fix: usage of libp2p and undefined options 2022-07-20 12:44:48 +10:00
Franck Royer 52d74a74b5
fix: remove test with no value 2022-07-20 12:44:48 +10:00
Franck Royer a10d3ae7d3
fix: peer id / keypair conversion 2022-07-20 12:44:47 +10:00
Franck Royer 5d5e035edb
fix: use compress key
`marshal` return the compress key, `bytes` returned the protobuf
serialized key.
2022-07-20 12:44:47 +10:00
Franck Royer fd030e0fbb
fix: Typo 2022-07-20 12:44:47 +10:00
Franck Royer 6d5c2acb99
fix: Multiaddr from fields function 2022-07-20 12:44:47 +10:00
Franck Royer ab9919ba6d
fix: Imports paths
Import paths were not valid.
2022-07-20 12:44:47 +10:00
Franck Royer 157e42e148
fix: Do not use `names` import 2022-07-20 12:44:47 +10:00
Franck Royer b9aef19a47
fix: new spellings 2022-07-20 12:44:47 +10:00
Franck Royer 9e27a0082e
Sort out ENR key generation, upgrade to @libp2p/crypto 2022-07-20 12:44:44 +10:00
Franck Royer dcb3a65a5b
No more tsc error on prod code 2022-07-20 12:44:07 +10:00
Franck Royer 5d8ab6cf82
Sort ping 2022-07-20 12:43:42 +10:00
Franck Royer e0a23bad44
Sort out createWaku and waitForRemotePeer 2022-07-20 12:43:42 +10:00
Franck Royer 4cf197e54d
Implement libp2p bootstrap interface 2022-07-20 12:43:40 +10:00
Franck Royer 081f62b07b
Upgrade libp2p-noise 2022-07-20 12:42:26 +10:00
Franck Royer 8e5318dc4a
Upgrade libp2p-gossipsub 2022-07-20 12:42:24 +10:00
Franck Royer 98c93c8283
Upgrade libp2p, peer-id, multiaddr
Use new packages and fix most compilation errors.
Remaining error to be dealt with in waku.ts.
2022-07-20 12:40:37 +10:00
Franck Royer 6c30e8d400
Use `PeerId.toString()` instead of `toB58String()`
New version of `PeerId` will only support `toString`
2022-07-20 11:55:43 +10:00
Franck R 3217b28063
Merge pull request #841 from status-im/doh-resolver 2022-07-19 17:38:18 +10:00
Franck Royer 0cec093a4d
chore!: upgrade dns-query 2022-07-19 16:31:21 +10:00
Franck R 9b4c3ecfb4
Merge pull request #786 from status-im/esm-no-libp2p-upgrade
Migrate package to ESM (no libp2p upgrade)
2022-06-20 15:09:11 +10:00
Franck Royer 862a397e81
Update changelog 2022-06-20 14:57:49 +10:00
Franck Royer 8a17631780
Re-introduce file used by Karma 2022-06-20 14:32:22 +10:00
Franck Royer 1fcf84b348
Fix size-limit 2022-06-20 14:32:22 +10:00
Franck Royer 3dde86fcb7
Revert to webpack for UMD 2022-06-20 14:32:22 +10:00
Franck Royer b32246fa0a
Change exported name to `waku` for UMD and CJS 2022-06-20 14:32:22 +10:00
Franck Royer 7432aaca25
Add `main` and `module` properties 2022-06-20 14:32:22 +10:00
Franck Royer e3b6292a6e
Use rollup instead of tsc to generate cjs files 2022-06-20 14:32:22 +10:00