@johnhenry/wsh 0.5.0 → 0.6.0
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/package.json +1 -1
- package/src/index.d.ts +0 -3
- package/src/messages.gen.mjs +0 -5
- package/src/transport-ws.mjs +3 -7
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/messages.gen.mjs
CHANGED
package/src/transport-ws.mjs
CHANGED
|
@@ -20,13 +20,9 @@ import { WshTransport, dispatchSerially, SerialQueue } from './transport.mjs';
|
|
|
20
20
|
|
|
21
21
|
// ── Frame type constants ─────────────────────────────────────────────
|
|
22
22
|
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
// message enum by spec/codegen.mjs) — it is never sent as the outer
|
|
27
|
-
// envelope's frame-type byte below. See spec/wsh-v1.yaml's
|
|
28
|
-
// `transport.websocket` section for the authoritative outer-envelope
|
|
29
|
-
// framing docs.
|
|
23
|
+
// Unrelated to the CBOR-layer MSG opcodes (messages.gen.mjs) -- these are
|
|
24
|
+
// the outer envelope's frame-type byte. See spec/wsh-v1.yaml's
|
|
25
|
+
// `transport.websocket` section for the authoritative framing docs.
|
|
30
26
|
|
|
31
27
|
const FRAME_CONTROL = 0x01;
|
|
32
28
|
const FRAME_DATA = 0x02;
|