@noir-lang/noir_wasm 0.22.0-2fcbef5.nightly → 0.22.0-66af0e7.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/nodejs/noir_wasm.d.ts +8 -8
- package/nodejs/noir_wasm.js +22 -22
- package/nodejs/noir_wasm_bg.wasm +0 -0
- package/nodejs/noir_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/noir_wasm.d.ts +10 -10
- package/web/noir_wasm.js +21 -21
- package/web/noir_wasm_bg.wasm +0 -0
- package/web/noir_wasm_bg.wasm.d.ts +2 -2
package/nodejs/noir_wasm.d.ts
CHANGED
|
@@ -11,14 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export function compile_(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
13
13
|
/**
|
|
14
|
-
* @param {string} filter
|
|
15
|
-
*/
|
|
16
|
-
export function init_log_level(filter: string): void;
|
|
17
|
-
/**
|
|
18
|
-
* @returns {any}
|
|
19
|
-
*/
|
|
20
|
-
export function build_info(): any;
|
|
21
|
-
/**
|
|
22
14
|
* @param {string} entry_point
|
|
23
15
|
* @param {boolean | undefined} contracts
|
|
24
16
|
* @param {DependencyGraph | undefined} dependency_graph
|
|
@@ -26,6 +18,14 @@ export function build_info(): any;
|
|
|
26
18
|
* @returns {CompileResult}
|
|
27
19
|
*/
|
|
28
20
|
export function compile(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
21
|
+
/**
|
|
22
|
+
* @param {string} filter
|
|
23
|
+
*/
|
|
24
|
+
export function init_log_level(filter: string): void;
|
|
25
|
+
/**
|
|
26
|
+
* @returns {any}
|
|
27
|
+
*/
|
|
28
|
+
export function build_info(): any;
|
|
29
29
|
|
|
30
30
|
export type Diagnostic = {
|
|
31
31
|
message: string;
|
package/nodejs/noir_wasm.js
CHANGED
|
@@ -218,23 +218,6 @@ module.exports.compile_ = function(entry_point, contracts, dependency_graph, fil
|
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
|
|
221
|
-
/**
|
|
222
|
-
* @param {string} filter
|
|
223
|
-
*/
|
|
224
|
-
module.exports.init_log_level = function(filter) {
|
|
225
|
-
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
226
|
-
const len0 = WASM_VECTOR_LEN;
|
|
227
|
-
wasm.init_log_level(ptr0, len0);
|
|
228
|
-
};
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* @returns {any}
|
|
232
|
-
*/
|
|
233
|
-
module.exports.build_info = function() {
|
|
234
|
-
const ret = wasm.build_info();
|
|
235
|
-
return takeObject(ret);
|
|
236
|
-
};
|
|
237
|
-
|
|
238
221
|
/**
|
|
239
222
|
* @param {string} entry_point
|
|
240
223
|
* @param {boolean | undefined} contracts
|
|
@@ -262,6 +245,23 @@ module.exports.compile = function(entry_point, contracts, dependency_graph, file
|
|
|
262
245
|
}
|
|
263
246
|
};
|
|
264
247
|
|
|
248
|
+
/**
|
|
249
|
+
* @param {string} filter
|
|
250
|
+
*/
|
|
251
|
+
module.exports.init_log_level = function(filter) {
|
|
252
|
+
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
253
|
+
const len0 = WASM_VECTOR_LEN;
|
|
254
|
+
wasm.init_log_level(ptr0, len0);
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @returns {any}
|
|
259
|
+
*/
|
|
260
|
+
module.exports.build_info = function() {
|
|
261
|
+
const ret = wasm.build_info();
|
|
262
|
+
return takeObject(ret);
|
|
263
|
+
};
|
|
264
|
+
|
|
265
265
|
function handleError(f, args) {
|
|
266
266
|
try {
|
|
267
267
|
return f.apply(this, args);
|
|
@@ -448,6 +448,11 @@ class PathToFileSourceMap {
|
|
|
448
448
|
}
|
|
449
449
|
module.exports.PathToFileSourceMap = PathToFileSourceMap;
|
|
450
450
|
|
|
451
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
452
|
+
const ret = getObject(arg0) === undefined;
|
|
453
|
+
return ret;
|
|
454
|
+
};
|
|
455
|
+
|
|
451
456
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
452
457
|
takeObject(arg0);
|
|
453
458
|
};
|
|
@@ -462,11 +467,6 @@ module.exports.__wbg_constructor_a3b5b211c5053ce8 = function() {
|
|
|
462
467
|
return addHeapObject(ret);
|
|
463
468
|
};
|
|
464
469
|
|
|
465
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
466
|
-
const ret = getObject(arg0) === undefined;
|
|
467
|
-
return ret;
|
|
468
|
-
};
|
|
469
|
-
|
|
470
470
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
471
471
|
const ret = new Error();
|
|
472
472
|
return addHeapObject(ret);
|
package/nodejs/noir_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -10,12 +10,12 @@ export function compilercontext_add_dependency_edge(a: number, b: number, c: num
|
|
|
10
10
|
export function compilercontext_compile_program(a: number, b: number, c: number): void;
|
|
11
11
|
export function compilercontext_compile_contract(a: number, b: number, c: number): void;
|
|
12
12
|
export function compile_(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
13
|
-
export function init_log_level(a: number, b: number): void;
|
|
14
|
-
export function build_info(): number;
|
|
15
13
|
export function __wbg_pathtofilesourcemap_free(a: number): void;
|
|
16
14
|
export function pathtofilesourcemap_new(): number;
|
|
17
15
|
export function pathtofilesourcemap_add_source_code(a: number, b: number, c: number, d: number, e: number): number;
|
|
18
16
|
export function compile(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
17
|
+
export function init_log_level(a: number, b: number): void;
|
|
18
|
+
export function build_info(): number;
|
|
19
19
|
export function __wbindgen_export_0(a: number): number;
|
|
20
20
|
export function __wbindgen_export_1(a: number, b: number, c: number): number;
|
|
21
21
|
export function __wbindgen_add_to_stack_pointer(a: number): number;
|
package/package.json
CHANGED
package/web/noir_wasm.d.ts
CHANGED
|
@@ -11,14 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export function compile_(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
13
13
|
/**
|
|
14
|
-
* @param {string} filter
|
|
15
|
-
*/
|
|
16
|
-
export function init_log_level(filter: string): void;
|
|
17
|
-
/**
|
|
18
|
-
* @returns {any}
|
|
19
|
-
*/
|
|
20
|
-
export function build_info(): any;
|
|
21
|
-
/**
|
|
22
14
|
* @param {string} entry_point
|
|
23
15
|
* @param {boolean | undefined} contracts
|
|
24
16
|
* @param {DependencyGraph | undefined} dependency_graph
|
|
@@ -26,6 +18,14 @@ export function build_info(): any;
|
|
|
26
18
|
* @returns {CompileResult}
|
|
27
19
|
*/
|
|
28
20
|
export function compile(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
21
|
+
/**
|
|
22
|
+
* @param {string} filter
|
|
23
|
+
*/
|
|
24
|
+
export function init_log_level(filter: string): void;
|
|
25
|
+
/**
|
|
26
|
+
* @returns {any}
|
|
27
|
+
*/
|
|
28
|
+
export function build_info(): any;
|
|
29
29
|
|
|
30
30
|
export type Diagnostic = {
|
|
31
31
|
message: string;
|
|
@@ -151,12 +151,12 @@ export interface InitOutput {
|
|
|
151
151
|
readonly compilercontext_compile_program: (a: number, b: number, c: number) => void;
|
|
152
152
|
readonly compilercontext_compile_contract: (a: number, b: number, c: number) => void;
|
|
153
153
|
readonly compile_: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
154
|
-
readonly init_log_level: (a: number, b: number) => void;
|
|
155
|
-
readonly build_info: () => number;
|
|
156
154
|
readonly __wbg_pathtofilesourcemap_free: (a: number) => void;
|
|
157
155
|
readonly pathtofilesourcemap_new: () => number;
|
|
158
156
|
readonly pathtofilesourcemap_add_source_code: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
159
157
|
readonly compile: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
158
|
+
readonly init_log_level: (a: number, b: number) => void;
|
|
159
|
+
readonly build_info: () => number;
|
|
160
160
|
readonly __wbindgen_export_0: (a: number) => number;
|
|
161
161
|
readonly __wbindgen_export_1: (a: number, b: number, c: number) => number;
|
|
162
162
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
package/web/noir_wasm.js
CHANGED
|
@@ -215,23 +215,6 @@ export function compile_(entry_point, contracts, dependency_graph, file_source_m
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
/**
|
|
219
|
-
* @param {string} filter
|
|
220
|
-
*/
|
|
221
|
-
export function init_log_level(filter) {
|
|
222
|
-
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
223
|
-
const len0 = WASM_VECTOR_LEN;
|
|
224
|
-
wasm.init_log_level(ptr0, len0);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @returns {any}
|
|
229
|
-
*/
|
|
230
|
-
export function build_info() {
|
|
231
|
-
const ret = wasm.build_info();
|
|
232
|
-
return takeObject(ret);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
218
|
/**
|
|
236
219
|
* @param {string} entry_point
|
|
237
220
|
* @param {boolean | undefined} contracts
|
|
@@ -259,6 +242,23 @@ export function compile(entry_point, contracts, dependency_graph, file_source_ma
|
|
|
259
242
|
}
|
|
260
243
|
}
|
|
261
244
|
|
|
245
|
+
/**
|
|
246
|
+
* @param {string} filter
|
|
247
|
+
*/
|
|
248
|
+
export function init_log_level(filter) {
|
|
249
|
+
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
250
|
+
const len0 = WASM_VECTOR_LEN;
|
|
251
|
+
wasm.init_log_level(ptr0, len0);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @returns {any}
|
|
256
|
+
*/
|
|
257
|
+
export function build_info() {
|
|
258
|
+
const ret = wasm.build_info();
|
|
259
|
+
return takeObject(ret);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
262
|
function handleError(f, args) {
|
|
263
263
|
try {
|
|
264
264
|
return f.apply(this, args);
|
|
@@ -476,6 +476,10 @@ async function __wbg_load(module, imports) {
|
|
|
476
476
|
function __wbg_get_imports() {
|
|
477
477
|
const imports = {};
|
|
478
478
|
imports.wbg = {};
|
|
479
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
480
|
+
const ret = getObject(arg0) === undefined;
|
|
481
|
+
return ret;
|
|
482
|
+
};
|
|
479
483
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
480
484
|
takeObject(arg0);
|
|
481
485
|
};
|
|
@@ -487,10 +491,6 @@ function __wbg_get_imports() {
|
|
|
487
491
|
const ret = new Object();
|
|
488
492
|
return addHeapObject(ret);
|
|
489
493
|
};
|
|
490
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
491
|
-
const ret = getObject(arg0) === undefined;
|
|
492
|
-
return ret;
|
|
493
|
-
};
|
|
494
494
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
495
495
|
const ret = new Error();
|
|
496
496
|
return addHeapObject(ret);
|
package/web/noir_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -10,12 +10,12 @@ export function compilercontext_add_dependency_edge(a: number, b: number, c: num
|
|
|
10
10
|
export function compilercontext_compile_program(a: number, b: number, c: number): void;
|
|
11
11
|
export function compilercontext_compile_contract(a: number, b: number, c: number): void;
|
|
12
12
|
export function compile_(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
13
|
-
export function init_log_level(a: number, b: number): void;
|
|
14
|
-
export function build_info(): number;
|
|
15
13
|
export function __wbg_pathtofilesourcemap_free(a: number): void;
|
|
16
14
|
export function pathtofilesourcemap_new(): number;
|
|
17
15
|
export function pathtofilesourcemap_add_source_code(a: number, b: number, c: number, d: number, e: number): number;
|
|
18
16
|
export function compile(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
17
|
+
export function init_log_level(a: number, b: number): void;
|
|
18
|
+
export function build_info(): number;
|
|
19
19
|
export function __wbindgen_export_0(a: number): number;
|
|
20
20
|
export function __wbindgen_export_1(a: number, b: number, c: number): number;
|
|
21
21
|
export function __wbindgen_add_to_stack_pointer(a: number): number;
|