@pgxsinkit/client 0.5.2 → 0.6.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,14 +20,15 @@ export function assertStoreBuild(declared: StorageBuild, supplied: BuildIdentity
20
20
 
21
21
  /**
22
22
  * The typed build refusals (ADR-0063): the declared build is not the supplied one, or the data directory or
23
- * backup was made by another build or data format, or its marker is unreadable. Matched by `name`, which is
24
- * stable across bundle copies and the worker bridge. None of them is transient, so an open that failed with
25
- * one is never retried.
23
+ * backup was made by another build, data format or PostgreSQL major, or its marker is unreadable. Matched
24
+ * by `name`, which is stable across bundle copies and the worker bridge. None of them is transient, so an
25
+ * open that failed with one is never retried.
26
26
  */
27
27
  const STORE_BUILD_REFUSALS: ReadonlySet<string> = new Set([
28
28
  "StorageBuildMismatchError",
29
29
  "BuildMismatchError",
30
30
  "DataFormatMismatchError",
31
+ "PostgresVersionMismatchError",
31
32
  "BuildMarkerUnreadableError",
32
33
  ]);
33
34
 
package/src/sync/types.ts CHANGED
@@ -3,7 +3,8 @@
3
3
  //
4
4
  // What remains here is only what the NATIVE path uses. The shape-stream option and message types this
5
5
  // file used to re-export were `@electric-sql/client`'s, and nothing reads them any more: the transport
6
- // is `@durable-streams/client` and the change contract is `@pgxsinkit/contracts`' `SyncChange`.
6
+ // is pgxsinkit's own stream reader (`circuits/stream-source.ts`) and the change contract is
7
+ // `@pgxsinkit/contracts`' `SyncChange`.
7
8
 
8
9
  import type { SyncChange } from "@pgxsinkit/contracts";
9
10