mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-13 09:11:20 +00:00
docs: update websockets import var (#1274)
This commit is contained in:
@ -247,7 +247,7 @@ import { GossipSub } from 'libp2p-gossipsub'
|
|||||||
const node = await createLibp2p({
|
const node = await createLibp2p({
|
||||||
transports: [
|
transports: [
|
||||||
new TCP(),
|
new TCP(),
|
||||||
new WS()
|
new WebSockets()
|
||||||
],
|
],
|
||||||
streamMuxers: [new Mplex()],
|
streamMuxers: [new Mplex()],
|
||||||
connectionEncryption: [new Noise()],
|
connectionEncryption: [new Noise()],
|
||||||
|
Reference in New Issue
Block a user