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

This commit is contained in:
Sasha 2024-09-30 17:13:47 +02:00 committed by fryorcraken
parent fdaa1fa8f2
commit e22d15d52f
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -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,
},
});
*/