changeEnvelopeCodec()
Stable JSON codec for D82 change envelopes, with strict framing checks.
Import
Section titled “Import”import { changeEnvelopeCodec } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function changeEnvelopeCodec(): Codec<ChangeEnvelope<T>>Returns
Section titled “Returns”A Codec<ChangeEnvelope<T>> value.
Example
Section titled “Example”import { changeEnvelopeCodec } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/change.ts