mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 18:42:15 +00:00
docs: update websockets import var (#1274)
This commit is contained in:
parent
a5077cbc6b
commit
676cee2947
@ -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()],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user