Skip to content

recordFromTransaction

function recordFromTransaction(tx, options?): LedgerRecord;

Defined in: ledger.ts:125

Build a self-contained LedgerRecord from a committed (or in-flight) transaction. Ops and meta are deep-cloned to JSON so the record never aliases live editor state, and touches is resolved once against the base document the transaction was authored against.

ParameterType
txTransaction
optionsRecordFromTransactionOptions

LedgerRecord