@noir-lang/noir_wasm 1.0.0-beta.4-17958e3.nightly → 1.0.0-beta.4-097b116.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.
- package/dist/node/index_bg.wasm +0 -0
- package/dist/node/main.js +16 -17
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +2 -2
- package/dist/types/build/esm/index.d.ts +8 -8
- package/dist/types/src/types/noir_artifact.d.ts +8 -3
- package/dist/web/main.mjs +17 -18
- package/dist/web/main.mjs.map +1 -1
- package/package.json +2 -2
package/dist/node/index_bg.wasm
CHANGED
|
Binary file
|
package/dist/node/main.js
CHANGED
|
@@ -11423,6 +11423,22 @@ function debugString(val) {
|
|
|
11423
11423
|
function isLikeNone(x) {
|
|
11424
11424
|
return x === undefined || x === null;
|
|
11425
11425
|
}
|
|
11426
|
+
/**
|
|
11427
|
+
* @param {string} level
|
|
11428
|
+
*/
|
|
11429
|
+
module.exports.init_log_level = function(level) {
|
|
11430
|
+
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
11431
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11432
|
+
wasm.init_log_level(ptr0, len0);
|
|
11433
|
+
};
|
|
11434
|
+
|
|
11435
|
+
/**
|
|
11436
|
+
* @returns {any}
|
|
11437
|
+
*/
|
|
11438
|
+
module.exports.build_info = function() {
|
|
11439
|
+
const ret = wasm.build_info();
|
|
11440
|
+
return ret;
|
|
11441
|
+
};
|
|
11426
11442
|
|
|
11427
11443
|
function _assertClass(instance, klass) {
|
|
11428
11444
|
if (!(instance instanceof klass)) {
|
|
@@ -11511,23 +11527,6 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
|
|
|
11511
11527
|
return takeFromExternrefTable0(ret[0]);
|
|
11512
11528
|
};
|
|
11513
11529
|
|
|
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
11530
|
const CompilerContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
11532
11531
|
? { register: () => {}, unregister: () => {} }
|
|
11533
11532
|
: new FinalizationRegistry(ptr => wasm.__wbg_compilercontext_free(ptr >>> 0, 1));
|