Skip to content

Commit

Permalink
docs: change listener to dialler in webrtc example (#2447)
Browse files Browse the repository at this point in the history
Change listener to dialer in webrtc example
  • Loading branch information
dozyio authored Mar 28, 2024
1 parent bf720c0 commit a19a261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/transport-webrtc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ while (true) {
await delay(1000)
}

// the listener has Circuit Relay, WebSocket and WebRTC transports to dial
// the dialer has Circuit Relay, WebSocket and WebRTC transports to dial
// the listener via the relay, complete the SDP handshake and establish a
// direct WebRTC connection
const dialer = await createLibp2p({
Expand Down
2 changes: 1 addition & 1 deletion packages/transport-webrtc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
* await delay(1000)
* }
*
* // the listener has Circuit Relay, WebSocket and WebRTC transports to dial
* // the dialer has Circuit Relay, WebSocket and WebRTC transports to dial
* // the listener via the relay, complete the SDP handshake and establish a
* // direct WebRTC connection
* const dialer = await createLibp2p({
Expand Down

0 comments on commit a19a261

Please # to comment.