@noir-lang/noir_wasm 1.0.0-beta.16-132eaee.nightly → 1.0.0-beta.16-c9669fc.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
|
@@ -11596,24 +11596,24 @@ class CompilerContext {
|
|
|
11596
11596
|
}
|
|
11597
11597
|
}
|
|
11598
11598
|
/**
|
|
11599
|
-
* @param {number}
|
|
11599
|
+
* @param {number} _program_width
|
|
11600
11600
|
* @returns {ProgramCompileResult}
|
|
11601
11601
|
*/
|
|
11602
|
-
compile_program(
|
|
11602
|
+
compile_program(_program_width) {
|
|
11603
11603
|
const ptr = this.__destroy_into_raw();
|
|
11604
|
-
const ret = wasm.compilercontext_compile_program(ptr,
|
|
11604
|
+
const ret = wasm.compilercontext_compile_program(ptr, _program_width);
|
|
11605
11605
|
if (ret[2]) {
|
|
11606
11606
|
throw takeFromExternrefTable0(ret[1]);
|
|
11607
11607
|
}
|
|
11608
11608
|
return takeFromExternrefTable0(ret[0]);
|
|
11609
11609
|
}
|
|
11610
11610
|
/**
|
|
11611
|
-
* @param {number}
|
|
11611
|
+
* @param {number} _program_width
|
|
11612
11612
|
* @returns {ContractCompileResult}
|
|
11613
11613
|
*/
|
|
11614
|
-
compile_contract(
|
|
11614
|
+
compile_contract(_program_width) {
|
|
11615
11615
|
const ptr = this.__destroy_into_raw();
|
|
11616
|
-
const ret = wasm.compilercontext_compile_contract(ptr,
|
|
11616
|
+
const ret = wasm.compilercontext_compile_contract(ptr, _program_width);
|
|
11617
11617
|
if (ret[2]) {
|
|
11618
11618
|
throw takeFromExternrefTable0(ret[1]);
|
|
11619
11619
|
}
|