@kubb/studio 5.18.5 → 5.18.6

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/dist/index.js CHANGED
@@ -206,7 +206,7 @@ function getElapsedMs(hrStart) {
206
206
  return Math.round(ms * 100) / 100;
207
207
  }
208
208
  // package.json
209
- var version = "5.18.5";
209
+ var version = "5.18.6";
210
210
  // ../../internals/shared/src/constants.ts
211
211
  /**
212
212
  * Extensions `kubb` ships at its own version, so they count as installed without being a direct
@@ -1502,7 +1502,7 @@ function createGenerationStore({ storage, maxCount, maxMb, ttlMs, now = Date.now
1502
1502
  if (!input) return 0;
1503
1503
  let json;
1504
1504
  try {
1505
- json = JSON.stringify(ast.transform(input, { schema: (node) => node.type === "ref" && node.schema ? {
1505
+ json = JSON.stringify(ast.node.transform(input, { schema: (node) => node.type === "ref" && node.schema ? {
1506
1506
  ...node,
1507
1507
  schema: void 0
1508
1508
  } : void 0 }));