@noir-lang/noir_wasm 0.36.0 → 0.37.0-b8654f7.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/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 +20 -21
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +4 -4
- package/dist/types/build/esm/index.d.ts +8 -8
- package/dist/web/main.mjs +21 -22
- 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
|
@@ -191,6 +191,22 @@ function debugString(val) {
|
|
|
191
191
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
192
192
|
return className;
|
|
193
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* @param {string} level
|
|
196
|
+
*/
|
|
197
|
+
module.exports.init_log_level = function(level) {
|
|
198
|
+
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
199
|
+
const len0 = WASM_VECTOR_LEN;
|
|
200
|
+
wasm.init_log_level(ptr0, len0);
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @returns {any}
|
|
205
|
+
*/
|
|
206
|
+
module.exports.build_info = function() {
|
|
207
|
+
const ret = wasm.build_info();
|
|
208
|
+
return takeObject(ret);
|
|
209
|
+
};
|
|
194
210
|
|
|
195
211
|
function _assertClass(instance, klass) {
|
|
196
212
|
if (!(instance instanceof klass)) {
|
|
@@ -306,23 +322,6 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
|
|
|
306
322
|
}
|
|
307
323
|
};
|
|
308
324
|
|
|
309
|
-
/**
|
|
310
|
-
* @param {string} level
|
|
311
|
-
*/
|
|
312
|
-
module.exports.init_log_level = function(level) {
|
|
313
|
-
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
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
325
|
function handleError(f, args) {
|
|
327
326
|
try {
|
|
328
327
|
return f.apply(this, args);
|
|
@@ -523,8 +522,8 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
523
522
|
takeObject(arg0);
|
|
524
523
|
};
|
|
525
524
|
|
|
526
|
-
module.exports.
|
|
527
|
-
const ret = new
|
|
525
|
+
module.exports.__wbg_constructor_b2eb6c76844c9298 = function(arg0) {
|
|
526
|
+
const ret = new Error(takeObject(arg0));
|
|
528
527
|
return addHeapObject(ret);
|
|
529
528
|
};
|
|
530
529
|
|
|
@@ -533,8 +532,8 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
533
532
|
return ret;
|
|
534
533
|
};
|
|
535
534
|
|
|
536
|
-
module.exports.
|
|
537
|
-
const ret = new
|
|
535
|
+
module.exports.__wbg_constructor_42de8bc8dcb2b8b0 = function() {
|
|
536
|
+
const ret = new Object();
|
|
538
537
|
return addHeapObject(ret);
|
|
539
538
|
};
|
|
540
539
|
|