@noir-lang/acvm_js 1.0.0-beta.4-aceb4fc.nightly → 1.0.0-beta.5

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;
package/nodejs/acvm_js.js CHANGED
@@ -552,12 +552,12 @@ module.exports.__wbg_call_833bed5770ea2041 = function() { return handleError(fun
552
552
  return ret;
553
553
  }, arguments) };
554
554
 
555
- module.exports.__wbg_constructor_6f67fe370a1d12e4 = function(arg0) {
555
+ module.exports.__wbg_constructor_3e5bc3dc79a9d0b5 = function(arg0) {
556
556
  const ret = new Error(arg0);
557
557
  return ret;
558
558
  };
559
559
 
560
- module.exports.__wbg_constructor_e1ce7ec5d0c26936 = function(arg0) {
560
+ module.exports.__wbg_constructor_635df50143ef60f3 = function(arg0) {
561
561
  const ret = new Error(arg0);
562
562
  return ret;
563
563
  };
@@ -673,6 +673,11 @@ module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
673
673
  }
674
674
  };
675
675
 
676
+ module.exports.__wbg_new_25051b8b4ad00d54 = function() {
677
+ const ret = new Array();
678
+ return ret;
679
+ };
680
+
676
681
  module.exports.__wbg_new_5e0be73521bc8c17 = function() {
677
682
  const ret = new Map();
678
683
  return ret;
@@ -688,12 +693,7 @@ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
688
693
  return ret;
689
694
  };
690
695
 
691
- module.exports.__wbg_new_afcb88b732711926 = function() {
692
- const ret = new Array();
693
- return ret;
694
- };
695
-
696
- module.exports.__wbg_new_c4d92c865672cdba = function() {
696
+ module.exports.__wbg_new_8c9cda6002b75bf5 = function() {
697
697
  const ret = new Map();
698
698
  return ret;
699
699
  };
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-aceb4fc.nightly",
3
+ "version": "1.0.0-beta.5",
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;
package/web/acvm_js.js CHANGED
@@ -579,11 +579,11 @@ function __wbg_get_imports() {
579
579
  const ret = arg0.call(arg1, arg2, arg3);
580
580
  return ret;
581
581
  }, arguments) };
582
- imports.wbg.__wbg_constructor_6f67fe370a1d12e4 = function(arg0) {
582
+ imports.wbg.__wbg_constructor_3e5bc3dc79a9d0b5 = function(arg0) {
583
583
  const ret = new Error(arg0);
584
584
  return ret;
585
585
  };
586
- imports.wbg.__wbg_constructor_e1ce7ec5d0c26936 = function(arg0) {
586
+ imports.wbg.__wbg_constructor_635df50143ef60f3 = function(arg0) {
587
587
  const ret = new Error(arg0);
588
588
  return ret;
589
589
  };
@@ -684,6 +684,10 @@ function __wbg_get_imports() {
684
684
  state0.a = state0.b = 0;
685
685
  }
686
686
  };
687
+ imports.wbg.__wbg_new_25051b8b4ad00d54 = function() {
688
+ const ret = new Array();
689
+ return ret;
690
+ };
687
691
  imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
688
692
  const ret = new Map();
689
693
  return ret;
@@ -696,11 +700,7 @@ function __wbg_get_imports() {
696
700
  const ret = new Error();
697
701
  return ret;
698
702
  };
699
- imports.wbg.__wbg_new_afcb88b732711926 = function() {
700
- const ret = new Array();
701
- return ret;
702
- };
703
- imports.wbg.__wbg_new_c4d92c865672cdba = function() {
703
+ imports.wbg.__wbg_new_8c9cda6002b75bf5 = function() {
704
704
  const ret = new Map();
705
705
  return ret;
706
706
  };
Binary file