@noir-lang/noir_wasm 0.22.0-57eae42.nightly → 0.22.0-d025731.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.
@@ -11,9 +11,9 @@
11
11
  */
12
12
  export function compile_(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
13
13
  /**
14
- * @param {string} level
14
+ * @param {string} filter
15
15
  */
16
- export function init_log_level(level: string): void;
16
+ export function init_log_level(filter: string): void;
17
17
  /**
18
18
  * @returns {any}
19
19
  */
@@ -219,10 +219,10 @@ module.exports.compile_ = function(entry_point, contracts, dependency_graph, fil
219
219
  };
220
220
 
221
221
  /**
222
- * @param {string} level
222
+ * @param {string} filter
223
223
  */
224
- module.exports.init_log_level = function(level) {
225
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
224
+ module.exports.init_log_level = function(filter) {
225
+ const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
226
226
  const len0 = WASM_VECTOR_LEN;
227
227
  wasm.init_log_level(ptr0, len0);
228
228
  };
@@ -467,11 +467,6 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
467
467
  return ret;
468
468
  };
469
469
 
470
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
471
- const ret = getStringFromWasm0(arg0, arg1);
472
- return addHeapObject(ret);
473
- };
474
-
475
470
  module.exports.__wbg_new_abda76e883ba8a5f = function() {
476
471
  const ret = new Error();
477
472
  return addHeapObject(ret);
@@ -497,6 +492,15 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
497
492
  }
498
493
  };
499
494
 
495
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
496
+ const ret = getStringFromWasm0(arg0, arg1);
497
+ return addHeapObject(ret);
498
+ };
499
+
500
+ module.exports.__wbg_debug_e3f6a1578e6d45ca = function(arg0) {
501
+ console.debug(getObject(arg0));
502
+ };
503
+
500
504
  module.exports.__wbg_debug_efabe4eb183aa5d4 = function(arg0, arg1, arg2, arg3) {
501
505
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
502
506
  };
@@ -509,12 +513,16 @@ module.exports.__wbg_error_50f42b952a595a23 = function(arg0, arg1, arg2, arg3) {
509
513
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
510
514
  };
511
515
 
516
+ module.exports.__wbg_info_05db236d79f1b785 = function(arg0) {
517
+ console.info(getObject(arg0));
518
+ };
519
+
512
520
  module.exports.__wbg_info_24d8f53d98f12b95 = function(arg0, arg1, arg2, arg3) {
513
521
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
514
522
  };
515
523
 
516
- module.exports.__wbg_log_9b164efbe6db702f = function(arg0, arg1, arg2, arg3) {
517
- console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
524
+ module.exports.__wbg_warn_9bdd743e9f5fe1e0 = function(arg0) {
525
+ console.warn(getObject(arg0));
518
526
  };
519
527
 
520
528
  module.exports.__wbg_warn_8342bfbc6028193a = function(arg0, arg1, arg2, arg3) {
Binary file
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "The Noir Team <team@noir-lang.org>"
5
5
  ],
6
- "version": "0.22.0-57eae42.nightly",
6
+ "version": "0.22.0-d025731.nightly",
7
7
  "license": "(MIT OR Apache-2.0)",
8
8
  "main": "./nodejs/noir_wasm.js",
9
9
  "types": "./web/noir_wasm.d.ts",
@@ -11,9 +11,9 @@
11
11
  */
12
12
  export function compile_(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
13
13
  /**
14
- * @param {string} level
14
+ * @param {string} filter
15
15
  */
16
- export function init_log_level(level: string): void;
16
+ export function init_log_level(filter: string): void;
17
17
  /**
18
18
  * @returns {any}
19
19
  */
package/web/noir_wasm.js CHANGED
@@ -216,10 +216,10 @@ export function compile_(entry_point, contracts, dependency_graph, file_source_m
216
216
  }
217
217
 
218
218
  /**
219
- * @param {string} level
219
+ * @param {string} filter
220
220
  */
221
- export function init_log_level(level) {
222
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
221
+ export function init_log_level(filter) {
222
+ const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
223
223
  const len0 = WASM_VECTOR_LEN;
224
224
  wasm.init_log_level(ptr0, len0);
225
225
  }
@@ -491,10 +491,6 @@ function __wbg_get_imports() {
491
491
  const ret = getObject(arg0) === undefined;
492
492
  return ret;
493
493
  };
494
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
495
- const ret = getStringFromWasm0(arg0, arg1);
496
- return addHeapObject(ret);
497
- };
498
494
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
499
495
  const ret = new Error();
500
496
  return addHeapObject(ret);
@@ -517,6 +513,13 @@ function __wbg_get_imports() {
517
513
  wasm.__wbindgen_export_2(deferred0_0, deferred0_1);
518
514
  }
519
515
  };
516
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
517
+ const ret = getStringFromWasm0(arg0, arg1);
518
+ return addHeapObject(ret);
519
+ };
520
+ imports.wbg.__wbg_debug_e3f6a1578e6d45ca = function(arg0) {
521
+ console.debug(getObject(arg0));
522
+ };
520
523
  imports.wbg.__wbg_debug_efabe4eb183aa5d4 = function(arg0, arg1, arg2, arg3) {
521
524
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
522
525
  };
@@ -526,11 +529,14 @@ function __wbg_get_imports() {
526
529
  imports.wbg.__wbg_error_50f42b952a595a23 = function(arg0, arg1, arg2, arg3) {
527
530
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
528
531
  };
532
+ imports.wbg.__wbg_info_05db236d79f1b785 = function(arg0) {
533
+ console.info(getObject(arg0));
534
+ };
529
535
  imports.wbg.__wbg_info_24d8f53d98f12b95 = function(arg0, arg1, arg2, arg3) {
530
536
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
531
537
  };
532
- imports.wbg.__wbg_log_9b164efbe6db702f = function(arg0, arg1, arg2, arg3) {
533
- console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
538
+ imports.wbg.__wbg_warn_9bdd743e9f5fe1e0 = function(arg0) {
539
+ console.warn(getObject(arg0));
534
540
  };
535
541
  imports.wbg.__wbg_warn_8342bfbc6028193a = function(arg0, arg1, arg2, arg3) {
536
542
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
Binary file