@noir-lang/noir_wasm 0.26.0-da27e34.nightly → 0.27.0-053d5e8.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 +19 -18
- 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/types/src/types/noir_artifact.d.ts +41 -18
- package/dist/web/main.mjs +20 -19
- 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)) {
|
|
@@ -270,6 +254,23 @@ module.exports.compile_contract_ = function(entry_point, dependency_graph, file_
|
|
|
270
254
|
}
|
|
271
255
|
};
|
|
272
256
|
|
|
257
|
+
/**
|
|
258
|
+
* @param {string} level
|
|
259
|
+
*/
|
|
260
|
+
module.exports.init_log_level = function(level) {
|
|
261
|
+
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
262
|
+
const len0 = WASM_VECTOR_LEN;
|
|
263
|
+
wasm.init_log_level(ptr0, len0);
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @returns {any}
|
|
268
|
+
*/
|
|
269
|
+
module.exports.build_info = function() {
|
|
270
|
+
const ret = wasm.build_info();
|
|
271
|
+
return takeObject(ret);
|
|
272
|
+
};
|
|
273
|
+
|
|
273
274
|
/**
|
|
274
275
|
* @param {string} entry_point
|
|
275
276
|
* @param {DependencyGraph | undefined} dependency_graph
|
|
@@ -522,7 +523,7 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
522
523
|
takeObject(arg0);
|
|
523
524
|
};
|
|
524
525
|
|
|
525
|
-
module.exports.
|
|
526
|
+
module.exports.__wbg_constructor_d324422a76f57e97 = function(arg0) {
|
|
526
527
|
const ret = new Error(takeObject(arg0));
|
|
527
528
|
return addHeapObject(ret);
|
|
528
529
|
};
|
|
@@ -532,7 +533,7 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
532
533
|
return ret;
|
|
533
534
|
};
|
|
534
535
|
|
|
535
|
-
module.exports.
|
|
536
|
+
module.exports.__wbg_constructor_5ba06a405a88a2ec = function() {
|
|
536
537
|
const ret = new Object();
|
|
537
538
|
return addHeapObject(ret);
|
|
538
539
|
};
|