create-izi-noir 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -341,9 +341,10 @@ import { IziNoir, Provider, AcornParser, generateNoir, type CircuitFunction } fr
341
341
  ${imports}
342
342
 
343
343
  // Helper to convert JS circuit function to Noir code
344
- function toNoir(circuitFn: CircuitFunction): string {
344
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
345
+ function toNoir(circuitFn: any): string {
345
346
  const parser = new AcornParser();
346
- const parsed = parser.parse(circuitFn, [], []);
347
+ const parsed = parser.parse(circuitFn as CircuitFunction, [], []);
347
348
  return generateNoir(parsed);
348
349
  }
349
350
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-izi-noir",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "CLI to scaffold IZI-NOIR ZK projects",
5
5
  "type": "module",
6
6
  "bin": {