@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 +4 -4
- package/dist/index.min.js +4 -4
- package/dist/src/index.d.ts +4 -4
- package/dist/src/index.js +4 -4
- package/dist/src/private-to-private/initiate-connection.d.ts.map +1 -1
- package/dist/src/private-to-private/initiate-connection.js +2 -1
- package/dist/src/private-to-private/initiate-connection.js.map +1 -1
- package/dist/src/private-to-private/signaling-stream-handler.d.ts.map +1 -1
- package/dist/src/private-to-private/signaling-stream-handler.js +2 -1
- package/dist/src/private-to-private/signaling-stream-handler.js.map +1 -1
- package/package.json +13 -13
- package/src/index.ts +4 -4
- package/src/private-to-private/initiate-connection.ts +3 -1
- package/src/private-to-private/signaling-stream-handler.ts +3 -1
package/README.md
CHANGED
@@ -84,7 +84,7 @@ const relay = await createLibp2p({
|
|
84
84
|
transports: [
|
85
85
|
webSockets({filter: filters.all})
|
86
86
|
],
|
87
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
192
|
+
connectionEncrypters: [
|
193
193
|
noise()
|
194
194
|
]
|
195
195
|
})
|