README.md
# @pneumo/protocol Shared contract for the server, web app, service worker and Android fixture tests. The normative shapes are in `docs/SPEC.md` §§5–6, 8–11 and 12.3. This package implements no HTTP transport, WebSocket transport or encryption. Every schema below also exports a same-name TypeScript type inferred with `z.infer`. Object schemas strip unknown fields, including nested objects. ## Exported API | Export | Contract | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `B64u` | Canonical unpadded base64url, including zero unused bits; the empty byte string is valid. | | `Uuidv7`, `IsoTimestamp`, `HttpUrl` | Lowercase canonical UUIDv7; UTC timestamp with exactly three fractional digits; absolute HTTP(S) URL without whitespace. | | `KdfParams` …