chore: update docs to show new property (#209)

This commit is contained in:
Sasha 2024-09-30 17:13:47 +02:00 committed by GitHub
parent dbedf1fbd2
commit ed094329bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,14 +64,11 @@ const peers = [
const node = await createLightNode(); 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({ const node = await createLightNode({
libp2p: { libp2p: {
transports: [webSockets({ filter: filterAll })], filterMultiaddrs: false,
}, },
}); });
*/ */