@noir-lang/noir_wasm 0.31.0-e100017.nightly → 0.31.0-ec728dd.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.
Binary file
package/dist/node/main.js CHANGED
@@ -254,6 +254,23 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
254
254
  }
255
255
  };
256
256
 
257
+ /**
258
+ * @param {string} level
259
+ */
260
+ module.exports.init_log_level = function(level) {
261
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
262
+ const len0 = WASM_VECTOR_LEN;
263
+ wasm.init_log_level(ptr0, len0);
264
+ };
265
+
266
+ /**
267
+ * @returns {any}
268
+ */
269
+ module.exports.build_info = function() {
270
+ const ret = wasm.build_info();
271
+ return takeObject(ret);
272
+ };
273
+
257
274
  /**
258
275
  * @param {string} entry_point
259
276
  * @param {DependencyGraph | undefined} dependency_graph
@@ -306,23 +323,6 @@ module.exports.compile_contract = function(entry_point, dependency_graph, file_s
306
323
  }
307
324
  };
308
325
 
309
- /**
310
- * @param {string} level
311
- */
312
- module.exports.init_log_level = function(level) {
313
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
314
- const len0 = WASM_VECTOR_LEN;
315
- wasm.init_log_level(ptr0, len0);
316
- };
317
-
318
- /**
319
- * @returns {any}
320
- */
321
- module.exports.build_info = function() {
322
- const ret = wasm.build_info();
323
- return takeObject(ret);
324
- };
325
-
326
326
  function handleError(f, args) {
327
327
  try {
328
328
  return f.apply(this, args);
@@ -523,8 +523,8 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
523
523
  takeObject(arg0);
524
524
  };
525
525
 
526
- module.exports.__wbg_constructor_23a70262203c0d24 = function() {
527
- const ret = new Object();
526
+ module.exports.__wbg_constructor_2a2d75afec348bca = function(arg0) {
527
+ const ret = new Error(takeObject(arg0));
528
528
  return addHeapObject(ret);
529
529
  };
530
530
 
@@ -533,8 +533,8 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
533
533
  return ret;
534
534
  };
535
535
 
536
- module.exports.__wbg_constructor_2a2d75afec348bca = function(arg0) {
537
- const ret = new Error(takeObject(arg0));
536
+ module.exports.__wbg_constructor_23a70262203c0d24 = function() {
537
+ const ret = new Object();
538
538
  return addHeapObject(ret);
539
539
  };
540
540