@noir-lang/noir_wasm 0.28.0-f7fa696.nightly → 0.29.0-e43661d.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 +26 -25
- 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 +26 -25
- 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,22 +191,6 @@ 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_export_0, wasm.__wbindgen_export_1);
|
|
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
|
-
};
|
|
210
194
|
|
|
211
195
|
function _assertClass(instance, klass) {
|
|
212
196
|
if (!(instance instanceof klass)) {
|
|
@@ -322,6 +306,23 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
|
|
|
322
306
|
}
|
|
323
307
|
};
|
|
324
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
|
+
|
|
325
326
|
function handleError(f, args) {
|
|
326
327
|
try {
|
|
327
328
|
return f.apply(this, args);
|
|
@@ -518,22 +519,22 @@ class PathToFileSourceMap {
|
|
|
518
519
|
}
|
|
519
520
|
module.exports.PathToFileSourceMap = PathToFileSourceMap;
|
|
520
521
|
|
|
521
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
522
|
-
const ret = getObject(arg0) === undefined;
|
|
523
|
-
return ret;
|
|
524
|
-
};
|
|
525
|
-
|
|
526
522
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
527
523
|
takeObject(arg0);
|
|
528
524
|
};
|
|
529
525
|
|
|
530
|
-
module.exports.
|
|
531
|
-
const ret = new
|
|
526
|
+
module.exports.__wbg_constructor_632c01cbd537fa41 = function() {
|
|
527
|
+
const ret = new Object();
|
|
532
528
|
return addHeapObject(ret);
|
|
533
529
|
};
|
|
534
530
|
|
|
535
|
-
module.exports.
|
|
536
|
-
const ret =
|
|
531
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
532
|
+
const ret = getObject(arg0) === undefined;
|
|
533
|
+
return ret;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
module.exports.__wbg_constructor_997b45609b92abbd = function(arg0) {
|
|
537
|
+
const ret = new Error(takeObject(arg0));
|
|
537
538
|
return addHeapObject(ret);
|
|
538
539
|
};
|
|
539
540
|
|