breeze-bindgen 1.1.20 → 1.1.21

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/cli.mjs CHANGED
@@ -146,6 +146,9 @@ var CTypeParser = class {
146
146
  return "ArrayBuffer";
147
147
  }
148
148
  }
149
+ if (node.type === "JSValue") {
150
+ return "any";
151
+ }
149
152
  const ignoreTypes = ["std.variant", "std.shared_ptr", "std.function"];
150
153
  if (ignoreTypes.includes(node.type)) {
151
154
  tsBasicType = node.argsTemplate.map((a) => this.formatToTypeScript(a, namespace)).join(" | ");
package/dist/core.cjs CHANGED
@@ -356,6 +356,9 @@ var CTypeParser = class {
356
356
  return "ArrayBuffer";
357
357
  }
358
358
  }
359
+ if (node.type === "JSValue") {
360
+ return "any";
361
+ }
359
362
  const ignoreTypes = ["std.variant", "std.shared_ptr", "std.function"];
360
363
  if (ignoreTypes.includes(node.type)) {
361
364
  tsBasicType = node.argsTemplate.map((a) => this.formatToTypeScript(a, namespace)).join(" | ");
package/dist/core.mjs CHANGED
@@ -352,6 +352,9 @@ var CTypeParser = class {
352
352
  return "ArrayBuffer";
353
353
  }
354
354
  }
355
+ if (node.type === "JSValue") {
356
+ return "any";
357
+ }
355
358
  const ignoreTypes = ["std.variant", "std.shared_ptr", "std.function"];
356
359
  if (ignoreTypes.includes(node.type)) {
357
360
  tsBasicType = node.argsTemplate.map((a) => this.formatToTypeScript(a, namespace)).join(" | ");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
3
3
  "name": "breeze-bindgen",
4
- "version": "1.1.20",
4
+ "version": "1.1.21",
5
5
  "main": "dist/core.cjs",
6
6
  "module": "dist/core.mjs",
7
7
  "types": "dist/core.d.ts",