@noir-lang/noir_wasm 1.0.0-beta.5-29f93d5.nightly → 1.0.0-beta.6
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/build/cjs/package.json +1 -1
- package/build/esm/package.json +1 -1
- package/dist/node/index_bg.wasm +0 -0
- package/dist/node/main.js +22 -22
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +5 -5
- package/dist/types/build/esm/index.d.ts +8 -8
- package/dist/web/main.mjs +23 -23
- package/dist/web/main.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/package.json
CHANGED
package/build/esm/package.json
CHANGED
package/dist/node/index_bg.wasm
CHANGED
|
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.
|
|
11704
|
-
const ret = new
|
|
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.
|
|
11709
|
-
const ret = new
|
|
11708
|
+
module.exports.__wbg_constructor_a76a8a7d51ed51ad = function() {
|
|
11709
|
+
const ret = new Object();
|
|
11710
11710
|
return ret;
|
|
11711
11711
|
};
|
|
11712
11712
|
|
|
11713
|
-
module.exports.
|
|
11713
|
+
module.exports.__wbg_constructor_fdbebea93e1b63a2 = function() {
|
|
11714
11714
|
const ret = new Object();
|
|
11715
11715
|
return ret;
|
|
11716
11716
|
};
|