@izi-noir/sdk 0.1.15 → 0.1.16

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.cjs CHANGED
@@ -2942,7 +2942,7 @@ var CreateProofUseCase = class {
2942
2942
  const noirCode = generateNoir(parsed);
2943
2943
  timings.generateMs = performance.now() - generateStart;
2944
2944
  const compileStart = performance.now();
2945
- const circuit = await this.deps.provingSystem.compile(noirCode);
2945
+ const circuit = await this.deps.provingSystem.compile(noirCode, { parsedCircuit: parsed });
2946
2946
  timings.compileMs = performance.now() - compileStart;
2947
2947
  const toNoirInput = (val) => typeof val === "bigint" ? val.toString() : val;
2948
2948
  const inputs = {};
package/dist/index.js CHANGED
@@ -2873,7 +2873,7 @@ var CreateProofUseCase = class {
2873
2873
  const noirCode = generateNoir(parsed);
2874
2874
  timings.generateMs = performance.now() - generateStart;
2875
2875
  const compileStart = performance.now();
2876
- const circuit = await this.deps.provingSystem.compile(noirCode);
2876
+ const circuit = await this.deps.provingSystem.compile(noirCode, { parsedCircuit: parsed });
2877
2877
  timings.compileMs = performance.now() - compileStart;
2878
2878
  const toNoirInput = (val) => typeof val === "bigint" ? val.toString() : val;
2879
2879
  const inputs = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izi-noir/sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Write ZK circuits in JavaScript/TypeScript, generate Noir code and proofs automatically",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",