@aztec/noir-acvm_js 0.0.1-commit.a072138 → 0.0.1-commit.aada20e3
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 +14 -14
- package/nodejs/acvm_js.js +2 -2
- package/nodejs/acvm_js_bg.wasm +0 -0
- package/nodejs/acvm_js_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/acvm_js.d.ts +16 -16
- package/web/acvm_js.js +2 -2
- package/web/acvm_js_bg.wasm +0 -0
- package/web/acvm_js_bg.wasm.d.ts +2 -2
package/nodejs/acvm_js.d.ts
CHANGED
|
@@ -140,6 +140,20 @@ export type BuildInfo = {
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
143
|
+
export type ForeignCallInput = string[]
|
|
144
|
+
export type ForeignCallOutput = string | string[]
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* A callback which performs an foreign call and returns the response.
|
|
148
|
+
* @callback ForeignCallHandler
|
|
149
|
+
* @param {string} name - The identifier for the type of foreign call being performed.
|
|
150
|
+
* @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
|
|
151
|
+
* @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
|
|
152
|
+
*/
|
|
153
|
+
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
143
157
|
export type RawAssertionPayload = {
|
|
144
158
|
selector: string;
|
|
145
159
|
data: string[];
|
|
@@ -168,17 +182,3 @@ export type SolvedAndReturnWitness = {
|
|
|
168
182
|
}
|
|
169
183
|
|
|
170
184
|
|
|
171
|
-
|
|
172
|
-
export type ForeignCallInput = string[]
|
|
173
|
-
export type ForeignCallOutput = string | string[]
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* A callback which performs an foreign call and returns the response.
|
|
177
|
-
* @callback ForeignCallHandler
|
|
178
|
-
* @param {string} name - The identifier for the type of foreign call being performed.
|
|
179
|
-
* @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
|
|
180
|
-
* @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
|
|
181
|
-
*/
|
|
182
|
-
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
183
|
-
|
|
184
|
-
|
package/nodejs/acvm_js.js
CHANGED
|
@@ -531,11 +531,11 @@ function __wbg_adapter_30(arg0, arg1, arg2) {
|
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
function __wbg_adapter_89(arg0, arg1, arg2, arg3, arg4) {
|
|
534
|
-
wasm.
|
|
534
|
+
wasm.closure933_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
538
|
-
wasm.
|
|
538
|
+
wasm.closure937_externref_shim(arg0, arg1, arg2, arg3);
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
package/nodejs/acvm_js_bg.wasm
CHANGED
|
Binary file
|
|
@@ -28,6 +28,6 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
28
28
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
30
|
export const closure448_externref_shim: (a: number, b: number, c: any) => void;
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
31
|
+
export const closure933_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
32
|
+
export const closure937_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
export const __wbindgen_start: () => void;
|
package/package.json
CHANGED
package/web/acvm_js.d.ts
CHANGED
|
@@ -140,6 +140,20 @@ export type BuildInfo = {
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
143
|
+
export type ForeignCallInput = string[]
|
|
144
|
+
export type ForeignCallOutput = string | string[]
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* A callback which performs an foreign call and returns the response.
|
|
148
|
+
* @callback ForeignCallHandler
|
|
149
|
+
* @param {string} name - The identifier for the type of foreign call being performed.
|
|
150
|
+
* @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
|
|
151
|
+
* @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
|
|
152
|
+
*/
|
|
153
|
+
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
143
157
|
export type RawAssertionPayload = {
|
|
144
158
|
selector: string;
|
|
145
159
|
data: string[];
|
|
@@ -169,20 +183,6 @@ export type SolvedAndReturnWitness = {
|
|
|
169
183
|
|
|
170
184
|
|
|
171
185
|
|
|
172
|
-
export type ForeignCallInput = string[]
|
|
173
|
-
export type ForeignCallOutput = string | string[]
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* A callback which performs an foreign call and returns the response.
|
|
177
|
-
* @callback ForeignCallHandler
|
|
178
|
-
* @param {string} name - The identifier for the type of foreign call being performed.
|
|
179
|
-
* @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
|
|
180
|
-
* @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
|
|
181
|
-
*/
|
|
182
|
-
export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
186
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
187
187
|
|
|
188
188
|
export interface InitOutput {
|
|
@@ -214,8 +214,8 @@ export interface InitOutput {
|
|
|
214
214
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
215
215
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
216
216
|
readonly closure448_externref_shim: (a: number, b: number, c: any) => void;
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
217
|
+
readonly closure933_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
218
|
+
readonly closure937_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
|
@@ -527,11 +527,11 @@ function __wbg_adapter_30(arg0, arg1, arg2) {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
function __wbg_adapter_89(arg0, arg1, arg2, arg3, arg4) {
|
|
530
|
-
wasm.
|
|
530
|
+
wasm.closure933_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
534
|
-
wasm.
|
|
534
|
+
wasm.closure937_externref_shim(arg0, arg1, arg2, arg3);
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
async function __wbg_load(module, imports) {
|
package/web/acvm_js_bg.wasm
CHANGED
|
Binary file
|
package/web/acvm_js_bg.wasm.d.ts
CHANGED
|
@@ -28,6 +28,6 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
28
28
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
29
29
|
export const __externref_table_dealloc: (a: number) => void;
|
|
30
30
|
export const closure448_externref_shim: (a: number, b: number, c: any) => void;
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
31
|
+
export const closure933_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
32
|
+
export const closure937_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
33
33
|
export const __wbindgen_start: () => void;
|