@rocicorp/zero 0.20.2025051500 → 0.20.2025051501

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.
Files changed (33) hide show
  1. package/out/{chunk-NBO4AFCN.js → chunk-A64L6YZK.js} +7 -5
  2. package/out/{chunk-NBO4AFCN.js.map → chunk-A64L6YZK.js.map} +2 -2
  3. package/out/{chunk-5JVWRUNF.js → chunk-P3G5C3ZW.js} +10 -1
  4. package/out/chunk-P3G5C3ZW.js.map +7 -0
  5. package/out/{inspector-4XYVO6Q2.js → inspector-B2ZMZ35Y.js} +2 -2
  6. package/out/shared/src/iterables.d.ts +1 -0
  7. package/out/shared/src/iterables.d.ts.map +1 -1
  8. package/out/shared/src/iterables.js +8 -0
  9. package/out/shared/src/iterables.js.map +1 -1
  10. package/out/solid.js +2 -2
  11. package/out/zero-cache/src/config/zero-config.d.ts +0 -8
  12. package/out/zero-cache/src/config/zero-config.d.ts.map +1 -1
  13. package/out/zero-cache/src/config/zero-config.js +3 -11
  14. package/out/zero-cache/src/config/zero-config.js.map +1 -1
  15. package/out/zero-cache/src/db/pg-copy.d.ts +26 -0
  16. package/out/zero-cache/src/db/pg-copy.d.ts.map +1 -0
  17. package/out/zero-cache/src/db/pg-copy.js +115 -0
  18. package/out/zero-cache/src/db/pg-copy.js.map +1 -0
  19. package/out/zero-cache/src/services/change-source/pg/initial-sync.d.ts +0 -1
  20. package/out/zero-cache/src/services/change-source/pg/initial-sync.d.ts.map +1 -1
  21. package/out/zero-cache/src/services/change-source/pg/initial-sync.js +54 -55
  22. package/out/zero-cache/src/services/change-source/pg/initial-sync.js.map +1 -1
  23. package/out/zero-cache/src/types/lite.d.ts +3 -2
  24. package/out/zero-cache/src/types/lite.d.ts.map +1 -1
  25. package/out/zero-cache/src/types/lite.js +3 -2
  26. package/out/zero-cache/src/types/lite.js.map +1 -1
  27. package/out/zero.js +2 -2
  28. package/out/zql/src/ivm/memory-source.d.ts.map +1 -1
  29. package/out/zql/src/ivm/memory-source.js +3 -1
  30. package/out/zql/src/ivm/memory-source.js.map +1 -1
  31. package/package.json +1 -1
  32. package/out/chunk-5JVWRUNF.js.map +0 -7
  33. /package/out/{inspector-4XYVO6Q2.js.map → inspector-B2ZMZ35Y.js.map} +0 -0
@@ -67,6 +67,7 @@ import {
67
67
  newRandomHash,
68
68
  newWriteLocal,
69
69
  newWriteSnapshotDD31,
70
+ once,
70
71
  primaryKeySchema,
71
72
  primaryKeyValueRecordSchema,
72
73
  readFromDefaultHead,
@@ -86,7 +87,7 @@ import {
86
87
  withWrite,
87
88
  withWriteNoImplicitCommit,
88
89
  wrapIterable
89
- } from "./chunk-5JVWRUNF.js";
90
+ } from "./chunk-P3G5C3ZW.js";
90
91
  import {
91
92
  AbstractQuery,
92
93
  ExpressionBuilder,
@@ -7305,9 +7306,10 @@ var MemorySource = class _MemorySource {
7305
7306
  } else {
7306
7307
  scanStart = startAt;
7307
7308
  }
7309
+ const rowsIterable = generateRows(data, scanStart, req.reverse);
7308
7310
  const withOverlay = generateWithOverlay(
7309
7311
  startAt,
7310
- generateRows(data, scanStart, req.reverse),
7312
+ pkConstraint ? once(rowsIterable) : rowsIterable,
7311
7313
  req.constraint,
7312
7314
  this.#overlay,
7313
7315
  this.#splitEditOverlay,
@@ -8525,7 +8527,7 @@ function makeMessage(message, context, logLevel) {
8525
8527
  }
8526
8528
 
8527
8529
  // ../zero-client/src/client/version.ts
8528
- var version2 = "0.20.2025051500";
8530
+ var version2 = "0.20.2025051501";
8529
8531
 
8530
8532
  // ../zero-client/src/client/log-options.ts
8531
8533
  var LevelFilterLogSink = class {
@@ -11006,7 +11008,7 @@ var Zero = class {
11006
11008
  */
11007
11009
  async inspect() {
11008
11010
  BUNDLE_SIZE: {
11009
- const m = await import("./inspector-4XYVO6Q2.js");
11011
+ const m = await import("./inspector-B2ZMZ35Y.js");
11010
11012
  return m.newInspector(this.#rep, this.#schema, async () => {
11011
11013
  await this.#connectResolver.promise;
11012
11014
  return this.#socket;
@@ -11133,4 +11135,4 @@ export {
11133
11135
  update_needed_reason_type_enum_exports,
11134
11136
  Zero
11135
11137
  };
11136
- //# sourceMappingURL=chunk-NBO4AFCN.js.map
11138
+ //# sourceMappingURL=chunk-A64L6YZK.js.map