Hyperlinkv0.8.0-beta.28

QueueHyperlink

QueueHyperlink.withSchemaVersionconstsrc/internal/queueHyperlink.ts:249
<S extends Schema.Top>(schema: S, version: number): S["Rebuild"]

Stamp an item schema with its version. Bump it on any breaking change to the item shape; evolve additively within a version (so a newer receiver still accepts same-version entries from an older sender). The version flows into makeQueueItemCodecDescriptor's id (…/item@vN) and version, making every released/handoff entry self-describing.

export const withSchemaVersion = <S extends Schema.Top>(
  schema: S,
  version: number,
): S["Rebuild"] => schema.annotate({ schemaVersion: version });