mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 10:32:14 +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({
|
||||
transports: [
|
||||
new TCP(),
|
||||
new WS()
|
||||
new WebSockets()
|
||||
],
|
||||
streamMuxers: [new Mplex()],
|
||||
connectionEncryption: [new Noise()],
|
||||
|
Loading…
x
Reference in New Issue
Block a user