@aztec/noir-acvm_js 0.0.1-commit.b655e406 → 0.0.1-commit.c7c42ec
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.d.ts +39 -39
- package/nodejs/acvm_js.js +17 -18
- package/nodejs/acvm_js_bg.wasm +0 -0
- package/nodejs/acvm_js_bg.wasm.d.ts +4 -4
- package/package.json +5 -5
- package/web/acvm_js.d.ts +43 -43
- package/web/acvm_js.js +17 -18
- package/web/acvm_js_bg.wasm +0 -0
- package/web/acvm_js_bg.wasm.d.ts +4 -4
package/nodejs/acvm_js.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
5
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
6
|
+
*/
|
|
7
|
+
export function buildInfo(): BuildInfo;
|
|
3
8
|
/**
|
|
4
9
|
* Compresses a `WitnessMap` into the binary format outputted by Nargo.
|
|
5
10
|
*
|
|
@@ -87,11 +92,6 @@ export function getPublicParametersWitness(program: Uint8Array, solved_witness:
|
|
|
87
92
|
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
88
93
|
*/
|
|
89
94
|
export function getPublicWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
90
|
-
/**
|
|
91
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
92
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
93
|
-
*/
|
|
94
|
-
export function buildInfo(): BuildInfo;
|
|
95
95
|
/**
|
|
96
96
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
97
97
|
*/
|
|
@@ -117,31 +117,17 @@ export function ecdsa_secp256k1_verify(hashed_msg: Uint8Array, public_key_x_byte
|
|
|
117
117
|
*/
|
|
118
118
|
export function ecdsa_secp256r1_verify(hashed_msg: Uint8Array, public_key_x_bytes: Uint8Array, public_key_y_bytes: Uint8Array, signature: Uint8Array): boolean;
|
|
119
119
|
|
|
120
|
-
export type RawAssertionPayload = {
|
|
121
|
-
selector: string;
|
|
122
|
-
data: string[];
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
export type ExecutionError = Error & {
|
|
126
|
-
callStack?: string[];
|
|
127
|
-
rawAssertionPayload?: RawAssertionPayload;
|
|
128
|
-
acirFunctionId?: number;
|
|
129
|
-
brilligFunctionId?: number;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
export type ForeignCallInput = string[]
|
|
135
|
-
export type ForeignCallOutput = string | string[]
|
|
136
|
-
|
|
137
120
|
/**
|
|
138
|
-
*
|
|
139
|
-
* @
|
|
140
|
-
* @
|
|
141
|
-
* @
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
121
|
+
* @typedef {Object} BuildInfo - Information about how the installed package was built
|
|
122
|
+
* @property {string} gitHash - The hash of the git commit from which the package was built.
|
|
123
|
+
* @property {string} version - The version of the package at the built git commit.
|
|
124
|
+
* @property {boolean} dirty - Whether the package contained uncommitted changes when built.
|
|
125
|
+
*/
|
|
126
|
+
export type BuildInfo = {
|
|
127
|
+
gitHash: string;
|
|
128
|
+
version: string;
|
|
129
|
+
dirty: string;
|
|
130
|
+
}
|
|
145
131
|
|
|
146
132
|
|
|
147
133
|
|
|
@@ -169,16 +155,30 @@ export type WitnessStack = Array<StackItem>;
|
|
|
169
155
|
|
|
170
156
|
|
|
171
157
|
|
|
158
|
+
export type ForeignCallInput = string[]
|
|
159
|
+
export type ForeignCallOutput = string | string[]
|
|
160
|
+
|
|
172
161
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @
|
|
175
|
-
* @
|
|
176
|
-
* @
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
162
|
+
* A callback which performs an foreign call and returns the response.
|
|
163
|
+
* @callback ForeignCallHandler
|
|
164
|
+
* @param {string} name - The identifier for the type of foreign call being performed.
|
|
165
|
+
* @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
|
|
166
|
+
* @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
|
|
167
|
+
*/
|
|
168
|
+
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
export type RawAssertionPayload = {
|
|
173
|
+
selector: string;
|
|
174
|
+
data: string[];
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export type ExecutionError = Error & {
|
|
178
|
+
callStack?: string[];
|
|
179
|
+
rawAssertionPayload?: RawAssertionPayload;
|
|
180
|
+
acirFunctionId?: number;
|
|
181
|
+
brilligFunctionId?: number;
|
|
182
|
+
};
|
|
183
183
|
|
|
184
184
|
|
package/nodejs/acvm_js.js
CHANGED
|
@@ -201,6 +201,14 @@ function debugString(val) {
|
|
|
201
201
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
202
202
|
return className;
|
|
203
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
206
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
207
|
+
*/
|
|
208
|
+
module.exports.buildInfo = function() {
|
|
209
|
+
const ret = wasm.buildInfo();
|
|
210
|
+
return ret;
|
|
211
|
+
};
|
|
204
212
|
|
|
205
213
|
function takeFromExternrefTable0(idx) {
|
|
206
214
|
const value = wasm.__wbindgen_export_2.get(idx);
|
|
@@ -403,15 +411,6 @@ module.exports.getPublicWitness = function(program, solved_witness) {
|
|
|
403
411
|
return takeFromExternrefTable0(ret[0]);
|
|
404
412
|
};
|
|
405
413
|
|
|
406
|
-
/**
|
|
407
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
408
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
409
|
-
*/
|
|
410
|
-
module.exports.buildInfo = function() {
|
|
411
|
-
const ret = wasm.buildInfo();
|
|
412
|
-
return ret;
|
|
413
|
-
};
|
|
414
|
-
|
|
415
414
|
/**
|
|
416
415
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
417
416
|
* @param {string} lhs
|
|
@@ -528,15 +527,15 @@ module.exports.ecdsa_secp256r1_verify = function(hashed_msg, public_key_x_bytes,
|
|
|
528
527
|
};
|
|
529
528
|
|
|
530
529
|
function __wbg_adapter_30(arg0, arg1, arg2) {
|
|
531
|
-
wasm.
|
|
530
|
+
wasm.closure576_externref_shim(arg0, arg1, arg2);
|
|
532
531
|
}
|
|
533
532
|
|
|
534
533
|
function __wbg_adapter_89(arg0, arg1, arg2, arg3, arg4) {
|
|
535
|
-
wasm.
|
|
534
|
+
wasm.closure1171_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
536
535
|
}
|
|
537
536
|
|
|
538
537
|
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
539
|
-
wasm.
|
|
538
|
+
wasm.closure1175_externref_shim(arg0, arg1, arg2, arg3);
|
|
540
539
|
}
|
|
541
540
|
|
|
542
541
|
module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
@@ -554,12 +553,12 @@ module.exports.__wbg_call_833bed5770ea2041 = function() { return handleError(fun
|
|
|
554
553
|
return ret;
|
|
555
554
|
}, arguments) };
|
|
556
555
|
|
|
557
|
-
module.exports.
|
|
556
|
+
module.exports.__wbg_constructor_3aef6db465a4d40f = function(arg0) {
|
|
558
557
|
const ret = new Error(arg0);
|
|
559
558
|
return ret;
|
|
560
559
|
};
|
|
561
560
|
|
|
562
|
-
module.exports.
|
|
561
|
+
module.exports.__wbg_constructor_9cd41836d6991f28 = function(arg0) {
|
|
563
562
|
const ret = new Error(arg0);
|
|
564
563
|
return ret;
|
|
565
564
|
};
|
|
@@ -690,7 +689,7 @@ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
|
|
|
690
689
|
return ret;
|
|
691
690
|
};
|
|
692
691
|
|
|
693
|
-
module.exports.
|
|
692
|
+
module.exports.__wbg_new_8e773a1674584163 = function() {
|
|
694
693
|
const ret = new Array();
|
|
695
694
|
return ret;
|
|
696
695
|
};
|
|
@@ -700,7 +699,7 @@ module.exports.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
|
700
699
|
return ret;
|
|
701
700
|
};
|
|
702
701
|
|
|
703
|
-
module.exports.
|
|
702
|
+
module.exports.__wbg_new_dd245daac54dc568 = function() {
|
|
704
703
|
const ret = new Map();
|
|
705
704
|
return ret;
|
|
706
705
|
};
|
|
@@ -814,8 +813,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
814
813
|
return ret;
|
|
815
814
|
};
|
|
816
815
|
|
|
817
|
-
module.exports.
|
|
818
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
816
|
+
module.exports.__wbindgen_closure_wrapper1971 = function(arg0, arg1, arg2) {
|
|
817
|
+
const ret = makeMutClosure(arg0, arg1, 577, __wbg_adapter_30);
|
|
819
818
|
return ret;
|
|
820
819
|
};
|
|
821
820
|
|
package/nodejs/acvm_js_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const buildInfo: () => any;
|
|
4
5
|
export const compressWitness: (a: any) => [number, number, number, number];
|
|
5
6
|
export const decompressWitness: (a: number, b: number) => [number, number, number];
|
|
6
7
|
export const compressWitnessStack: (a: any) => [number, number, number, number];
|
|
@@ -12,7 +13,6 @@ export const initLogLevel: (a: number, b: number) => [number, number];
|
|
|
12
13
|
export const getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
13
14
|
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
14
15
|
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
15
|
-
export const buildInfo: () => any;
|
|
16
16
|
export const and: (a: any, b: any) => any;
|
|
17
17
|
export const xor: (a: any, b: any) => any;
|
|
18
18
|
export const sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -27,7 +27,7 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
|
27
27
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
28
28
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
30
|
+
export const closure576_externref_shim: (a: number, b: number, c: any) => void;
|
|
31
|
+
export const closure1171_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
32
|
+
export const closure1175_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
export const __wbindgen_start: () => void;
|
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.c7c42ec",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"@web/dev-server-esbuild": "^1.0.4",
|
|
42
42
|
"@web/test-runner": "^0.20.2",
|
|
43
43
|
"@web/test-runner-playwright": "^0.11.1",
|
|
44
|
-
"chai": "^4.
|
|
45
|
-
"eslint": "^9.
|
|
46
|
-
"eslint-plugin-prettier": "^5.4
|
|
44
|
+
"chai": "^4.5.0",
|
|
45
|
+
"eslint": "^9.39.1",
|
|
46
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
47
47
|
"mocha": "^11.5.0",
|
|
48
|
-
"prettier": "3.
|
|
48
|
+
"prettier": "3.7.3",
|
|
49
49
|
"ts-node": "^10.9.2",
|
|
50
50
|
"typescript": "^5.8.3"
|
|
51
51
|
}
|
package/web/acvm_js.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
5
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
6
|
+
*/
|
|
7
|
+
export function buildInfo(): BuildInfo;
|
|
3
8
|
/**
|
|
4
9
|
* Compresses a `WitnessMap` into the binary format outputted by Nargo.
|
|
5
10
|
*
|
|
@@ -87,11 +92,6 @@ export function getPublicParametersWitness(program: Uint8Array, solved_witness:
|
|
|
87
92
|
* @returns {WitnessMap} A witness map containing the circuit's public inputs.
|
|
88
93
|
*/
|
|
89
94
|
export function getPublicWitness(program: Uint8Array, solved_witness: WitnessMap): WitnessMap;
|
|
90
|
-
/**
|
|
91
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
92
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
93
|
-
*/
|
|
94
|
-
export function buildInfo(): BuildInfo;
|
|
95
95
|
/**
|
|
96
96
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
97
97
|
*/
|
|
@@ -117,31 +117,17 @@ export function ecdsa_secp256k1_verify(hashed_msg: Uint8Array, public_key_x_byte
|
|
|
117
117
|
*/
|
|
118
118
|
export function ecdsa_secp256r1_verify(hashed_msg: Uint8Array, public_key_x_bytes: Uint8Array, public_key_y_bytes: Uint8Array, signature: Uint8Array): boolean;
|
|
119
119
|
|
|
120
|
-
export type RawAssertionPayload = {
|
|
121
|
-
selector: string;
|
|
122
|
-
data: string[];
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
export type ExecutionError = Error & {
|
|
126
|
-
callStack?: string[];
|
|
127
|
-
rawAssertionPayload?: RawAssertionPayload;
|
|
128
|
-
acirFunctionId?: number;
|
|
129
|
-
brilligFunctionId?: number;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
export type ForeignCallInput = string[]
|
|
135
|
-
export type ForeignCallOutput = string | string[]
|
|
136
|
-
|
|
137
120
|
/**
|
|
138
|
-
*
|
|
139
|
-
* @
|
|
140
|
-
* @
|
|
141
|
-
* @
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
121
|
+
* @typedef {Object} BuildInfo - Information about how the installed package was built
|
|
122
|
+
* @property {string} gitHash - The hash of the git commit from which the package was built.
|
|
123
|
+
* @property {string} version - The version of the package at the built git commit.
|
|
124
|
+
* @property {boolean} dirty - Whether the package contained uncommitted changes when built.
|
|
125
|
+
*/
|
|
126
|
+
export type BuildInfo = {
|
|
127
|
+
gitHash: string;
|
|
128
|
+
version: string;
|
|
129
|
+
dirty: string;
|
|
130
|
+
}
|
|
145
131
|
|
|
146
132
|
|
|
147
133
|
|
|
@@ -169,17 +155,31 @@ export type WitnessStack = Array<StackItem>;
|
|
|
169
155
|
|
|
170
156
|
|
|
171
157
|
|
|
158
|
+
export type ForeignCallInput = string[]
|
|
159
|
+
export type ForeignCallOutput = string | string[]
|
|
160
|
+
|
|
172
161
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @
|
|
175
|
-
* @
|
|
176
|
-
* @
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
162
|
+
* A callback which performs an foreign call and returns the response.
|
|
163
|
+
* @callback ForeignCallHandler
|
|
164
|
+
* @param {string} name - The identifier for the type of foreign call being performed.
|
|
165
|
+
* @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
|
|
166
|
+
* @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
|
|
167
|
+
*/
|
|
168
|
+
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
export type RawAssertionPayload = {
|
|
173
|
+
selector: string;
|
|
174
|
+
data: string[];
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export type ExecutionError = Error & {
|
|
178
|
+
callStack?: string[];
|
|
179
|
+
rawAssertionPayload?: RawAssertionPayload;
|
|
180
|
+
acirFunctionId?: number;
|
|
181
|
+
brilligFunctionId?: number;
|
|
182
|
+
};
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
|
|
@@ -187,6 +187,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
187
187
|
|
|
188
188
|
export interface InitOutput {
|
|
189
189
|
readonly memory: WebAssembly.Memory;
|
|
190
|
+
readonly buildInfo: () => any;
|
|
190
191
|
readonly compressWitness: (a: any) => [number, number, number, number];
|
|
191
192
|
readonly decompressWitness: (a: number, b: number) => [number, number, number];
|
|
192
193
|
readonly compressWitnessStack: (a: any) => [number, number, number, number];
|
|
@@ -198,7 +199,6 @@ export interface InitOutput {
|
|
|
198
199
|
readonly getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
199
200
|
readonly getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
200
201
|
readonly getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
201
|
-
readonly buildInfo: () => any;
|
|
202
202
|
readonly and: (a: any, b: any) => any;
|
|
203
203
|
readonly xor: (a: any, b: any) => any;
|
|
204
204
|
readonly sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -213,9 +213,9 @@ export interface InitOutput {
|
|
|
213
213
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
214
214
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
215
215
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
216
|
+
readonly closure576_externref_shim: (a: number, b: number, c: any) => void;
|
|
217
|
+
readonly closure1171_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
218
|
+
readonly closure1175_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
219
219
|
readonly __wbindgen_start: () => void;
|
|
220
220
|
}
|
|
221
221
|
|
package/web/acvm_js.js
CHANGED
|
@@ -197,6 +197,14 @@ function debugString(val) {
|
|
|
197
197
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
198
198
|
return className;
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
202
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
203
|
+
*/
|
|
204
|
+
export function buildInfo() {
|
|
205
|
+
const ret = wasm.buildInfo();
|
|
206
|
+
return ret;
|
|
207
|
+
}
|
|
200
208
|
|
|
201
209
|
function takeFromExternrefTable0(idx) {
|
|
202
210
|
const value = wasm.__wbindgen_export_2.get(idx);
|
|
@@ -399,15 +407,6 @@ export function getPublicWitness(program, solved_witness) {
|
|
|
399
407
|
return takeFromExternrefTable0(ret[0]);
|
|
400
408
|
}
|
|
401
409
|
|
|
402
|
-
/**
|
|
403
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
404
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
405
|
-
*/
|
|
406
|
-
export function buildInfo() {
|
|
407
|
-
const ret = wasm.buildInfo();
|
|
408
|
-
return ret;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
410
|
/**
|
|
412
411
|
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
413
412
|
* @param {string} lhs
|
|
@@ -524,15 +523,15 @@ export function ecdsa_secp256r1_verify(hashed_msg, public_key_x_bytes, public_ke
|
|
|
524
523
|
}
|
|
525
524
|
|
|
526
525
|
function __wbg_adapter_30(arg0, arg1, arg2) {
|
|
527
|
-
wasm.
|
|
526
|
+
wasm.closure576_externref_shim(arg0, arg1, arg2);
|
|
528
527
|
}
|
|
529
528
|
|
|
530
529
|
function __wbg_adapter_89(arg0, arg1, arg2, arg3, arg4) {
|
|
531
|
-
wasm.
|
|
530
|
+
wasm.closure1171_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
532
531
|
}
|
|
533
532
|
|
|
534
533
|
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
535
|
-
wasm.
|
|
534
|
+
wasm.closure1175_externref_shim(arg0, arg1, arg2, arg3);
|
|
536
535
|
}
|
|
537
536
|
|
|
538
537
|
async function __wbg_load(module, imports) {
|
|
@@ -581,11 +580,11 @@ function __wbg_get_imports() {
|
|
|
581
580
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
582
581
|
return ret;
|
|
583
582
|
}, arguments) };
|
|
584
|
-
imports.wbg.
|
|
583
|
+
imports.wbg.__wbg_constructor_3aef6db465a4d40f = function(arg0) {
|
|
585
584
|
const ret = new Error(arg0);
|
|
586
585
|
return ret;
|
|
587
586
|
};
|
|
588
|
-
imports.wbg.
|
|
587
|
+
imports.wbg.__wbg_constructor_9cd41836d6991f28 = function(arg0) {
|
|
589
588
|
const ret = new Error(arg0);
|
|
590
589
|
return ret;
|
|
591
590
|
};
|
|
@@ -698,7 +697,7 @@ function __wbg_get_imports() {
|
|
|
698
697
|
const ret = new Error();
|
|
699
698
|
return ret;
|
|
700
699
|
};
|
|
701
|
-
imports.wbg.
|
|
700
|
+
imports.wbg.__wbg_new_8e773a1674584163 = function() {
|
|
702
701
|
const ret = new Array();
|
|
703
702
|
return ret;
|
|
704
703
|
};
|
|
@@ -706,7 +705,7 @@ function __wbg_get_imports() {
|
|
|
706
705
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
707
706
|
return ret;
|
|
708
707
|
};
|
|
709
|
-
imports.wbg.
|
|
708
|
+
imports.wbg.__wbg_new_dd245daac54dc568 = function() {
|
|
710
709
|
const ret = new Map();
|
|
711
710
|
return ret;
|
|
712
711
|
};
|
|
@@ -798,8 +797,8 @@ function __wbg_get_imports() {
|
|
|
798
797
|
const ret = false;
|
|
799
798
|
return ret;
|
|
800
799
|
};
|
|
801
|
-
imports.wbg.
|
|
802
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
800
|
+
imports.wbg.__wbindgen_closure_wrapper1971 = function(arg0, arg1, arg2) {
|
|
801
|
+
const ret = makeMutClosure(arg0, arg1, 577, __wbg_adapter_30);
|
|
803
802
|
return ret;
|
|
804
803
|
};
|
|
805
804
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/web/acvm_js_bg.wasm
CHANGED
|
Binary file
|
package/web/acvm_js_bg.wasm.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const buildInfo: () => any;
|
|
4
5
|
export const compressWitness: (a: any) => [number, number, number, number];
|
|
5
6
|
export const decompressWitness: (a: number, b: number) => [number, number, number];
|
|
6
7
|
export const compressWitnessStack: (a: any) => [number, number, number, number];
|
|
@@ -12,7 +13,6 @@ export const initLogLevel: (a: number, b: number) => [number, number];
|
|
|
12
13
|
export const getReturnWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
13
14
|
export const getPublicParametersWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
14
15
|
export const getPublicWitness: (a: number, b: number, c: any) => [number, number, number];
|
|
15
|
-
export const buildInfo: () => any;
|
|
16
16
|
export const and: (a: any, b: any) => any;
|
|
17
17
|
export const xor: (a: any, b: any) => any;
|
|
18
18
|
export const sha256_compression: (a: number, b: number, c: number, d: number) => [number, number];
|
|
@@ -27,7 +27,7 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
|
27
27
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
28
28
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
30
|
+
export const closure576_externref_shim: (a: number, b: number, c: any) => void;
|
|
31
|
+
export const closure1171_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
32
|
+
export const closure1175_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
export const __wbindgen_start: () => void;
|