Defined in: packages/cas/src/artifact.ts:13
One artifact a store can address: the inputs of a knotkit/wire envelope,
without its magic and without its optional integrity section.
The store owns both of those. One store addresses one family, so the magic is a property of the store rather than of each artifact, and the store always writes the integrity section itself so no caller can choose a framing that would address the same content differently. An artifact is opaque beyond this: the store frames and hashes it, and never looks inside a section.
Properties
Section titled “Properties”payloadVersion
Section titled “payloadVersion”
readonlypayloadVersion:number
Defined in: packages/cas/src/artifact.ts:15
The owning package’s payload version, inside the shared envelope version.
packageHeader
Section titled “packageHeader”
readonlypackageHeader:Uint8Array
Defined in: packages/cas/src/artifact.ts:17
The owning package’s opaque header, up to 65,535 bytes.
sections
Section titled “sections”
readonlysections: readonlyWireSection[]
Defined in: packages/cas/src/artifact.ts:19
The owned opaque sections, at most 65,535 of them.