From 46044f5e2d062062121c35bf4aca42500a1cf06d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:13:05 -0500 Subject: [PATCH 01/18] spelling: associated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/sw.js | 2 +- web/sw.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/sw.js b/web/sw.js index 28381d6..7cdc19c 100644 --- a/web/sw.js +++ b/web/sw.js @@ -5,7 +5,7 @@ // Workaround to tell TypeScript about the correct type of a ServiceWorker. const sw = self; // There can be multiple clients (pages) receiving files, so they generate an id -// and here we store info assosiated with each transfer. +// and here we store info associated with each transfer. const streams = new Map(); class Stream { constructor(name, size, filetype) { diff --git a/web/sw.ts b/web/sw.ts index 3270658..eebb5c4 100644 --- a/web/sw.ts +++ b/web/sw.ts @@ -6,7 +6,7 @@ const sw = self as ServiceWorkerGlobalScope & typeof globalThis; // There can be multiple clients (pages) receiving files, so they generate an id -// and here we store info assosiated with each transfer. +// and here we store info associated with each transfer. const streams = new Map(); class Stream { From 0477dfbaa02c92f5c03c231971d1552ef877bf71 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:15:47 -0500 Subject: [PATCH 02/18] spelling: chrome Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/sw.js | 2 +- web/sw.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/sw.js b/web/sw.js index 7cdc19c..0393ece 100644 --- a/web/sw.js +++ b/web/sw.js @@ -125,7 +125,7 @@ async function streamUpload(e) { return; } // ReadableStream is transferable on Chrome at the time of writing. Since Share - // Target also only works on Chome, we can use this and avoid the complexity of + // Target also only works on Chrome, we can use this and avoid the complexity of // chunking over postMessage (like we do with downloads) or having to read the // whole file into memory. // TypeScript doesn't know that ReadableStream is transferable, hence body as diff --git a/web/sw.ts b/web/sw.ts index eebb5c4..9ada678 100644 --- a/web/sw.ts +++ b/web/sw.ts @@ -158,7 +158,7 @@ async function streamUpload(e: FetchEvent) { } // ReadableStream is transferable on Chrome at the time of writing. Since Share - // Target also only works on Chome, we can use this and avoid the complexity of + // Target also only works on Chrome, we can use this and avoid the complexity of // chunking over postMessage (like we do with downloads) or having to read the // whole file into memory. // TypeScript doesn't know that ReadableStream is transferable, hence body as From 3de694f21d5f684d5d4bf391b2f583d69af2e725 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:15:56 -0500 Subject: [PATCH 03/18] spelling: clearly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/main.js | 2 +- web/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/main.js b/web/main.js index 82d8a17..3ef12bb 100644 --- a/web/main.js +++ b/web/main.js @@ -708,7 +708,7 @@ async function init() { transfersList = document.getElementById("transfers"); infoBox = document.getElementById("info"); autocompleteBox = document.getElementById("autocomplete"); - // Friendly error message and bail out if things are clearely not going to work. + // Friendly error message and bail out if things are clearly not going to work. if (hacks.browserunsupported) { infoBox.innerText = "Browser missing required feature. This application needs support for WebSockets, WebRTC, and WebAssembly."; diff --git a/web/main.ts b/web/main.ts index d8f268e..d6f48c3 100644 --- a/web/main.ts +++ b/web/main.ts @@ -883,7 +883,7 @@ async function init() { infoBox = document.getElementById("info") as HTMLElement; autocompleteBox = document.getElementById("autocomplete") as HTMLElement; - // Friendly error message and bail out if things are clearely not going to work. + // Friendly error message and bail out if things are clearly not going to work. if (hacks.browserunsupported) { infoBox.innerText = "Browser missing required feature. This application needs support for WebSockets, WebRTC, and WebAssembly."; From 39b2544dd5bd8f885ba067b3033fd29071ec91f2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 10:17:30 -0500 Subject: [PATCH 04/18] spelling: confidence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/ww.js | 2 +- web/ww.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ww.js b/web/ww.js index 9b4be54..b131a88 100644 --- a/web/ww.js +++ b/web/ww.js @@ -241,7 +241,7 @@ class Wormhole { const stats = await this.pc.getStats(); let id; stats.forEach((s) => { - // s.selected gives more confidenece than s.state == "succeeded", but Chrome does + // s.selected gives more confidence than s.state == "succeeded", but Chrome does // not implement it. if (s.type === "candidate-pair" && s.state === "succeeded") { diff --git a/web/ww.ts b/web/ww.ts index b8827d0..a5f46a2 100644 --- a/web/ww.ts +++ b/web/ww.ts @@ -314,7 +314,7 @@ class Wormhole { let id: string | undefined; stats.forEach((s) => { - // s.selected gives more confidenece than s.state == "succeeded", but Chrome does + // s.selected gives more confidence than s.state == "succeeded", but Chrome does // not implement it. if ( s.type === "candidate-pair" && From b1221768714a5c7bb7d3628f2e7d2405aba31846 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 10:27:25 -0500 Subject: [PATCH 05/18] spelling: data-url Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/main.js | 2 +- web/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/main.js b/web/main.js index 3ef12bb..7b023d4 100644 --- a/web/main.js +++ b/web/main.js @@ -619,7 +619,7 @@ function browserhacks() { if (/^Mozilla\/5.0 \(iPhone; CPU iPhone OS 12_[0-9]_[0-9] like Mac OS X\)/.test(navigator.userAgent)) { hacks.noblob = true; hacks.nosw = true; - console.log("quirks: using ios12 dataurl hack"); + console.log("quirks: using ios12 data-url hack"); } // Work around iOS trying to connect when the link is previewed. // You never saw this. diff --git a/web/main.ts b/web/main.ts index d6f48c3..d63c860 100644 --- a/web/main.ts +++ b/web/main.ts @@ -771,7 +771,7 @@ function browserhacks() { ) { hacks.noblob = true; hacks.nosw = true; - console.log("quirks: using ios12 dataurl hack"); + console.log("quirks: using ios12 data-url hack"); } // Work around iOS trying to connect when the link is previewed. From b3fd257d34d7e74cbb5bdbe9f3c0d1cbb5974b6b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:24:59 -0500 Subject: [PATCH 06/18] spelling: encoders Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- wordlist/wordlist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordlist/wordlist.go b/wordlist/wordlist.go index 21784d6..7fe7787 100644 --- a/wordlist/wordlist.go +++ b/wordlist/wordlist.go @@ -1,4 +1,4 @@ -// Package wordlist provides a encoders and a decoder for WebWormhole codes. +// Package wordlist provides encoders and a decoder for WebWormhole codes. package wordlist import ( From e488b1ea7538ca0aa3f096e95490bd2e0f0d3754 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:17:10 -0500 Subject: [PATCH 07/18] spelling: establish Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- wormhole/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wormhole/dial.go b/wormhole/dial.go index 418d308..f7ee5ea 100644 --- a/wormhole/dial.go +++ b/wormhole/dial.go @@ -8,7 +8,7 @@ // (https://tools.ietf.org/html/rfc5763). // // This package removes the signalling server from the trust model by using a -// PAKE to estabish the authenticity of the WebRTC metadata. In other words, +// PAKE to establish the authenticity of the WebRTC metadata. In other words, // it's a clone of Magic Wormhole made to use WebRTC as the transport. // // The protocol requires a signalling server that facilitates exchanging From 54778f223906aaf04fde5b112be5e6112e4c4f2d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:26:00 -0500 Subject: [PATCH 08/18] spelling: fall back Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- wordlist/wordlist_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordlist/wordlist_test.go b/wordlist/wordlist_test.go index 36fec65..f6393fd 100644 --- a/wordlist/wordlist_test.go +++ b/wordlist/wordlist_test.go @@ -47,7 +47,7 @@ func TestMatch(t *testing.T) { {"zo", "zone"}, {"acre-b", ""}, {"zz", ""}, - {"snaps", "snapshot"}, // fallback to gpg words + {"snaps", "snapshot"}, // fall back to gpg words } for i, c := range cases { if hint := Match(c.prefix); hint != c.word { From 1427b0961ca51d80d94dd72302700222301803e3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:17:48 -0500 Subject: [PATCH 09/18] spelling: including Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- wormhole/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wormhole/dial.go b/wormhole/dial.go index f7ee5ea..3add89e 100644 --- a/wormhole/dial.go +++ b/wormhole/dial.go @@ -255,7 +255,7 @@ func writeBase64(ws *websocket.Conn, p []byte) error { } // readInitMsg reads the first message the signalling server sends over -// the WebSocket connection, which has metadata includign assigned slot +// the WebSocket connection, which has metadata including assigned slot // and ICE servers to use. func readInitMsg(ws *websocket.Conn) (slot string, iceServers []webrtc.ICEServer, err error) { msg := struct { From 6f613ebb5dc8ae46240700f03936b835c96bcb74 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:17:55 -0500 Subject: [PATCH 10/18] spelling: incompatible Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cmd/ww/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ww/main.go b/cmd/ww/main.go index a1b96f4..e53dcb0 100644 --- a/cmd/ww/main.go +++ b/cmd/ww/main.go @@ -81,7 +81,7 @@ func newConn(code string, length int) *wormhole.Wormhole { if err == wormhole.ErrBadVersion { fatalf( "%s%s%s", - "the signalling server is running an incompatable version.\n", + "the signalling server is running an incompatible version.\n", "try upgrading the client:\n\n", " go install webwormhole.io/cmd/ww@latest\n", ) @@ -114,7 +114,7 @@ func newConn(code string, length int) *wormhole.Wormhole { if err == wormhole.ErrBadVersion { fatalf( "%s%s%s", - "the signalling server is running an incompatable version.\n", + "the signalling server is running an incompatible version.\n", "try upgrading the client:\n\n", " go install webwormhole.io/cmd/ww@latest\n", ) From d77031ec4d6e27e3578574b34de9f4ae867b08f8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:24:38 -0500 Subject: [PATCH 11/18] spelling: interchangeable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- wordlist/wordlist.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wordlist/wordlist.go b/wordlist/wordlist.go index 7fe7787..6e7849a 100644 --- a/wordlist/wordlist.go +++ b/wordlist/wordlist.go @@ -71,7 +71,7 @@ func (octalEncoding) Encode(slot int, pass []byte) string { } func (octalEncoding) Decode(code string) (slot int, pass []byte) { - // White space and - are interchangable. + // White space and - are interchangeable. code = strings.ReplaceAll(code, "-", " ") // Space can turn into + in URLs. code = strings.ReplaceAll(code, "+", " ") @@ -124,7 +124,7 @@ func (list varintEncoding) Encode(slot int, pass []byte) string { } func (list varintEncoding) Decode(code string) (slot int, pass []byte) { - // White space and - are interchangable. + // White space and - are interchangeable. code = strings.ReplaceAll(code, "-", " ") // Space can turn into + in URLs. code = strings.ReplaceAll(code, "+", " ") @@ -169,7 +169,7 @@ func (list magicWormholeEncoding) Encode(slot int, pass []byte) string { } func (list magicWormholeEncoding) Decode(code string) (slot int, pass []byte) { - // White space and - are interchangable. + // White space and - are interchangeable. code = strings.ReplaceAll(code, "-", " ") // Space can turn into + in URLs. code = strings.ReplaceAll(code, "+", " ") From 777be26596760a9366383db097d6e4141ed8b5c2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:18:30 -0500 Subject: [PATCH 12/18] spelling: not Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/ww.js | 2 +- web/ww.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ww.js b/web/ww.js index b131a88..43fb159 100644 --- a/web/ww.js +++ b/web/ww.js @@ -67,7 +67,7 @@ class Wormhole { this.callback(this.pc); const msgA = webwormhole.start(this.pass); if (!msgA) { - return this.fail("could nnt generate A's PAKE message"); + return this.fail("could not generate A's PAKE message"); } console.log("message a:", msgA); this.ws.send(msgA); diff --git a/web/ww.ts b/web/ww.ts index a5f46a2..3f8212f 100644 --- a/web/ww.ts +++ b/web/ww.ts @@ -112,7 +112,7 @@ class Wormhole { this.callback(this.pc); const msgA = webwormhole.start(this.pass); if (!msgA) { - return this.fail("could nnt generate A's PAKE message"); + return this.fail("could not generate A's PAKE message"); } console.log("message a:", msgA); this.ws.send(msgA); From d1f3540a3b824cf38b850166780cf35f076ae7de Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:22:07 -0500 Subject: [PATCH 13/18] spelling: one Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/main.js | 2 +- web/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/main.js b/web/main.js index 7b023d4..178567f 100644 --- a/web/main.js +++ b/web/main.js @@ -422,7 +422,7 @@ async function connect() { }; }; const fingerprint = await w.dial(); - // To make it more likely to spot the 1 in 2^16 chance of a successful + // To make it more likely to spot the one in 2^16 chance of a successful // MITM password guess, we can compare a fingerprint derived from the PAKE // key. The 7 words visible on the tooltip of the input box should match on // both side. diff --git a/web/main.ts b/web/main.ts index d63c860..4310464 100644 --- a/web/main.ts +++ b/web/main.ts @@ -543,7 +543,7 @@ async function connect() { const fingerprint = await w.dial(); - // To make it more likely to spot the 1 in 2^16 chance of a successful + // To make it more likely to spot the one in 2^16 chance of a successful // MITM password guess, we can compare a fingerprint derived from the PAKE // key. The 7 words visible on the tooltip of the input box should match on // both side. From 8ac0df92ba2d252e43d6373aeac914a5bee9c655 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:19:16 -0500 Subject: [PATCH 14/18] spelling: receive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cmd/ww/pipe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ww/pipe.go b/cmd/ww/pipe.go index 7e64e33..717e264 100644 --- a/cmd/ww/pipe.go +++ b/cmd/ww/pipe.go @@ -25,7 +25,7 @@ func pipe(args ...string) { c := newConn(set.Arg(0), *length) done := make(chan struct{}) - // The recieve end of the pipe. + // The receive end of the pipe. go func() { _, err := io.CopyBuffer(os.Stdout, c, make([]byte, msgChunkSize)) if err != nil { From 8c71ab7857724568decf2af707cfadf93d84c277 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:21:45 -0500 Subject: [PATCH 15/18] spelling: seven Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cmd/ww/server.go | 2 +- web/main.js | 2 +- web/main.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ww/server.go b/cmd/ww/server.go index 3b2ce66..6b5e603 100644 --- a/cmd/ww/server.go +++ b/cmd/ww/server.go @@ -107,7 +107,7 @@ var stunServers []webrtc.ICEServer // freeslot tries to find an available numeric slot, favouring smaller numbers. // This assume slots is locked. func freeslot() (slot string, ok bool) { - // Assuming varint encoding, we first try for one byte. That's 7 bits in varint. + // Assuming varint encoding, we first try for one byte. That's seven bits in varint. for i := 0; i < 64; i++ { s := strconv.Itoa(rand.Intn(1 << 7)) if _, ok := slots.m[s]; !ok { diff --git a/web/main.js b/web/main.js index 178567f..ebe5cd1 100644 --- a/web/main.js +++ b/web/main.js @@ -424,7 +424,7 @@ async function connect() { const fingerprint = await w.dial(); // To make it more likely to spot the one in 2^16 chance of a successful // MITM password guess, we can compare a fingerprint derived from the PAKE - // key. The 7 words visible on the tooltip of the input box should match on + // key. The seven words visible on the tooltip of the input box should match on // both side. // We also use the first 3 bits of it to choose the background colour, so // that should match on both sides as well. diff --git a/web/main.ts b/web/main.ts index 4310464..4dba111 100644 --- a/web/main.ts +++ b/web/main.ts @@ -545,7 +545,7 @@ async function connect() { // To make it more likely to spot the one in 2^16 chance of a successful // MITM password guess, we can compare a fingerprint derived from the PAKE - // key. The 7 words visible on the tooltip of the input box should match on + // key. The seven words visible on the tooltip of the input box should match on // both side. // We also use the first 3 bits of it to choose the background colour, so // that should match on both sides as well. From 98859134ce00c593162b50e56fdd82f5aa70b1ec Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:25:52 -0500 Subject: [PATCH 16/18] spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cmd/ww/server.go | 2 +- wormhole/dial.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ww/server.go b/cmd/ww/server.go index 6b5e603..3c77028 100644 --- a/cmd/ww/server.go +++ b/cmd/ww/server.go @@ -29,7 +29,7 @@ import ( "webwormhole.io/wormhole" ) -// slotTimeout is the the maximum amount of time a client is allowed to +// slotTimeout is the maximum amount of time a client is allowed to // hold a slot. const slotTimeout = 12 * time.Hour diff --git a/wormhole/dial.go b/wormhole/dial.go index 3add89e..31d5579 100644 --- a/wormhole/dial.go +++ b/wormhole/dial.go @@ -99,7 +99,7 @@ var ( // version of the signalling protocol. ErrBadVersion = errors.New("bad version") - // ErrBadVersion is returned when the the peer on the same slot uses a different + // ErrBadVersion is returned when the peer on the same slot uses a different // password. ErrBadKey = errors.New("bad key") From c8a2b136c26bda60fe0c7a82d0b9b5a819bbdedf Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:22:16 -0500 Subject: [PATCH 17/18] spelling: three Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- web/main.js | 2 +- web/main.ts | 2 +- web/ww.js | 2 +- web/ww.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/main.js b/web/main.js index ebe5cd1..78c41b5 100644 --- a/web/main.js +++ b/web/main.js @@ -426,7 +426,7 @@ async function connect() { // MITM password guess, we can compare a fingerprint derived from the PAKE // key. The seven words visible on the tooltip of the input box should match on // both side. - // We also use the first 3 bits of it to choose the background colour, so + // We also use the first three bits of it to choose the background colour, so // that should match on both sides as well. const encodedfp = webwormhole.encode(0, fingerprint.subarray(1)); phraseInput.title = encodedfp.substring(encodedfp.indexOf("-") + 1); diff --git a/web/main.ts b/web/main.ts index 4dba111..2f2146c 100644 --- a/web/main.ts +++ b/web/main.ts @@ -547,7 +547,7 @@ async function connect() { // MITM password guess, we can compare a fingerprint derived from the PAKE // key. The seven words visible on the tooltip of the input box should match on // both side. - // We also use the first 3 bits of it to choose the background colour, so + // We also use the first three bits of it to choose the background colour, so // that should match on both sides as well. const encodedfp = webwormhole.encode(0, fingerprint.subarray(1)); phraseInput.title = encodedfp.substring(encodedfp.indexOf("-") + 1); diff --git a/web/ww.js b/web/ww.js index 43fb159..7b367f1 100644 --- a/web/ww.js +++ b/web/ww.js @@ -32,7 +32,7 @@ class Wormhole { console.log("requesting slot"); this.state = this.statePlayer1; } - // There are 3 events that we need to synchronise with the caller on: + // There are three events that we need to synchronise with the caller on: // 1. we got the first message from the signalling server. // We now have the slot number and the ICE server details, so we can // create the wormhole code and PeerConnection object, and pass them back diff --git a/web/ww.ts b/web/ww.ts index 3f8212f..ebca385 100644 --- a/web/ww.ts +++ b/web/ww.ts @@ -71,7 +71,7 @@ class Wormhole { this.state = this.statePlayer1; } - // There are 3 events that we need to synchronise with the caller on: + // There are three events that we need to synchronise with the caller on: // 1. we got the first message from the signalling server. // We now have the slot number and the ICE server details, so we can // create the wormhole code and PeerConnection object, and pass them back From ef854722c0a8b97e73000044a72ea7f62d5b7d83 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 12 Nov 2025 08:26:12 -0500 Subject: [PATCH 18/18] spelling: whether or not Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- wormhole/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wormhole/dial.go b/wormhole/dial.go index 31d5579..03ccbe7 100644 --- a/wormhole/dial.go +++ b/wormhole/dial.go @@ -327,7 +327,7 @@ func (c *Wormhole) newPeerConnection(ice []webrtc.ICEServer) error { return nil } -// IsRelay returns whether this connection is over a TURN relay or not. +// IsRelay returns whether or not this connection is over a TURN relay. func (c *Wormhole) IsRelay() bool { stats := c.pc.GetStats() for _, s := range stats {