@libp2p/webrtc 5.0.12-5d199f9b6 → 5.0.13-4521cf1f7

Sign up to get free protection for your applications and to get access to all the features.
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
- listen: ['/webrtc']
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()],