From 61b35fb7eeac180b1ada5526b2e29a49832ecdfb Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Mon, 11 Aug 2025 09:23:23 +0100 Subject: [PATCH] export the AwaitTxIdFn from the electric-db-collection package --- .changeset/petite-cameras-pump.md | 5 +++++ packages/electric-db-collection/src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/petite-cameras-pump.md diff --git a/.changeset/petite-cameras-pump.md b/.changeset/petite-cameras-pump.md new file mode 100644 index 000000000..eb7485010 --- /dev/null +++ b/.changeset/petite-cameras-pump.md @@ -0,0 +1,5 @@ +--- +"@tanstack/electric-db-collection": patch +--- + +Export the `AwaitTxIdFn` type to ensure that building with types works correctly. diff --git a/packages/electric-db-collection/src/index.ts b/packages/electric-db-collection/src/index.ts index 3ea33db14..ac436bcf7 100644 --- a/packages/electric-db-collection/src/index.ts +++ b/packages/electric-db-collection/src/index.ts @@ -3,6 +3,7 @@ export { type ElectricCollectionConfig, type ElectricCollectionUtils, type Txid, + type AwaitTxIdFn, } from "./electric" export * from "./errors"