@noir-lang/noir_wasm 1.0.0-beta.5-b657b07.nightly → 1.0.0-beta.6-e796dfd.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.
@@ -4,7 +4,7 @@
4
4
  "The Noir Team <team@noir-lang.org>"
5
5
  ],
6
6
  "description": "A JS interface to the Noir compiler",
7
- "version": "1.0.0-beta.5",
7
+ "version": "1.0.0-beta.6",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
@@ -5,7 +5,7 @@
5
5
  "The Noir Team <team@noir-lang.org>"
6
6
  ],
7
7
  "description": "A JS interface to the Noir compiler",
8
- "version": "1.0.0-beta.5",
8
+ "version": "1.0.0-beta.6",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",
Binary file
package/dist/node/main.js CHANGED
@@ -11471,6 +11471,23 @@ module.exports.compile_contract = function(entry_point, dependency_graph, file_s
11471
11471
  return takeFromExternrefTable0(ret[0]);
11472
11472
  };
11473
11473
 
11474
+ /**
11475
+ * @param {string} level
11476
+ */
11477
+ module.exports.init_log_level = function(level) {
11478
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
11479
+ const len0 = WASM_VECTOR_LEN;
11480
+ wasm.init_log_level(ptr0, len0);
11481
+ };
11482
+
11483
+ /**
11484
+ * @returns {any}
11485
+ */
11486
+ module.exports.build_info = function() {
11487
+ const ret = wasm.build_info();
11488
+ return ret;
11489
+ };
11490
+
11474
11491
  /**
11475
11492
  * This is a method that exposes the same API as `compile`
11476
11493
  * But uses the Context based APi internally
@@ -11511,23 +11528,6 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
11511
11528
  return takeFromExternrefTable0(ret[0]);
11512
11529
  };
11513
11530
 
11514
- /**
11515
- * @param {string} level
11516
- */
11517
- module.exports.init_log_level = function(level) {
11518
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
11519
- const len0 = WASM_VECTOR_LEN;
11520
- wasm.init_log_level(ptr0, len0);
11521
- };
11522
-
11523
- /**
11524
- * @returns {any}
11525
- */
11526
- module.exports.build_info = function() {
11527
- const ret = wasm.build_info();
11528
- return ret;
11529
- };
11530
-
11531
11531
  const CompilerContextFinalization = (typeof FinalizationRegistry === 'undefined')
11532
11532
  ? { register: () => {}, unregister: () => {} }
11533
11533
  : new FinalizationRegistry(ptr => wasm.__wbg_compilercontext_free(ptr >>> 0, 1));
@@ -11700,17 +11700,17 @@ class PathToFileSourceMap {
11700
11700
  }
11701
11701
  module.exports.PathToFileSourceMap = PathToFileSourceMap;
11702
11702
 
11703
- module.exports.__wbg_constructor_3dadd769c5a1a118 = function() {
11704
- const ret = new Object();
11703
+ module.exports.__wbg_constructor_3902903c1f5d4112 = function(arg0) {
11704
+ const ret = new Error(arg0);
11705
11705
  return ret;
11706
11706
  };
11707
11707
 
11708
- module.exports.__wbg_constructor_5f09562a541125e5 = function(arg0) {
11709
- const ret = new Error(arg0);
11708
+ module.exports.__wbg_constructor_a76a8a7d51ed51ad = function() {
11709
+ const ret = new Object();
11710
11710
  return ret;
11711
11711
  };
11712
11712
 
11713
- module.exports.__wbg_constructor_dca104070aa08fab = function() {
11713
+ module.exports.__wbg_constructor_fdbebea93e1b63a2 = function() {
11714
11714
  const ret = new Object();
11715
11715
  return ret;
11716
11716
  };