How to use the @sanity/transaction-collator.transactionsToEvents function in @sanity/transaction-collator

To help you get started, we’ve selected a few @sanity/transaction-collator examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sanity-io / sanity / packages / @sanity / base / src / datastores / history / createHistoryStore.js View on Github external
map(transactions =>
      transactionsToEvents(pairs, Object.keys(transactions).map(key => transactions[key])).reverse()
    )

@sanity/transaction-collator

Collate events from a series of transactions

MIT
Latest version published 2 years ago

Package Health Score

75 / 100
Full package analysis

Popular @sanity/transaction-collator functions