PreparedKeychainAddition
Defined in: packages/core/src/keychain.ts:304
Extends
Section titled “Extends”PreparedKeychainEpoch<KeychainChange>
Type Parameters
Section titled “Type Parameters”KeychainChange
Section titled “KeychainChange”KeychainChange
DocumentKey
Section titled “DocumentKey”DocumentKey
Properties
Section titled “Properties”changes
Section titled “changes”
readonlychanges:KeychainChange
Defined in: packages/core/src/keychain.ts:280
Delta suitable for an already-synchronized keychain.
Inherited from
Section titled “Inherited from”currentKeyChange
Section titled “currentKeyChange”
readonlycurrentKeyChange: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.
Inherited from
Section titled “Inherited from”PreparedKeychainEpoch.currentKeyChange
history
Section titled “history”
readonlyhistory:KeychainChange
Defined in: packages/core/src/keychain.ts:282
Standalone full staged keychain history.
Inherited from
Section titled “Inherited from”
readonlykey:DocumentKey
Defined in: packages/core/src/keychain.ts:309
Generated document key installed by commit().
readonlykeyId:Uint8Array
Defined in: packages/core/src/keychain.ts:307
Detached full-width ID of the staged random key.
Methods
Section titled “Methods”claimCommit()
Section titled “claimCommit()”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.
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”PreparedKeychainEpoch.claimCommit
commit()
Section titled “commit()”commit():
void
Defined in: packages/core/src/keychain.ts:301
Synchronous, single-use, atomic live-state commit.
Returns
Section titled “Returns”void