Franck Royer
d18a5152ef
fix(test): check messages on custom pubsub topic
2022-08-03 09:30:38 +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
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
82aba32f9e
Migrate from ts-proto to protons
...
The latter does not bring Buffer/Long and is ESM compatible.
2022-06-20 14:32:20 +10:00
Franck Royer
9ffedd1fbf
Remove circular dependencies
2022-06-01 12:14:47 +10:00
Franck Royer
a5219efc14
Support ENR waku2 field
2022-05-05 14:40:53 +10:00
Franck
2511b7daec
Nwaku v0.9 is taking more time to start-up
2022-04-06 12:39:18 +10:00
Franck
dc90279905
Rename nim-waku to nwaku
2022-04-06 12:39:18 +10:00
Franck Royer
d95d773f45
Send nanoseconds timestamp in nim-waku RPC
2022-04-06 12:39:18 +10:00
Franck Royer
c07396c30b
Update nwaku RPC with nanoseconds timestamp
2022-04-06 12:39:18 +10: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
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
4c80f7f0df
Remove odd prettier config ( #500 )
2022-02-04 14:12:00 +11:00
Franck R
b257885204
test: Fix flackiness ( #474 )
2022-02-01 12:54:54 +11:00
Franck R
47c5565371
Wait for heartbeat before considering relay peer ready ( #472 )
2022-01-31 15:30:49 +11:00
Franck R
03491a892b
Fix waitForRemotePeer & test behaviour ( #471 )
2022-01-31 10:30:25 +11:00
Franck R
c31972de02
Reorganize tests to ensure they all display under a section ( #421 )
2022-01-24 11:00:41 +11:00
Franck R
34e4cbba73
Use websocket instead of tcp in interop tests ( #418 )
2022-01-20 13:00:58 +11:00
Franck R
cba5212872
Upgrade nim-waku to v0.7 ( #417 )
2022-01-19 15:43:45 +11: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
1d48dc4372
Rename all pubsubTopic occurrences to pubSubTopic
2021-08-20 10:13:02 +10:00
Franck Royer
60290e8d84
Moved DefaultPubSubTopic to waku.ts and fixed the casing
...
The pubsub topic is used by several protocol, not just relay.
2021-08-20 10:12:55 +10:00
Franck Royer
dcdab3203d
Replace nim-waku log grep with new pattern
2021-08-09 12:27:22 +10:00
Franck Royer
c14951cb0e
Increase timeout for nim-waku starts
...
Took 5 seconds in CI run.
2021-08-09 11:58:58 +10:00
Franck Royer
d035359616
Workaround the fact that ni-waku does not accept integers as timestamp
2021-08-05 13:32:37 +10:00
Franck Royer
6817a2f6b2
Pass timestamp to RPC call
2021-07-26 11:32:50 +10:00
Franck Royer
13c8a0527b
Test symmetric encryption with nim-waku using relay
2021-07-15 12:12:43 +10:00
Franck Royer
a9c83dac13
Do not use same key value for both constants
2021-07-14 13:03:22 +10:00
Franck Royer
f123cd7e62
Test asymmetric encryption against nim-waku
2021-07-09 15:50:16 +10:00
Franck Royer
f95d9aec3c
Add version 1 support to waku relay, test decryption against nim-waku
2021-07-09 15:50:16 +10:00
Franck Royer
34e6ac5247
Add version 1 support to WakuMessage
2021-07-09 15:50:15 +10:00
Franck Royer
6cb92dd4b9
Upgrade to latest libp2p versions
...
And few other packages
2021-06-22 13:21:23 +10:00
Franck Royer
5ce0717f05
Enable passing a custom pubsub topic
...
Note that we currently only support one, and only one, pubsub topic for
a given instance across the codebase. The PubSub topic needs to be set
when instantiating the Waku* classes.
At this stage, we believe that most DApp will use, and only use, the
default PubSub topic. Some application want to use an alternative topic
but not use the default one so this behaviour should be fine. See #174
for details.
2021-06-09 15:00:03 +10:00
Franck Royer
de3aea626a
Implement Light Push protocol
2021-05-19 12:29:29 +10:00
Franck Royer
eb9955314c
Align terminology with specs
...
In specs, this is referenced as a `pubsubTopic`.
2021-05-13 20:48:30 +10:00
Franck Royer
065593b0cf
Revert naming to js-waku
...
To align with go-waku and nim-waku and keep bors working.
2021-05-13 20:27:38 +10:00
Franck Royer
40fd7ff365
Use Typedoc comment style
2021-05-11 09:06:22 +10:00
Franck Royer
50eaa39fec
Add debug statement in tests
...
Also enable debug logs in CI.
2021-05-10 20:18:26 +10:00
Franck Royer
de3dcd9e22
Improve test readability
...
By avoiding buffer comparison.
2021-05-10 14:10:37 +10:00
Franck Royer
21414ad55e
Upgrade nim-waku to latest version
2021-05-07 11:30:36 +10:00
Franck Royer
de57b2691e
Only the result property is ever used
2021-05-04 11:12:32 +10:00
Franck Royer
9e30627e2b
Force return types to be specified
...
Makes it easier to use the library. Best to enforce this early on.
2021-05-04 11:12:32 +10:00
Franck Royer
afba3210e9
Upgrade libp2p to 0.31.0-rc.3
2021-04-21 16:17:32 +10:00
Franck Royer
4b31a6aaba
Wait for identify protocol to finish when dialing
...
Removes most `delay()`.
2021-04-13 22:43:13 +10:00
Franck Royer
b38634fd14
Remove warnings
2021-04-13 15:25:00 +10:00
Franck Royer
e9d51a6c57
Implement Waku store protocol
2021-04-09 16:54:30 +10:00