Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/bindings-typescript/src/sdk/db_connection_impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ export class DbConnectionImpl<RemoteModule extends UntypedRemoteModule>
case 'TransactionUpdate': {
const event: Event<never> = {
id: this.#nextEventId(),
tag: 'UnknownTransaction',
tag: 'Transaction',
};
const eventContext = this.#makeEventContext(event);
const callbacks = this.#applyTransactionUpdates(
Expand Down Expand Up @@ -777,7 +777,7 @@ export class DbConnectionImpl<RemoteModule extends UntypedRemoteModule>
}
: {
id: eventId,
tag: 'UnknownTransaction',
tag: 'Transaction',
};
const eventContext = this.#makeEventContext(event as any);

Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-typescript/src/sdk/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export type Event<Reducer extends ReducerEventInfo> = WithId &
| { tag: 'SubscribeApplied' }
| { tag: 'UnsubscribeApplied' }
| { tag: 'Error'; value: Error }
| { tag: 'UnknownTransaction' }
| { tag: 'Transaction' }
);
Loading