@aztec/noir-acvm_js 0.0.1-commit.e588bc7e5 → 0.0.1-commit.e5a3663dd
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/nodejs/acvm_js.js +8 -8
- package/nodejs/acvm_js_bg.wasm +0 -0
- package/nodejs/acvm_js_bg.wasm.d.ts +2 -2
- package/package.json +3 -3
- package/web/acvm_js.d.ts +2 -2
- package/web/acvm_js.js +8 -8
- package/web/acvm_js_bg.wasm +0 -0
- package/web/acvm_js_bg.wasm.d.ts +2 -2
package/nodejs/acvm_js.js
CHANGED
|
@@ -357,11 +357,11 @@ function __wbg_get_imports() {
|
|
|
357
357
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
358
358
|
return ret;
|
|
359
359
|
}, arguments); },
|
|
360
|
-
|
|
360
|
+
__wbg_constructor_05abf7d03ddb5978: function(arg0) {
|
|
361
361
|
const ret = new Error(arg0);
|
|
362
362
|
return ret;
|
|
363
363
|
},
|
|
364
|
-
|
|
364
|
+
__wbg_constructor_ab9641785a212d23: function(arg0) {
|
|
365
365
|
const ret = new Error(arg0);
|
|
366
366
|
return ret;
|
|
367
367
|
},
|
|
@@ -456,10 +456,6 @@ function __wbg_get_imports() {
|
|
|
456
456
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
457
457
|
return ret;
|
|
458
458
|
},
|
|
459
|
-
__wbg_new_1faa82fcea3a8b7d: function() {
|
|
460
|
-
const ret = new Map();
|
|
461
|
-
return ret;
|
|
462
|
-
},
|
|
463
459
|
__wbg_new_227d7c05414eb861: function() {
|
|
464
460
|
const ret = new Error();
|
|
465
461
|
return ret;
|
|
@@ -468,10 +464,14 @@ function __wbg_get_imports() {
|
|
|
468
464
|
const ret = new Map();
|
|
469
465
|
return ret;
|
|
470
466
|
},
|
|
471
|
-
|
|
467
|
+
__wbg_new_abc5c2f3b2a89179: function() {
|
|
472
468
|
const ret = new Array();
|
|
473
469
|
return ret;
|
|
474
470
|
},
|
|
471
|
+
__wbg_new_bdda75b457f547fe: function() {
|
|
472
|
+
const ret = new Map();
|
|
473
|
+
return ret;
|
|
474
|
+
},
|
|
475
475
|
__wbg_new_cbee8c0d5c479eac: function() {
|
|
476
476
|
const ret = new Array();
|
|
477
477
|
return ret;
|
|
@@ -570,7 +570,7 @@ function __wbg_get_imports() {
|
|
|
570
570
|
console.warn(arg0);
|
|
571
571
|
},
|
|
572
572
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
573
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
573
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 460, function: Function { arguments: [Externref], shim_idx: 461, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
574
574
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6ca9a03bbf21d1b5, wasm_bindgen__convert__closures_____invoke__hecae831177a731ce);
|
|
575
575
|
return ret;
|
|
576
576
|
},
|
package/nodejs/acvm_js_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const buildInfo: () => any;
|
|
4
5
|
export const and: (a: any, b: any) => any;
|
|
5
6
|
export const xor: (a: any, b: any) => any;
|
|
6
7
|
export const sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
7
8
|
export const blake2s256: (a: number, b: number) => [number, number];
|
|
8
9
|
export const ecdsa_secp256k1_verify: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
9
10
|
export const ecdsa_secp256r1_verify: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
10
|
-
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
11
11
|
export const compressWitness: (a: any) => [number, number, number, number];
|
|
12
12
|
export const decompressWitness: (a: number, b: number) => [number, number, number];
|
|
13
13
|
export const compressWitnessStack: (a: any) => [number, number, number, number];
|
|
@@ -15,10 +15,10 @@ export const decompressWitnessStack: (a: number, b: number) => [number, number,
|
|
|
15
15
|
export const executeCircuit: (a: number, b: number, c: any, d: any) => any;
|
|
16
16
|
export const executeCircuitWithReturnWitness: (a: number, b: number, c: any, d: any) => any;
|
|
17
17
|
export const executeProgram: (a: number, b: number, c: any, d: any) => any;
|
|
18
|
+
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
18
19
|
export const getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
19
20
|
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
20
21
|
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
21
|
-
export const buildInfo: () => any;
|
|
22
22
|
export const wasm_bindgen__closure__destroy__h6ca9a03bbf21d1b5: (a: number, b: number) => void;
|
|
23
23
|
export const wasm_bindgen__convert__closures_____invoke__h0454a7f4f6db42b3: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
24
24
|
export const wasm_bindgen__convert__closures_____invoke__hecae831177a731ce: (a: number, b: number, c: any) => [number, number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/noir-acvm_js",
|
|
3
|
-
"version": "0.0.1-commit.
|
|
3
|
+
"version": "0.0.1-commit.e5a3663dd",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@web/test-runner": "^0.20.2",
|
|
43
43
|
"@web/test-runner-playwright": "^0.11.1",
|
|
44
44
|
"chai": "^6.2.2",
|
|
45
|
-
"eslint": "^10.1
|
|
45
|
+
"eslint": "^10.2.1",
|
|
46
46
|
"eslint-plugin-prettier": "^5.5.5",
|
|
47
47
|
"mocha": "^11.7.5",
|
|
48
|
-
"prettier": "3.8.
|
|
48
|
+
"prettier": "3.8.3",
|
|
49
49
|
"tsx": "^4.21.0",
|
|
50
50
|
"typescript": "^6.0.2"
|
|
51
51
|
}
|
package/web/acvm_js.d.ts
CHANGED
|
@@ -205,13 +205,13 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
205
205
|
|
|
206
206
|
export interface InitOutput {
|
|
207
207
|
readonly memory: WebAssembly.Memory;
|
|
208
|
+
readonly buildInfo: () => any;
|
|
208
209
|
readonly and: (a: any, b: any) => any;
|
|
209
210
|
readonly xor: (a: any, b: any) => any;
|
|
210
211
|
readonly sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
211
212
|
readonly blake2s256: (a: number, b: number) => [number, number];
|
|
212
213
|
readonly ecdsa_secp256k1_verify: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
213
214
|
readonly ecdsa_secp256r1_verify: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
214
|
-
readonly initLogLevel: (a: number, b: number) => [number, number];
|
|
215
215
|
readonly compressWitness: (a: any) => [number, number, number, number];
|
|
216
216
|
readonly decompressWitness: (a: number, b: number) => [number, number, number];
|
|
217
217
|
readonly compressWitnessStack: (a: any) => [number, number, number, number];
|
|
@@ -219,10 +219,10 @@ export interface InitOutput {
|
|
|
219
219
|
readonly executeCircuit: (a: number, b: number, c: any, d: any) => any;
|
|
220
220
|
readonly executeCircuitWithReturnWitness: (a: number, b: number, c: any, d: any) => any;
|
|
221
221
|
readonly executeProgram: (a: number, b: number, c: any, d: any) => any;
|
|
222
|
+
readonly initLogLevel: (a: number, b: number) => [number, number];
|
|
222
223
|
readonly getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
223
224
|
readonly getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
224
225
|
readonly getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
225
|
-
readonly buildInfo: () => any;
|
|
226
226
|
readonly wasm_bindgen__closure__destroy__h6ca9a03bbf21d1b5: (a: number, b: number) => void;
|
|
227
227
|
readonly wasm_bindgen__convert__closures_____invoke__h0454a7f4f6db42b3: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
228
228
|
readonly wasm_bindgen__convert__closures_____invoke__hecae831177a731ce: (a: number, b: number, c: any) => [number, number];
|
package/web/acvm_js.js
CHANGED
|
@@ -339,11 +339,11 @@ function __wbg_get_imports() {
|
|
|
339
339
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
340
340
|
return ret;
|
|
341
341
|
}, arguments); },
|
|
342
|
-
|
|
342
|
+
__wbg_constructor_05abf7d03ddb5978: function(arg0) {
|
|
343
343
|
const ret = new Error(arg0);
|
|
344
344
|
return ret;
|
|
345
345
|
},
|
|
346
|
-
|
|
346
|
+
__wbg_constructor_ab9641785a212d23: function(arg0) {
|
|
347
347
|
const ret = new Error(arg0);
|
|
348
348
|
return ret;
|
|
349
349
|
},
|
|
@@ -438,10 +438,6 @@ function __wbg_get_imports() {
|
|
|
438
438
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
439
439
|
return ret;
|
|
440
440
|
},
|
|
441
|
-
__wbg_new_1faa82fcea3a8b7d: function() {
|
|
442
|
-
const ret = new Map();
|
|
443
|
-
return ret;
|
|
444
|
-
},
|
|
445
441
|
__wbg_new_227d7c05414eb861: function() {
|
|
446
442
|
const ret = new Error();
|
|
447
443
|
return ret;
|
|
@@ -450,10 +446,14 @@ function __wbg_get_imports() {
|
|
|
450
446
|
const ret = new Map();
|
|
451
447
|
return ret;
|
|
452
448
|
},
|
|
453
|
-
|
|
449
|
+
__wbg_new_abc5c2f3b2a89179: function() {
|
|
454
450
|
const ret = new Array();
|
|
455
451
|
return ret;
|
|
456
452
|
},
|
|
453
|
+
__wbg_new_bdda75b457f547fe: function() {
|
|
454
|
+
const ret = new Map();
|
|
455
|
+
return ret;
|
|
456
|
+
},
|
|
457
457
|
__wbg_new_cbee8c0d5c479eac: function() {
|
|
458
458
|
const ret = new Array();
|
|
459
459
|
return ret;
|
|
@@ -552,7 +552,7 @@ function __wbg_get_imports() {
|
|
|
552
552
|
console.warn(arg0);
|
|
553
553
|
},
|
|
554
554
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
555
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
555
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 460, function: Function { arguments: [Externref], shim_idx: 461, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
556
556
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6ca9a03bbf21d1b5, wasm_bindgen__convert__closures_____invoke__hecae831177a731ce);
|
|
557
557
|
return ret;
|
|
558
558
|
},
|
package/web/acvm_js_bg.wasm
CHANGED
|
Binary file
|
package/web/acvm_js_bg.wasm.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const buildInfo: () => any;
|
|
4
5
|
export const and: (a: any, b: any) => any;
|
|
5
6
|
export const xor: (a: any, b: any) => any;
|
|
6
7
|
export const sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
7
8
|
export const blake2s256: (a: number, b: number) => [number, number];
|
|
8
9
|
export const ecdsa_secp256k1_verify: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
9
10
|
export const ecdsa_secp256r1_verify: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
10
|
-
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
11
11
|
export const compressWitness: (a: any) => [number, number, number, number];
|
|
12
12
|
export const decompressWitness: (a: number, b: number) => [number, number, number];
|
|
13
13
|
export const compressWitnessStack: (a: any) => [number, number, number, number];
|
|
@@ -15,10 +15,10 @@ export const decompressWitnessStack: (a: number, b: number) => [number, number,
|
|
|
15
15
|
export const executeCircuit: (a: number, b: number, c: any, d: any) => any;
|
|
16
16
|
export const executeCircuitWithReturnWitness: (a: number, b: number, c: any, d: any) => any;
|
|
17
17
|
export const executeProgram: (a: number, b: number, c: any, d: any) => any;
|
|
18
|
+
export const initLogLevel: (a: number, b: number) => [number, number];
|
|
18
19
|
export const getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
19
20
|
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
20
21
|
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
21
|
-
export const buildInfo: () => any;
|
|
22
22
|
export const wasm_bindgen__closure__destroy__h6ca9a03bbf21d1b5: (a: number, b: number) => void;
|
|
23
23
|
export const wasm_bindgen__convert__closures_____invoke__h0454a7f4f6db42b3: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
24
24
|
export const wasm_bindgen__convert__closures_____invoke__hecae831177a731ce: (a: number, b: number, c: any) => [number, number];
|