docs: update websockets import var (#1274)

This commit is contained in:
Vasco Santos 2022-06-24 13:33:28 +01:00 committed by GitHub
parent a5077cbc6b
commit 676cee2947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()],