@noir-lang/noir_wasm 0.31.0-ef44270.nightly → 0.32.0
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 +24 -24
- 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 +2286 -459
- 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
|
@@ -250,23 +250,6 @@ module.exports.compile_contract = function(entry_point, dependency_graph, file_s
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
/**
|
|
254
|
-
* @param {string} level
|
|
255
|
-
*/
|
|
256
|
-
module.exports.init_log_level = function(level) {
|
|
257
|
-
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
258
|
-
const len0 = WASM_VECTOR_LEN;
|
|
259
|
-
wasm.init_log_level(ptr0, len0);
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* @returns {any}
|
|
264
|
-
*/
|
|
265
|
-
module.exports.build_info = function() {
|
|
266
|
-
const ret = wasm.build_info();
|
|
267
|
-
return takeObject(ret);
|
|
268
|
-
};
|
|
269
|
-
|
|
270
253
|
/**
|
|
271
254
|
* This is a method that exposes the same API as `compile`
|
|
272
255
|
* But uses the Context based APi internally
|
|
@@ -323,6 +306,23 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
|
|
|
323
306
|
}
|
|
324
307
|
};
|
|
325
308
|
|
|
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);
|
|
@@ -519,21 +519,21 @@ class PathToFileSourceMap {
|
|
|
519
519
|
}
|
|
520
520
|
module.exports.PathToFileSourceMap = PathToFileSourceMap;
|
|
521
521
|
|
|
522
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
523
|
-
const ret = getObject(arg0) === undefined;
|
|
524
|
-
return ret;
|
|
525
|
-
};
|
|
526
|
-
|
|
527
522
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
528
523
|
takeObject(arg0);
|
|
529
524
|
};
|
|
530
525
|
|
|
531
|
-
module.exports.
|
|
526
|
+
module.exports.__wbg_constructor_1e8197daa87b8402 = function() {
|
|
532
527
|
const ret = new Object();
|
|
533
528
|
return addHeapObject(ret);
|
|
534
529
|
};
|
|
535
530
|
|
|
536
|
-
module.exports.
|
|
531
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
532
|
+
const ret = getObject(arg0) === undefined;
|
|
533
|
+
return ret;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
module.exports.__wbg_constructor_1c9ff776d22374a5 = function(arg0) {
|
|
537
537
|
const ret = new Error(takeObject(arg0));
|
|
538
538
|
return addHeapObject(ret);
|
|
539
539
|
};
|