@aztec/noir-acvm_js 4.0.0-nightly.20260108 → 4.0.0-nightly.20260110

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.
@@ -131,20 +131,6 @@ export type ExecutionError = Error & {
131
131
 
132
132
 
133
133
 
134
- export type ForeignCallInput = string[]
135
- export type ForeignCallOutput = string | string[]
136
-
137
- /**
138
- * A callback which performs an foreign call and returns the response.
139
- * @callback ForeignCallHandler
140
- * @param {string} name - The identifier for the type of foreign call being performed.
141
- * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
142
- * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
143
- */
144
- export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
145
-
146
-
147
-
148
134
  // Map from witness index to hex string value of witness.
149
135
  export type WitnessMap = Map<number, string>;
150
136
 
@@ -160,6 +146,20 @@ export type SolvedAndReturnWitness = {
160
146
 
161
147
 
162
148
 
149
+ export type ForeignCallInput = string[]
150
+ export type ForeignCallOutput = string | string[]
151
+
152
+ /**
153
+ * A callback which performs an foreign call and returns the response.
154
+ * @callback ForeignCallHandler
155
+ * @param {string} name - The identifier for the type of foreign call being performed.
156
+ * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
157
+ * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
158
+ */
159
+ export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
160
+
161
+
162
+
163
163
  export type StackItem = {
164
164
  index: number;
165
165
  witness: WitnessMap;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/noir-acvm_js",
3
- "version": "4.0.0-nightly.20260108",
3
+ "version": "4.0.0-nightly.20260110",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/web/acvm_js.d.ts CHANGED
@@ -131,20 +131,6 @@ export type ExecutionError = Error & {
131
131
 
132
132
 
133
133
 
134
- export type ForeignCallInput = string[]
135
- export type ForeignCallOutput = string | string[]
136
-
137
- /**
138
- * A callback which performs an foreign call and returns the response.
139
- * @callback ForeignCallHandler
140
- * @param {string} name - The identifier for the type of foreign call being performed.
141
- * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
142
- * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
143
- */
144
- export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
145
-
146
-
147
-
148
134
  // Map from witness index to hex string value of witness.
149
135
  export type WitnessMap = Map<number, string>;
150
136
 
@@ -160,6 +146,20 @@ export type SolvedAndReturnWitness = {
160
146
 
161
147
 
162
148
 
149
+ export type ForeignCallInput = string[]
150
+ export type ForeignCallOutput = string | string[]
151
+
152
+ /**
153
+ * A callback which performs an foreign call and returns the response.
154
+ * @callback ForeignCallHandler
155
+ * @param {string} name - The identifier for the type of foreign call being performed.
156
+ * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
157
+ * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
158
+ */
159
+ export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
160
+
161
+
162
+
163
163
  export type StackItem = {
164
164
  index: number;
165
165
  witness: WitnessMap;
Binary file