The version of the page↔worker message protocol spoken between
WorkerWebsocket and dist/shared-connection-worker.js. A SharedWorker can
outlive the pages that spawned it, so after a deploy a freshly loaded page
may attach to a worker from an older build (or vice versa). The version is
exchanged on _connect/_attach so that a mismatch fails loudly instead of
silently misbehaving.
The version of the page↔worker message protocol spoken between WorkerWebsocket and dist/shared-connection-worker.js. A SharedWorker can outlive the pages that spawned it, so after a deploy a freshly loaded page may attach to a worker from an older build (or vice versa). The version is exchanged on _connect/_attach so that a mismatch fails loudly instead of silently misbehaving.