@noir-lang/noir_wasm 0.22.0-eb566e2.nightly → 0.22.0-fbb51ed.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} entry_point
|
|
15
|
-
* @param {boolean | undefined} contracts
|
|
16
|
-
* @param {DependencyGraph | undefined} dependency_graph
|
|
17
|
-
* @param {PathToFileSourceMap} file_source_map
|
|
18
|
-
* @returns {CompileResult}
|
|
19
|
-
*/
|
|
20
|
-
export function compile(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
21
|
-
/**
|
|
22
14
|
* @param {string} filter
|
|
23
15
|
*/
|
|
24
16
|
export function init_log_level(filter: string): void;
|
|
@@ -26,6 +18,14 @@ export function init_log_level(filter: string): void;
|
|
|
26
18
|
* @returns {any}
|
|
27
19
|
*/
|
|
28
20
|
export function build_info(): any;
|
|
21
|
+
/**
|
|
22
|
+
* @param {string} entry_point
|
|
23
|
+
* @param {boolean | undefined} contracts
|
|
24
|
+
* @param {DependencyGraph | undefined} dependency_graph
|
|
25
|
+
* @param {PathToFileSourceMap} file_source_map
|
|
26
|
+
* @returns {CompileResult}
|
|
27
|
+
*/
|
|
28
|
+
export function compile(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
29
29
|
|
|
30
30
|
export type Diagnostic = {
|
|
31
31
|
message: string;
|
package/nodejs/noir_wasm.js
CHANGED
|
@@ -218,6 +218,23 @@ 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
|
+
|
|
221
238
|
/**
|
|
222
239
|
* @param {string} entry_point
|
|
223
240
|
* @param {boolean | undefined} contracts
|
|
@@ -245,23 +262,6 @@ module.exports.compile = function(entry_point, contracts, dependency_graph, file
|
|
|
245
262
|
}
|
|
246
263
|
};
|
|
247
264
|
|
|
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,11 +448,6 @@ 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
|
-
|
|
456
451
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
457
452
|
takeObject(arg0);
|
|
458
453
|
};
|
|
@@ -467,6 +462,11 @@ module.exports.__wbg_constructor_a3b5b211c5053ce8 = function() {
|
|
|
467
462
|
return addHeapObject(ret);
|
|
468
463
|
};
|
|
469
464
|
|
|
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;
|
|
13
15
|
export function __wbg_pathtofilesourcemap_free(a: number): void;
|
|
14
16
|
export function pathtofilesourcemap_new(): number;
|
|
15
17
|
export function pathtofilesourcemap_add_source_code(a: number, b: number, c: number, d: number, e: number): number;
|
|
16
18
|
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} entry_point
|
|
15
|
-
* @param {boolean | undefined} contracts
|
|
16
|
-
* @param {DependencyGraph | undefined} dependency_graph
|
|
17
|
-
* @param {PathToFileSourceMap} file_source_map
|
|
18
|
-
* @returns {CompileResult}
|
|
19
|
-
*/
|
|
20
|
-
export function compile(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
21
|
-
/**
|
|
22
14
|
* @param {string} filter
|
|
23
15
|
*/
|
|
24
16
|
export function init_log_level(filter: string): void;
|
|
@@ -26,6 +18,14 @@ export function init_log_level(filter: string): void;
|
|
|
26
18
|
* @returns {any}
|
|
27
19
|
*/
|
|
28
20
|
export function build_info(): any;
|
|
21
|
+
/**
|
|
22
|
+
* @param {string} entry_point
|
|
23
|
+
* @param {boolean | undefined} contracts
|
|
24
|
+
* @param {DependencyGraph | undefined} dependency_graph
|
|
25
|
+
* @param {PathToFileSourceMap} file_source_map
|
|
26
|
+
* @returns {CompileResult}
|
|
27
|
+
*/
|
|
28
|
+
export function compile(entry_point: string, contracts: boolean | undefined, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): CompileResult;
|
|
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;
|
|
154
156
|
readonly __wbg_pathtofilesourcemap_free: (a: number) => void;
|
|
155
157
|
readonly pathtofilesourcemap_new: () => number;
|
|
156
158
|
readonly pathtofilesourcemap_add_source_code: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
157
159
|
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,6 +215,23 @@ 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
|
+
|
|
218
235
|
/**
|
|
219
236
|
* @param {string} entry_point
|
|
220
237
|
* @param {boolean | undefined} contracts
|
|
@@ -242,23 +259,6 @@ export function compile(entry_point, contracts, dependency_graph, file_source_ma
|
|
|
242
259
|
}
|
|
243
260
|
}
|
|
244
261
|
|
|
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,10 +476,6 @@ 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
|
-
};
|
|
483
479
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
484
480
|
takeObject(arg0);
|
|
485
481
|
};
|
|
@@ -491,6 +487,10 @@ function __wbg_get_imports() {
|
|
|
491
487
|
const ret = new Object();
|
|
492
488
|
return addHeapObject(ret);
|
|
493
489
|
};
|
|
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;
|
|
13
15
|
export function __wbg_pathtofilesourcemap_free(a: number): void;
|
|
14
16
|
export function pathtofilesourcemap_new(): number;
|
|
15
17
|
export function pathtofilesourcemap_add_source_code(a: number, b: number, c: number, d: number, e: number): number;
|
|
16
18
|
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;
|