@aztec/noir-noir_js 0.0.1-commit.fcb71a6 → 0.0.1-commit.ff7989d6c

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.
@@ -66,6 +66,6 @@ async function generateWitness(compiledProgram, inputs, foreignCallHandler = def
66
66
  if (typeof err === 'object' && err !== null && 'rawAssertionPayload' in err) {
67
67
  throw enrichExecutionError(compiledProgram, err);
68
68
  }
69
- throw new Error(`Circuit execution failed: ${err}`);
69
+ throw new Error(`Circuit execution failed: ${err}`, { cause: err });
70
70
  }
71
71
  }
@@ -63,6 +63,6 @@ export async function generateWitness(compiledProgram, inputs, foreignCallHandle
63
63
  if (typeof err === 'object' && err !== null && 'rawAssertionPayload' in err) {
64
64
  throw enrichExecutionError(compiledProgram, err);
65
65
  }
66
- throw new Error(`Circuit execution failed: ${err}`);
66
+ throw new Error(`Circuit execution failed: ${err}`, { cause: err });
67
67
  }
68
68
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "contributors": [
4
4
  "The Noir Team <team@noir-lang.org>"
5
5
  ],
6
- "version": "0.0.1-commit.fcb71a6",
6
+ "version": "0.0.1-commit.ff7989d6c",
7
7
  "packageManager": "yarn@4.5.2",
8
8
  "license": "(MIT OR Apache-2.0)",
9
9
  "type": "module",
@@ -17,9 +17,9 @@
17
17
  "url": "https://github.com/noir-lang/noir/issues"
18
18
  },
19
19
  "dependencies": {
20
- "@aztec/noir-acvm_js": "0.0.1-commit.fcb71a6",
21
- "@aztec/noir-noirc_abi": "0.0.1-commit.fcb71a6",
22
- "@aztec/noir-types": "0.0.1-commit.fcb71a6",
20
+ "@aztec/noir-acvm_js": "0.0.1-commit.ff7989d6c",
21
+ "@aztec/noir-noirc_abi": "0.0.1-commit.ff7989d6c",
22
+ "@aztec/noir-types": "0.0.1-commit.ff7989d6c",
23
23
  "pako": "^2.1.0"
24
24
  },
25
25
  "files": [
@@ -50,19 +50,19 @@
50
50
  "clean": "rm -rf ./lib"
51
51
  },
52
52
  "devDependencies": {
53
- "@types/chai": "^4",
53
+ "@types/chai": "^5",
54
54
  "@types/mocha": "^10.0.10",
55
- "@types/node": "^22.13.10",
55
+ "@types/node": "^22.19.7",
56
56
  "@types/pako": "^2",
57
57
  "@types/prettier": "^3.0.0",
58
- "chai": "^4.5.0",
59
- "eslint": "^9.39.1",
60
- "eslint-plugin-prettier": "^5.5.4",
61
- "mocha": "^11.5.0",
62
- "prettier": "3.7.3",
58
+ "chai": "^6.2.2",
59
+ "eslint": "^10.0.0",
60
+ "eslint-plugin-prettier": "^5.5.5",
61
+ "mocha": "^11.7.5",
62
+ "prettier": "3.8.1",
63
63
  "ts-node": "^10.9.2",
64
64
  "tsc-multi": "^1.1.0",
65
- "tsx": "^4.19.3",
65
+ "tsx": "^4.21.0",
66
66
  "typescript": "^5.8.3"
67
67
  }
68
68
  }