From ed094329bd075722a5fce6c2f810c05f4452d7f9 Mon Sep 17 00:00:00 2001 From: Sasha <118575614+weboko@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:13:47 +0200 Subject: [PATCH] chore: update docs to show new property (#209) --- docs/guides/js-waku/configure-discovery.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/guides/js-waku/configure-discovery.md b/docs/guides/js-waku/configure-discovery.md index 05e98c6..841a502 100644 --- a/docs/guides/js-waku/configure-discovery.md +++ b/docs/guides/js-waku/configure-discovery.md @@ -64,14 +64,11 @@ const peers = [ const node = await createLightNode(); -// In case nodes are using `ws` protocol - additional configuration is needed: +// In case nodes are using IP address and / or `ws` protocol - additional configuration is needed: /* -import { webSockets } from "@libp2p/websockets"; -import { all as filterAll } from "@libp2p/websockets/filters"; - const node = await createLightNode({ libp2p: { - transports: [webSockets({ filter: filterAll })], + filterMultiaddrs: false, }, }); */