@noir-lang/noir_wasm 0.30.0-e4eb5f5.nightly → 0.30.0-e73cdbb.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
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)) {
|
|
@@ -266,6 +250,23 @@ module.exports.compile_contract = function(entry_point, dependency_graph, file_s
|
|
|
266
250
|
}
|
|
267
251
|
};
|
|
268
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
|
+
|
|
269
270
|
/**
|
|
270
271
|
* This is a method that exposes the same API as `compile`
|
|
271
272
|
* But uses the Context based APi internally
|
|
@@ -518,23 +519,23 @@ 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
|
|
|
526
|
+
module.exports.__wbg_constructor_f5d3b6dbabde0560 = function() {
|
|
527
|
+
const ret = new Object();
|
|
528
|
+
return addHeapObject(ret);
|
|
529
|
+
};
|
|
530
|
+
|
|
530
531
|
module.exports.__wbg_constructor_400faf0d85826e9b = function(arg0) {
|
|
531
532
|
const ret = new Error(takeObject(arg0));
|
|
532
533
|
return addHeapObject(ret);
|
|
533
534
|
};
|
|
534
535
|
|
|
535
|
-
module.exports.
|
|
536
|
-
const ret =
|
|
537
|
-
return
|
|
536
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
537
|
+
const ret = getObject(arg0) === undefined;
|
|
538
|
+
return ret;
|
|
538
539
|
};
|
|
539
540
|
|
|
540
541
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|