@libp2p/webrtc 4.1.10-df330695a → 4.1.10-e1ca9cced

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -84,7 +84,7 @@ const relay = await createLibp2p({
84
84
  transports: [
85
85
  webSockets({filter: filters.all})
86
86
  ],
87
- connectionEncryption: [noise()],
87
+ connectionEncrypters: [noise()],
88
88
  streamMuxers: [yamux()],
89
89
  services: {
90
90
  identify: identify(),
@@ -106,7 +106,7 @@ const listener = await createLibp2p({
106
106
  discoverRelays: 1
107
107
  })
108
108
  ],
109
- connectionEncryption: [noise()],
109
+ connectionEncrypters: [noise()],
110
110
  streamMuxers: [yamux()],
111
111
  services: {
112
112
  identify: identify(),
@@ -143,7 +143,7 @@ const dialer = await createLibp2p({
143
143
  webRTC(),
144
144
  circuitRelayTransport()
145
145
  ],
146
- connectionEncryption: [noise()],
146
+ connectionEncrypters: [noise()],
147
147
  streamMuxers: [yamux()],
148
148
  services: {
149
149
  identify: identify(),
@@ -189,7 +189,7 @@ const node = await createLibp2p({
189
189
  transports: [
190
190
  webRTCDirect()
191
191
  ],
192
- connectionEncryption: [
192
+ connectionEncrypters: [
193
193
  noise()
194
194
  ]
195
195
  })