js-waku/packages/interfaces/src
Danish Arora e0e8e655f8
chore: fix peer discovery peer-exchange (#1069)
* fix: discovery for peer-exchange

use the bootstrap node as a starter to send a
peer-exchange query to, and emit the response
peers received from it for further connection to
libp2p using the peer-discovery interface

* init: test for libp2p bootstrap/discovery for
peer-exchange

* temp-add: console.logs for easier debugging

* add: peer discovery test & rm: console.logs

* chore: rm  and redundant spec test

* add: interval for peer exchange queries
we set an interval to query a peer every 5 minutes
for peer exchange, and add new peers if found

* address: reviews
- add `type` for imports not using values
- better handling for peer-exchange query interval

* chore: fix tsc for peer-exchange
use node16 for module resolution

* chore: add extra exports to fix typedoc warnings
ref: https://github.com/TypeStrong/typedoc/issues/1739
2023-01-04 14:35:44 +05:30
..
enr.ts chore: remove waku dep from @waku/interfaces by defining IEnr 2022-12-21 15:40:34 +11:00
filter.ts feat: added `I` prefix to protocols interfaces 2022-12-12 22:36:09 +11:00
index.ts chore: remove waku dep from @waku/interfaces by defining IEnr 2022-12-21 15:40:34 +11:00
light_push.ts feat: added `I` prefix to protocols interfaces 2022-12-12 22:36:09 +11:00
message.ts feat: added `I` prefix to message/codec interfaces 2022-12-12 22:13:46 +11:00
peer_exchange.ts chore: fix peer discovery peer-exchange (#1069) 2023-01-04 14:35:44 +05:30
protocols.ts feat: added `I` prefix to message/codec interfaces 2022-12-12 22:13:46 +11:00
relay.ts feat: added `I` prefix to protocols interfaces 2022-12-12 22:36:09 +11:00
store.ts feat: added `I` prefix to protocols interfaces 2022-12-12 22:36:09 +11:00
waku.ts chore: rename node interfaces to include `Node` in name 2022-12-12 22:36:14 +11:00