@noir-lang/noir_wasm 0.3.2-38bf571 → 0.3.2-41e0020

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # Noir Lang WASM JavaScript Package
2
2
 
3
3
  ## Tracks
4
- Noir lang Repository [noir-lang/noir@38bf571](https://github.com/noir-lang/noir/tree/38bf5719d1757d39c89ecee0a6653a5d9da29c21)
4
+ Noir lang Repository [noir-lang/noir@41e0020](https://github.com/noir-lang/noir/tree/41e00207b0eeae4d0285c617acac72c780cb0900)
@@ -1,10 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} level
5
- */
6
- export function init_log_level(level: string): void;
7
- /**
8
4
  * @param {any} args
9
5
  * @returns {any}
10
6
  */
@@ -30,6 +26,10 @@ export function acir_read_bytes(bytes: Uint8Array): any;
30
26
  */
31
27
  export function acir_write_bytes(acir: any): Uint8Array;
32
28
  /**
29
+ * @param {string} level
30
+ */
31
+ export function init_log_level(level: string): void;
32
+ /**
33
33
  * @returns {any}
34
34
  */
35
35
  export function build_info(): any;
@@ -117,15 +117,6 @@ function getInt32Memory0() {
117
117
  }
118
118
  return cachedInt32Memory0;
119
119
  }
120
- /**
121
- * @param {string} level
122
- */
123
- module.exports.init_log_level = function(level) {
124
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
125
- const len0 = WASM_VECTOR_LEN;
126
- wasm.init_log_level(ptr0, len0);
127
- };
128
-
129
120
  /**
130
121
  * @param {any} args
131
122
  * @returns {any}
@@ -202,6 +193,15 @@ module.exports.acir_write_bytes = function(acir) {
202
193
  }
203
194
  };
204
195
 
196
+ /**
197
+ * @param {string} level
198
+ */
199
+ module.exports.init_log_level = function(level) {
200
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
201
+ const len0 = WASM_VECTOR_LEN;
202
+ wasm.init_log_level(ptr0, len0);
203
+ };
204
+
205
205
  /**
206
206
  * @returns {any}
207
207
  */
@@ -232,6 +232,11 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
232
232
  takeObject(arg0);
233
233
  };
234
234
 
235
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
236
+ const ret = getStringFromWasm0(arg0, arg1);
237
+ return addHeapObject(ret);
238
+ };
239
+
235
240
  module.exports.__wbg_new_abda76e883ba8a5f = function() {
236
241
  const ret = new Error();
237
242
  return addHeapObject(ret);
@@ -253,11 +258,6 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
253
258
  }
254
259
  };
255
260
 
256
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
257
- const ret = getStringFromWasm0(arg0, arg1);
258
- return addHeapObject(ret);
259
- };
260
-
261
261
  module.exports.__wbg_readfile_a43240e6f11dd5eb = function() { return handleError(function (arg0, arg1, arg2) {
262
262
  const ret = read_file(getStringFromWasm0(arg1, arg2));
263
263
  const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
Binary file
@@ -1,12 +1,12 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export function init_log_level(a: number, b: number): void;
5
4
  export function compile(a: number): number;
6
5
  export function acir_from_bytes(a: number, b: number): number;
7
6
  export function acir_to_bytes(a: number, b: number): void;
8
7
  export function acir_read_bytes(a: number, b: number): number;
9
8
  export function acir_write_bytes(a: number, b: number): void;
9
+ export function init_log_level(a: number, b: number): void;
10
10
  export function build_info(): number;
11
11
  export function __wbindgen_export_0(a: number): number;
12
12
  export function __wbindgen_export_1(a: number, b: number, c: number): number;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "The Noir Team <kevtheappdev@gmail.com>"
5
5
  ],
6
- "version": "0.3.2-38bf571",
6
+ "version": "0.3.2-41e0020",
7
7
  "files": [
8
8
  "nodejs",
9
9
  "web",
@@ -21,6 +21,6 @@
21
21
  "url": "https://github.com/noir-lang/noir_wasm.git"
22
22
  },
23
23
  "compiler": {
24
- "versionHash": "38bf5719d1757d39c89ecee0a6653a5d9da29c21"
24
+ "versionHash": "41e00207b0eeae4d0285c617acac72c780cb0900"
25
25
  }
26
26
  }
@@ -1,10 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} level
5
- */
6
- export function init_log_level(level: string): void;
7
- /**
8
4
  * @param {any} args
9
5
  * @returns {any}
10
6
  */
@@ -30,6 +26,10 @@ export function acir_read_bytes(bytes: Uint8Array): any;
30
26
  */
31
27
  export function acir_write_bytes(acir: any): Uint8Array;
32
28
  /**
29
+ * @param {string} level
30
+ */
31
+ export function init_log_level(level: string): void;
32
+ /**
33
33
  * @returns {any}
34
34
  */
35
35
  export function build_info(): any;
@@ -38,12 +38,12 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
38
38
 
39
39
  export interface InitOutput {
40
40
  readonly memory: WebAssembly.Memory;
41
- readonly init_log_level: (a: number, b: number) => void;
42
41
  readonly compile: (a: number) => number;
43
42
  readonly acir_from_bytes: (a: number, b: number) => number;
44
43
  readonly acir_to_bytes: (a: number, b: number) => void;
45
44
  readonly acir_read_bytes: (a: number, b: number) => number;
46
45
  readonly acir_write_bytes: (a: number, b: number) => void;
46
+ readonly init_log_level: (a: number, b: number) => void;
47
47
  readonly build_info: () => number;
48
48
  readonly __wbindgen_export_0: (a: number) => number;
49
49
  readonly __wbindgen_export_1: (a: number, b: number, c: number) => number;
package/web/noir_wasm.js CHANGED
@@ -115,15 +115,6 @@ function getInt32Memory0() {
115
115
  }
116
116
  return cachedInt32Memory0;
117
117
  }
118
- /**
119
- * @param {string} level
120
- */
121
- export function init_log_level(level) {
122
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
123
- const len0 = WASM_VECTOR_LEN;
124
- wasm.init_log_level(ptr0, len0);
125
- }
126
-
127
118
  /**
128
119
  * @param {any} args
129
120
  * @returns {any}
@@ -200,6 +191,15 @@ export function acir_write_bytes(acir) {
200
191
  }
201
192
  }
202
193
 
194
+ /**
195
+ * @param {string} level
196
+ */
197
+ export function init_log_level(level) {
198
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
199
+ const len0 = WASM_VECTOR_LEN;
200
+ wasm.init_log_level(ptr0, len0);
201
+ }
202
+
203
203
  /**
204
204
  * @returns {any}
205
205
  */
@@ -261,6 +261,10 @@ function getImports() {
261
261
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
262
262
  takeObject(arg0);
263
263
  };
264
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
265
+ const ret = getStringFromWasm0(arg0, arg1);
266
+ return addHeapObject(ret);
267
+ };
264
268
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
265
269
  const ret = new Error();
266
270
  return addHeapObject(ret);
@@ -279,10 +283,6 @@ function getImports() {
279
283
  wasm.__wbindgen_export_2(arg0, arg1);
280
284
  }
281
285
  };
282
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
283
- const ret = getStringFromWasm0(arg0, arg1);
284
- return addHeapObject(ret);
285
- };
286
286
  imports.wbg.__wbg_readfile_a43240e6f11dd5eb = function() { return handleError(function (arg0, arg1, arg2) {
287
287
  const ret = read_file(getStringFromWasm0(arg1, arg2));
288
288
  const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
Binary file
@@ -1,12 +1,12 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export function init_log_level(a: number, b: number): void;
5
4
  export function compile(a: number): number;
6
5
  export function acir_from_bytes(a: number, b: number): number;
7
6
  export function acir_to_bytes(a: number, b: number): void;
8
7
  export function acir_read_bytes(a: number, b: number): number;
9
8
  export function acir_write_bytes(a: number, b: number): void;
9
+ export function init_log_level(a: number, b: number): void;
10
10
  export function build_info(): number;
11
11
  export function __wbindgen_export_0(a: number): number;
12
12
  export function __wbindgen_export_1(a: number, b: number, c: number): number;