From c8046628e2643b4c82f504b736c1f665724ac7f9 Mon Sep 17 00:00:00 2001 From: Sasha Date: Wed, 21 Aug 2024 00:52:39 +0200 Subject: [PATCH] chore: update docs to show new property --- 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, }, }); */