@rocicorp/zero 0.19.2025041402 → 0.19.2025041500

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 (37) hide show
  1. package/out/{chunk-QONNL5HY.js → chunk-5D5DJXYQ.js} +7 -7
  2. package/out/{chunk-QONNL5HY.js.map → chunk-5D5DJXYQ.js.map} +2 -2
  3. package/out/solid.js +1 -1
  4. package/out/zero-cache/src/server/runner/run-worker.d.ts.map +1 -1
  5. package/out/zero-cache/src/server/runner/run-worker.js +2 -1
  6. package/out/zero-cache/src/server/runner/run-worker.js.map +1 -1
  7. package/out/zero-cache/src/server/runner/runtime.d.ts +1 -0
  8. package/out/zero-cache/src/server/runner/runtime.d.ts.map +1 -1
  9. package/out/zero-cache/src/server/runner/runtime.js +41 -1
  10. package/out/zero-cache/src/server/runner/runtime.js.map +1 -1
  11. package/out/zero-cache/src/server/syncer.d.ts.map +1 -1
  12. package/out/zero-cache/src/server/syncer.js +3 -1
  13. package/out/zero-cache/src/server/syncer.js.map +1 -1
  14. package/out/zero-cache/src/services/mutagen/pusher.d.ts +1 -1
  15. package/out/zero-cache/src/services/mutagen/pusher.d.ts.map +1 -1
  16. package/out/zero-cache/src/services/mutagen/pusher.js +5 -6
  17. package/out/zero-cache/src/services/mutagen/pusher.js.map +1 -1
  18. package/out/zero-cache/src/workers/syncer-ws-message-handler.d.ts +1 -1
  19. package/out/zero-cache/src/workers/syncer-ws-message-handler.d.ts.map +1 -1
  20. package/out/zero-cache/src/workers/syncer-ws-message-handler.js +2 -3
  21. package/out/zero-cache/src/workers/syncer-ws-message-handler.js.map +1 -1
  22. package/out/zero-cache/src/workers/syncer.d.ts +1 -1
  23. package/out/zero-cache/src/workers/syncer.d.ts.map +1 -1
  24. package/out/zero-cache/src/workers/syncer.js +4 -2
  25. package/out/zero-cache/src/workers/syncer.js.map +1 -1
  26. package/out/zero-client/src/client/options.d.ts +5 -4
  27. package/out/zero-client/src/client/options.d.ts.map +1 -1
  28. package/out/zero-client/src/client/zero.d.ts +2 -1
  29. package/out/zero-client/src/client/zero.d.ts.map +1 -1
  30. package/out/zero-protocol/src/connect.d.ts +3 -3
  31. package/out/zero-protocol/src/connect.js +1 -1
  32. package/out/zero-protocol/src/connect.js.map +1 -1
  33. package/out/zero-protocol/src/protocol-version.js +1 -1
  34. package/out/zero-protocol/src/protocol-version.js.map +1 -1
  35. package/out/zero-protocol/src/up.d.ts +1 -1
  36. package/out/zero.js +1 -1
  37. package/package.json +1 -1
@@ -6127,7 +6127,7 @@ var connectedMessageSchema = valita_exports.tuple([
6127
6127
  connectedBodySchema
6128
6128
  ]);
6129
6129
  var userPushParamsSchema = valita_exports.object({
6130
- url: valita_exports.string().optional()
6130
+ queryParams: valita_exports.record(valita_exports.string()).optional()
6131
6131
  });
6132
6132
  var initConnectionBodySchema = valita_exports.object({
6133
6133
  desiredQueriesPatch: queriesPatchSchema,
@@ -8415,7 +8415,7 @@ function makeMessage(message, context, logLevel) {
8415
8415
  }
8416
8416
 
8417
8417
  // ../zero-client/src/client/version.ts
8418
- var version2 = "0.19.2025041402";
8418
+ var version2 = "0.19.2025041500";
8419
8419
 
8420
8420
  // ../zero-client/src/client/log-options.ts
8421
8421
  var LevelFilterLogSink = class {
@@ -10293,7 +10293,7 @@ var Zero = class {
10293
10293
  // The clientSchema only needs to be sent for the very first request.
10294
10294
  // Henceforth it is stored with the CVR and verified automatically.
10295
10295
  ...this.#connectCookie === null ? { clientSchema } : {},
10296
- userPushParams: this.#options.pushURL ? { url: this.#options.pushURL } : void 0
10296
+ userPushParams: this.#options.push
10297
10297
  }
10298
10298
  ]);
10299
10299
  this.#deletedClients = void 0;
@@ -10368,7 +10368,7 @@ var Zero = class {
10368
10368
  wsid,
10369
10369
  this.#options.logLevel === "debug",
10370
10370
  l,
10371
- this.#options.pushURL,
10371
+ this.#options.push,
10372
10372
  this.#options.maxHeaderLength,
10373
10373
  additionalConnectParams
10374
10374
  );
@@ -10851,7 +10851,7 @@ var Zero = class {
10851
10851
  }
10852
10852
  }
10853
10853
  };
10854
- async function createSocket(rep, queryManager, deleteClientsManager, socketOrigin, baseCookie, clientID, clientGroupID, clientSchema, userID, auth, lmid, wsid, debugPerf, lc, pushURL, maxHeaderLength = 1024 * 8, additionalConnectParams) {
10854
+ async function createSocket(rep, queryManager, deleteClientsManager, socketOrigin, baseCookie, clientID, clientGroupID, clientSchema, userID, auth, lmid, wsid, debugPerf, lc, userPushParams, maxHeaderLength = 1024 * 8, additionalConnectParams) {
10855
10855
  const url = new URL(
10856
10856
  appendPath(socketOrigin, `/sync/v${PROTOCOL_VERSION}/connect`)
10857
10857
  );
@@ -10889,7 +10889,7 @@ async function createSocket(rep, queryManager, deleteClientsManager, socketOrigi
10889
10889
  // The clientSchema only needs to be sent for the very first request.
10890
10890
  // Henceforth it is stored with the CVR and verified automatically.
10891
10891
  ...baseCookie === null ? { clientSchema } : {},
10892
- userPushParams: pushURL ? { url: pushURL } : void 0
10892
+ userPushParams
10893
10893
  }
10894
10894
  ],
10895
10895
  auth
@@ -10966,4 +10966,4 @@ export {
10966
10966
  escapeLike,
10967
10967
  Zero
10968
10968
  };
10969
- //# sourceMappingURL=chunk-QONNL5HY.js.map
10969
+ //# sourceMappingURL=chunk-5D5DJXYQ.js.map