@libp2p/webrtc 5.0.13 → 5.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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()],