Skip to content

PreparedKeychainAddition

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

KeychainChange

DocumentKey

readonly changes: KeychainChange

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

Delta suitable for an already-synchronized keychain.

PreparedKeychainEpoch.changes


readonly currentKeyChange: KeychainChange | undefined

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

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:282

Standalone full staged keychain history.

PreparedKeychainEpoch.history


readonly key: DocumentKey

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

Generated document key installed by commit().


readonly keyId: Uint8Array

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

Detached full-width ID of the staged random key.

claimCommit(): PreparedCommitClaim

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

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:301

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

void

PreparedKeychainEpoch.commit