Skip to content

PreparedKeychainAddition

Defined in: packages/core/src/keychain.ts:303

KeychainChange

DocumentKey

readonly changes: KeychainChange

Defined in: packages/core/src/keychain.ts:279

Delta suitable for an already-synchronized keychain.

PreparedKeychainEpoch.changes


readonly currentKeyChange: KeychainChange | undefined

Defined in: packages/core/src/keychain.ts:289

Standalone staged current-key-only state. Implementations MUST make this projection replay-safe and byte-stable for the same logical key tuple across repeated calls, restored instances, and equivalent replicas. undefined means callers that require current-only distribution must fail closed.

PreparedKeychainEpoch.currentKeyChange


readonly history: KeychainChange

Defined in: packages/core/src/keychain.ts:281

Standalone full staged keychain history.

PreparedKeychainEpoch.history


readonly key: DocumentKey

Defined in: packages/core/src/keychain.ts:308

Generated document key installed by commit().


readonly keyId: Uint8Array

Defined in: packages/core/src/keychain.ts:306

Detached full-width ID of the staged random key.

claimCommit(): PreparedCommitClaim

Defined in: packages/core/src/keychain.ts:298

Claim the staged revision without changing the live keychain.

The method and returned finalizer have the same composed-commit contract as PreparedACLChange.claimCommit(). Workflows spanning providers must compose claims instead of sequencing independently fallible commit() calls.

PreparedCommitClaim

PreparedKeychainEpoch.claimCommit


commit(): void

Defined in: packages/core/src/keychain.ts:300

Synchronous, single-use, atomic live-state commit.

void

PreparedKeychainEpoch.commit