@noir-lang/acvm_js 1.0.0-beta.15-b378d13.nightly → 1.0.0-beta.16

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.
@@ -141,20 +141,6 @@ export type WitnessStack = Array<StackItem>;
141
141
 
142
142
 
143
143
 
144
- export type ForeignCallInput = string[]
145
- export type ForeignCallOutput = string | string[]
146
-
147
- /**
148
- * A callback which performs an foreign call and returns the response.
149
- * @callback ForeignCallHandler
150
- * @param {string} name - The identifier for the type of foreign call being performed.
151
- * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
152
- * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
153
- */
154
- export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
155
-
156
-
157
-
158
144
  export type RawAssertionPayload = {
159
145
  selector: string;
160
146
  data: string[];
@@ -182,3 +168,17 @@ export type BuildInfo = {
182
168
  }
183
169
 
184
170
 
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
@@ -553,12 +553,12 @@ module.exports.__wbg_call_833bed5770ea2041 = function() { return handleError(fun
553
553
  return ret;
554
554
  }, arguments) };
555
555
 
556
- module.exports.__wbg_constructor_c63bcfd244db473f = function(arg0) {
556
+ module.exports.__wbg_constructor_3aef6db465a4d40f = function(arg0) {
557
557
  const ret = new Error(arg0);
558
558
  return ret;
559
559
  };
560
560
 
561
- module.exports.__wbg_constructor_e54436b6bd1581f7 = function(arg0) {
561
+ module.exports.__wbg_constructor_9cd41836d6991f28 = function(arg0) {
562
562
  const ret = new Error(arg0);
563
563
  return ret;
564
564
  };
@@ -674,11 +674,6 @@ module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
674
674
  }
675
675
  };
676
676
 
677
- module.exports.__wbg_new_36c79b224aeafbf0 = function() {
678
- const ret = new Array();
679
- return ret;
680
- };
681
-
682
677
  module.exports.__wbg_new_5e0be73521bc8c17 = function() {
683
678
  const ret = new Map();
684
679
  return ret;
@@ -694,8 +689,8 @@ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
694
689
  return ret;
695
690
  };
696
691
 
697
- module.exports.__wbg_new_c08cf36011667e78 = function() {
698
- const ret = new Map();
692
+ module.exports.__wbg_new_8e773a1674584163 = function() {
693
+ const ret = new Array();
699
694
  return ret;
700
695
  };
701
696
 
@@ -704,6 +699,11 @@ module.exports.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
704
699
  return ret;
705
700
  };
706
701
 
702
+ module.exports.__wbg_new_dd245daac54dc568 = function() {
703
+ const ret = new Map();
704
+ return ret;
705
+ };
706
+
707
707
  module.exports.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
708
708
  const ret = new Function(getStringFromWasm0(arg0, arg1));
709
709
  return ret;
@@ -813,7 +813,7 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
813
813
  return ret;
814
814
  };
815
815
 
816
- module.exports.__wbindgen_closure_wrapper1970 = function(arg0, arg1, arg2) {
816
+ module.exports.__wbindgen_closure_wrapper1971 = function(arg0, arg1, arg2) {
817
817
  const ret = makeMutClosure(arg0, arg1, 577, __wbg_adapter_30);
818
818
  return ret;
819
819
  };
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.15-b378d13.nightly",
3
+ "version": "1.0.0-beta.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -45,7 +45,7 @@
45
45
  "eslint": "^9.39.1",
46
46
  "eslint-plugin-prettier": "^5.5.4",
47
47
  "mocha": "^11.5.0",
48
- "prettier": "3.6.2",
48
+ "prettier": "3.7.3",
49
49
  "ts-node": "^10.9.2",
50
50
  "typescript": "^5.8.3"
51
51
  }
package/web/acvm_js.d.ts CHANGED
@@ -141,20 +141,6 @@ export type WitnessStack = Array<StackItem>;
141
141
 
142
142
 
143
143
 
144
- export type ForeignCallInput = string[]
145
- export type ForeignCallOutput = string | string[]
146
-
147
- /**
148
- * A callback which performs an foreign call and returns the response.
149
- * @callback ForeignCallHandler
150
- * @param {string} name - The identifier for the type of foreign call being performed.
151
- * @param {string[][]} inputs - An array of hex encoded inputs to the foreign call.
152
- * @returns {Promise<string[]>} outputs - An array of hex encoded outputs containing the results of the foreign call.
153
- */
154
- export type ForeignCallHandler = (name: string, inputs: ForeignCallInput[]) => Promise<ForeignCallOutput[]>;
155
-
156
-
157
-
158
144
  export type RawAssertionPayload = {
159
145
  selector: string;
160
146
  data: string[];
@@ -183,6 +169,20 @@ export type BuildInfo = {
183
169
 
184
170
 
185
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
+
185
+
186
186
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
187
187
 
188
188
  export interface InitOutput {
package/web/acvm_js.js CHANGED
@@ -580,11 +580,11 @@ function __wbg_get_imports() {
580
580
  const ret = arg0.call(arg1, arg2, arg3);
581
581
  return ret;
582
582
  }, arguments) };
583
- imports.wbg.__wbg_constructor_c63bcfd244db473f = function(arg0) {
583
+ imports.wbg.__wbg_constructor_3aef6db465a4d40f = function(arg0) {
584
584
  const ret = new Error(arg0);
585
585
  return ret;
586
586
  };
587
- imports.wbg.__wbg_constructor_e54436b6bd1581f7 = function(arg0) {
587
+ imports.wbg.__wbg_constructor_9cd41836d6991f28 = function(arg0) {
588
588
  const ret = new Error(arg0);
589
589
  return ret;
590
590
  };
@@ -685,10 +685,6 @@ function __wbg_get_imports() {
685
685
  state0.a = state0.b = 0;
686
686
  }
687
687
  };
688
- imports.wbg.__wbg_new_36c79b224aeafbf0 = function() {
689
- const ret = new Array();
690
- return ret;
691
- };
692
688
  imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
693
689
  const ret = new Map();
694
690
  return ret;
@@ -701,14 +697,18 @@ function __wbg_get_imports() {
701
697
  const ret = new Error();
702
698
  return ret;
703
699
  };
704
- imports.wbg.__wbg_new_c08cf36011667e78 = function() {
705
- const ret = new Map();
700
+ imports.wbg.__wbg_new_8e773a1674584163 = function() {
701
+ const ret = new Array();
706
702
  return ret;
707
703
  };
708
704
  imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
709
705
  const ret = new Error(getStringFromWasm0(arg0, arg1));
710
706
  return ret;
711
707
  };
708
+ imports.wbg.__wbg_new_dd245daac54dc568 = function() {
709
+ const ret = new Map();
710
+ return ret;
711
+ };
712
712
  imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
713
713
  const ret = new Function(getStringFromWasm0(arg0, arg1));
714
714
  return ret;
@@ -797,7 +797,7 @@ function __wbg_get_imports() {
797
797
  const ret = false;
798
798
  return ret;
799
799
  };
800
- imports.wbg.__wbindgen_closure_wrapper1970 = function(arg0, arg1, arg2) {
800
+ imports.wbg.__wbindgen_closure_wrapper1971 = function(arg0, arg1, arg2) {
801
801
  const ret = makeMutClosure(arg0, arg1, 577, __wbg_adapter_30);
802
802
  return ret;
803
803
  };
Binary file