zudoku 0.64.0 → 0.64.1

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.
@@ -3,7 +3,7 @@ import "lucide-react";
3
3
  import "./chunk-PVWAREVJ-BMhpCH5D.js";
4
4
  import "./ui/Button.js";
5
5
  import "./ZudokuContext-BUZ5hkWB.js";
6
- import { y as e, U as n, z as s } from "./index-Cr9_YzOZ.js";
6
+ import { y as e, U as n, z as s } from "./index-RNAxx6IF.js";
7
7
  export {
8
8
  e as GetNavigationOperationsQuery,
9
9
  n as UNTAGGED_PATH,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zudoku",
3
- "version": "0.64.0",
3
+ "version": "0.64.1",
4
4
  "type": "module",
5
5
  "homepage": "https://zudoku.dev",
6
6
  "repository": {
@@ -235,7 +235,7 @@
235
235
  "rollup": "4.52.5",
236
236
  "semver": "7.7.2",
237
237
  "shiki": "3.14.0",
238
- "sitemap": "8.0.0",
238
+ "sitemap": "9.0.0",
239
239
  "strip-ansi": "7.1.2",
240
240
  "tailwind-merge": "3.3.1",
241
241
  "tailwindcss": "4.1.16",
@@ -104,6 +104,16 @@ export const generateSchemaExample = (
104
104
  }, {});
105
105
  }
106
106
 
107
+ // Check for property-level examples
108
+ if (
109
+ schema.examples &&
110
+ Array.isArray(schema.examples) &&
111
+ schema.examples.length > 0
112
+ ) {
113
+ const randomIndex = Math.floor(Math.random() * schema.examples.length);
114
+ return schema.examples[randomIndex];
115
+ }
116
+
107
117
  switch (schema.type) {
108
118
  case "string":
109
119
  return name || "string";