@libp2p/webrtc 5.0.12 → 5.0.13-4521cf1f7
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -4
- package/dist/index.min.js +4 -4
- package/dist/src/index.d.ts +5 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -4
- package/dist/src/index.js.map +1 -1
- package/package.json +12 -12
- package/src/index.ts +5 -4
- package/dist/typedoc-urls.json +0 -12
package/README.md
CHANGED
@@ -97,14 +97,15 @@ const relay = await createLibp2p({
|
|
97
97
|
// WebRTC connections
|
98
98
|
const listener = await createLibp2p({
|
99
99
|
addresses: {
|
100
|
-
|
100
|
+
listen: [
|
101
|
+
'/p2p-circuit',
|
102
|
+
'/webrtc'
|
103
|
+
]
|
101
104
|
},
|
102
105
|
transports: [
|
103
106
|
webSockets({filter: filters.all}),
|
104
107
|
webRTC(),
|
105
|
-
circuitRelayTransport(
|
106
|
-
discoverRelays: 1
|
107
|
-
})
|
108
|
+
circuitRelayTransport()
|
108
109
|
],
|
109
110
|
connectionEncrypters: [noise()],
|
110
111
|
streamMuxers: [yamux()],
|