@rocicorp/zero 0.23.2025083000 → 0.23.2025090100

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.
@@ -1730,7 +1730,9 @@ function createSchema(options) {
1730
1730
  });
1731
1731
  return {
1732
1732
  tables: retTables,
1733
- relationships: retRelationships
1733
+ relationships: retRelationships,
1734
+ enableLegacyQueries: options.enableLegacyQueries,
1735
+ enableLegacyMutators: options.enableLegacyMutators
1734
1736
  };
1735
1737
  }
1736
1738
  function checkRelationship(relationships, tableName, tables) {
@@ -8666,7 +8668,7 @@ function makeMessage(message, context, logLevel) {
8666
8668
  }
8667
8669
 
8668
8670
  // ../zero-client/src/client/version.ts
8669
- var version2 = "0.23.2025083000";
8671
+ var version2 = "0.23.2025090100";
8670
8672
 
8671
8673
  // ../zero-client/src/client/log-options.ts
8672
8674
  var LevelFilterLogSink = class {
@@ -10289,7 +10291,7 @@ var Zero = class _Zero {
10289
10291
  enableAnalytics: this.#enableAnalytics
10290
10292
  });
10291
10293
  const logOptions = this.#logOptions;
10292
- const { enableLegacyMutators = true, enableLegacyQueries = true } = options;
10294
+ const { enableLegacyMutators = true, enableLegacyQueries = true } = schema;
10293
10295
  const replicacheMutators = {
10294
10296
  [CRUD_MUTATION_NAME]: enableLegacyMutators ? makeCRUDMutator(schema) : () => Promise.reject(new Error("Zero CRUD mutators are not enabled."))
10295
10297
  };
@@ -11607,4 +11609,4 @@ export {
11607
11609
  update_needed_reason_type_enum_exports,
11608
11610
  Zero
11609
11611
  };
11610
- //# sourceMappingURL=chunk-GW2SIBPI.js.map
11612
+ //# sourceMappingURL=chunk-6USDOK3X.js.map