Closed sam-goodwin closed 1 year ago
Annoying that I have to check here that it is an insert when i filtered only those events
export const onTransactionCreate = Transaction.stream( "onTransactionCreate", { operations: ["insert"], }, async (item) => { if (item.operation === "insert") {} await TransactionCreated.emit({ transactionId: item. }); } );
Annoying that I have to check here that it is an insert when i filtered only those events