mobx-tanstack-query-api 0.38.1 → 0.38.2

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.
package/cli.js CHANGED
@@ -426,11 +426,12 @@ function generateAuxiliarySchemas(schemaKeys, schemas, schemaKeyToVarNameFn, vis
426
426
  const schema = schemas[key];
427
427
  if (!schema) continue;
428
428
  const varName = schemaKeyToVarNameFn(key);
429
+ const cyclePath = /* @__PURE__ */ new Set([key]);
429
430
  const expr = schemaToZodExpr(
430
431
  schema,
431
432
  schemas,
432
433
  schemaKeyToVarNameFn,
433
- visited
434
+ cyclePath
434
435
  );
435
436
  lines.push(`export const ${varName} = ${expr};`);
436
437
  }