@rocicorp/zero 0.21.2025062400 → 0.21.2025062401

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clientToServer
3
- } from "./chunk-T6YUETW7.js";
3
+ } from "./chunk-I55ETSHZ.js";
4
4
  import {
5
5
  AbstractQuery,
6
6
  ExpressionBuilder,
@@ -337,4 +337,4 @@ export {
337
337
  querify,
338
338
  namedQuery
339
339
  };
340
- //# sourceMappingURL=chunk-CDC3FKYC.js.map
340
+ //# sourceMappingURL=chunk-DJ5GQBOU.js.map
@@ -8328,7 +8328,7 @@ function makeMessage(message, context, logLevel) {
8328
8328
  }
8329
8329
 
8330
8330
  // ../zero-client/src/client/version.ts
8331
- var version2 = "0.21.2025062400";
8331
+ var version2 = "0.21.2025062401";
8332
8332
 
8333
8333
  // ../zero-client/src/client/log-options.ts
8334
8334
  var LevelFilterLogSink = class {
@@ -10944,6 +10944,11 @@ async function createSocket(rep, queryManager, deleteClientsManager, socketOrigi
10944
10944
  );
10945
10945
  if (secProtocol.length > maxHeaderLength) {
10946
10946
  secProtocol = encodeSecProtocols(void 0, auth);
10947
+ if (secProtocol.length > maxHeaderLength) {
10948
+ lc.warn?.(
10949
+ `Encoded auth token length (${secProtocol.length}) exceeds ZeroOptions.maxHeaderLength (${maxHeaderLength}). This may cause connection failures.`
10950
+ );
10951
+ }
10947
10952
  queriesPatch = void 0;
10948
10953
  } else {
10949
10954
  deletedClients = void 0;
@@ -11013,4 +11018,4 @@ export {
11013
11018
  update_needed_reason_type_enum_exports,
11014
11019
  Zero
11015
11020
  };
11016
- //# sourceMappingURL=chunk-T6YUETW7.js.map
11021
+ //# sourceMappingURL=chunk-I55ETSHZ.js.map