@noir-lang/acvm_js 1.0.0-beta.4-b8d04d6.nightly → 1.0.0-beta.4-61156aa.nightly

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 BuildInfo = {
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
  export type RawAssertionPayload = {
149
135
  selector: string;
150
136
  data: string[];
@@ -159,6 +145,20 @@ export type ExecutionError = Error & {
159
145
 
160
146
 
161
147
 
148
+ export type ForeignCallInput = string[]
149
+ export type ForeignCallOutput = string | string[]
150
+
151
+ /**
152
+ * A callback which performs an foreign call and returns the response.
153
+ * @callback ForeignCallHandler
154
+ * @param {string} name - The identifier for the type of foreign call being performed.
155
+ * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
156
+ * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
157
+ */
158
+ export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
159
+
160
+
161
+
162
162
  export type StackItem = {
163
163
  index: number;
164
164
  witness: WitnessMap;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noir-lang/acvm_js",
3
- "version": "1.0.0-beta.4-b8d04d6.nightly",
3
+ "version": "1.0.0-beta.4-61156aa.nightly",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/web/acvm_js.d.ts CHANGED
@@ -131,20 +131,6 @@ export type BuildInfo = {
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
  export type RawAssertionPayload = {
149
135
  selector: string;
150
136
  data: string[];
@@ -159,6 +145,20 @@ export type ExecutionError = Error & {
159
145
 
160
146
 
161
147
 
148
+ export type ForeignCallInput = string[]
149
+ export type ForeignCallOutput = string | string[]
150
+
151
+ /**
152
+ * A callback which performs an foreign call and returns the response.
153
+ * @callback ForeignCallHandler
154
+ * @param {string} name - The identifier for the type of foreign call being performed.
155
+ * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
156
+ * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
157
+ */
158
+ export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
159
+
160
+
161
+
162
162
  export type StackItem = {
163
163
  index: number;
164
164
  witness: WitnessMap;
Binary file