Skip to content

API reference / @chanx-js/client / core / ENVELOPE_VERSION

Variable: ENVELOPE_VERSION ​

ts
const ENVELOPE_VERSION: 1 = 1;

Defined in: packages/client/src/core/protocol.ts:7

The chanx wire protocol, mirrored from chanx/constants.py and chanx/core/envelope.py. Generated clients cannot import chanx, so these values are duplicated by design; the conformance tests pin them to the server's own schema.

MIT licensed