@aztec/noir-acvm_js 0.0.1-commit.59e663cd → 0.0.1-commit.5cf06de3
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_bg.wasm +0 -0
- package/package.json +2 -2
- package/web/acvm_js.d.ts +14 -14
- package/web/acvm_js_bg.wasm +0 -0
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_bg.wasm
CHANGED
|
Binary file
|
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.5cf06de3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"eslint": "^9.39.2",
|
|
46
46
|
"eslint-plugin-prettier": "^5.5.5",
|
|
47
47
|
"mocha": "^11.7.5",
|
|
48
|
-
"prettier": "3.8.
|
|
48
|
+
"prettier": "3.8.1",
|
|
49
49
|
"ts-node": "^10.9.2",
|
|
50
50
|
"typescript": "^5.8.3"
|
|
51
51
|
}
|
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 {
|
package/web/acvm_js_bg.wasm
CHANGED
|
Binary file
|