@noir-lang/noir_js 1.0.0-beta.25 → 1.0.0-beta.25-e22cd89.nightly
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/lib/debug.cjs +1 -1
- package/lib/debug.mjs +1 -1
- package/package.json +5 -5
package/lib/debug.cjs
CHANGED
|
@@ -5,7 +5,7 @@ exports.extractCallStack = extractCallStack;
|
|
|
5
5
|
const pako_1 = require("pako");
|
|
6
6
|
const base64_decode_1 = require("./base64_decode.cjs");
|
|
7
7
|
function parseDebugSymbols(debugSymbols) {
|
|
8
|
-
return JSON.parse((0, pako_1.inflate)((0, base64_decode_1.base64Decode)(debugSymbols), {
|
|
8
|
+
return JSON.parse((0, pako_1.inflate)((0, base64_decode_1.base64Decode)(debugSymbols), { toText: true, raw: true })).debug_infos;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Extracts the call stack from an thrown by the acvm.
|
package/lib/debug.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { inflate } from 'pako';
|
|
2
2
|
import { base64Decode } from "./base64_decode.mjs";
|
|
3
3
|
export function parseDebugSymbols(debugSymbols) {
|
|
4
|
-
return JSON.parse(inflate(base64Decode(debugSymbols), {
|
|
4
|
+
return JSON.parse(inflate(base64Decode(debugSymbols), { toText: true, raw: true })).debug_infos;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Extracts the call stack from an thrown by the acvm.
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contributors": [
|
|
4
4
|
"The Noir Team <team@noir-lang.org>"
|
|
5
5
|
],
|
|
6
|
-
"version": "1.0.0-beta.25",
|
|
6
|
+
"version": "1.0.0-beta.25-e22cd89.nightly",
|
|
7
7
|
"packageManager": "yarn@4.5.2",
|
|
8
8
|
"license": "(MIT OR Apache-2.0)",
|
|
9
9
|
"type": "module",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"url": "https://github.com/noir-lang/noir/issues"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@noir-lang/acvm_js": "1.0.0-beta.25",
|
|
21
|
-
"@noir-lang/noirc_abi": "1.0.0-beta.25",
|
|
22
|
-
"@noir-lang/types": "1.0.0-beta.25",
|
|
23
|
-
"pako": "^
|
|
20
|
+
"@noir-lang/acvm_js": "1.0.0-beta.25-e22cd89.nightly",
|
|
21
|
+
"@noir-lang/noirc_abi": "1.0.0-beta.25-e22cd89.nightly",
|
|
22
|
+
"@noir-lang/types": "1.0.0-beta.25-e22cd89.nightly",
|
|
23
|
+
"pako": "^3.0.1"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"lib",
|