Franck Royer
c4d0501c6a
nim-waku v0.5 uses new waku relay protocol id
2021-07-26 11:35:08 +10:00
Franck Royer
92a76b3be0
Support multiple protocol id for relay
...
Support id of latest nim-waku release 0.4 and current master.
2021-07-21 15:43:30 +10:00
Franck Royer
e443237a81
Remove local type definitions for Karma to not return "not found"
2021-07-14 12:25:23 +10:00
Franck Royer
70058f0e36
Split browser and node tests
2021-07-14 11:56:48 +10:00
Franck Royer
8cecfc205b
Use plain websocket in tests
...
Thanks to the libp2p upgrade, waku actually tries to listen to a
secure websocket. Using plain websocket for now, testing secure
websocket is tracked with #50 .
2021-06-22 14:11:38 +10:00
Franck Royer
f17a008278
Separate the libp2p create options from Waku's
2021-06-09 15:00:02 +10:00
Franck Royer
3663ce260d
Rework exports for an easy use of the library
2021-05-10 16:41:58 +10:00
Franck Royer
503157401e
Allow passing transports, enable websocket transport
2021-04-15 13:56:07 +10:00
Franck Royer
79a9520348
Test cleanup
2021-04-09 16:05:43 +10:00
Franck Royer
ff8e96b60c
Clean up imports
2021-04-01 18:27:15 +11:00
Franck Royer
433a490dec
Move waku relay codec and default topic to constants module
2021-04-01 16:41:49 +11:00
Franck Royer
c3cf6462cc
Pass listening addresses as argument
2021-04-01 11:01:14 +11:00
Franck Royer
ee0c63eba3
Improve helper function for log name
2021-03-25 15:49:07 +11:00
Franck Royer
2486071708
Reduce entropy usage in tests
...
When playing around with tests frameworks, it was noticed that noise
was using entropy that lead to handles remaining open at the end of the
test run.
2021-03-22 22:25:13 +11:00
Franck Royer
d1e8ba2c6e
Finish conversion to mocha
2021-03-22 16:02:10 +11:00
Franck Royer
090b064c84
Kill nim-waku & js-libp2p nodes after tests
2021-03-22 14:24:01 +11:00
Franck Royer
13e941513d
Reorg tests, add describe sections
2021-03-19 15:55:38 +11:00
Franck Royer
7d595b0c8f
Move waku relay tests in dedicated file
2021-03-19 15:55:38 +11:00
Franck Royer
39332808d5
Improve API by using composition
2021-03-19 14:40:16 +11:00