@noir-lang/noir_wasm 1.0.0-beta.7-d651576.nightly → 1.0.0-beta.8
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 +32 -31
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +5 -5
- package/dist/types/build/esm/index.d.ts +16 -16
- package/dist/web/main.mjs +33 -32
- package/dist/web/main.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
2
|
+
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
1
3
|
export function init_log_level(level: string): void;
|
|
2
4
|
export function build_info(): any;
|
|
3
5
|
export function compile_program(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
4
6
|
export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
5
|
-
export function
|
|
6
|
-
export function
|
|
7
|
-
export function
|
|
8
|
-
export function __wbg_constructor_2e707aaa476d830f(): Object;
|
|
9
|
-
export function __wbg_constructor_8a689602cef0475e(arg0: any): Error;
|
|
7
|
+
export function __wbg_constructor_50f48eb550d96c85(): Object;
|
|
8
|
+
export function __wbg_constructor_cead3fee82c9e2da(): Object;
|
|
9
|
+
export function __wbg_constructor_e98499dc5396ae23(arg0: any): Error;
|
|
10
10
|
export function __wbg_debug_3cb59063b29f58c1(arg0: any): void;
|
|
11
11
|
export function __wbg_debug_e17b51583ca6a632(arg0: any, arg1: any, arg2: any, arg3: any): void;
|
|
12
12
|
export function __wbg_error_524f506f44df1645(arg0: any): void;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
export function init_log_level(level: string): void;
|
|
5
|
-
/**
|
|
6
|
-
* @returns {any}
|
|
7
|
-
*/
|
|
8
|
-
export function build_info(): any;
|
|
9
|
-
/**
|
|
2
|
+
* This is a method that exposes the same API as `compile`
|
|
3
|
+
* But uses the Context based APi internally
|
|
10
4
|
* @param {string} entry_point
|
|
11
5
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
12
6
|
* @param {PathToFileSourceMap} file_source_map
|
|
13
7
|
* @returns {ProgramCompileResult}
|
|
14
8
|
*/
|
|
15
|
-
export function
|
|
9
|
+
export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
16
10
|
/**
|
|
11
|
+
* This is a method that exposes the same API as `compile`
|
|
12
|
+
* But uses the Context based APi internally
|
|
17
13
|
* @param {string} entry_point
|
|
18
14
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
19
15
|
* @param {PathToFileSourceMap} file_source_map
|
|
20
16
|
* @returns {ContractCompileResult}
|
|
21
17
|
*/
|
|
22
|
-
export function
|
|
18
|
+
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
19
|
+
/**
|
|
20
|
+
* @param {string} level
|
|
21
|
+
*/
|
|
22
|
+
export function init_log_level(level: string): void;
|
|
23
|
+
/**
|
|
24
|
+
* @returns {any}
|
|
25
|
+
*/
|
|
26
|
+
export function build_info(): any;
|
|
23
27
|
/**
|
|
24
|
-
* This is a method that exposes the same API as `compile`
|
|
25
|
-
* But uses the Context based APi internally
|
|
26
28
|
* @param {string} entry_point
|
|
27
29
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
28
30
|
* @param {PathToFileSourceMap} file_source_map
|
|
29
31
|
* @returns {ProgramCompileResult}
|
|
30
32
|
*/
|
|
31
|
-
export function
|
|
33
|
+
export function compile_program(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
32
34
|
/**
|
|
33
|
-
* This is a method that exposes the same API as `compile`
|
|
34
|
-
* But uses the Context based APi internally
|
|
35
35
|
* @param {string} entry_point
|
|
36
36
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
37
37
|
* @param {PathToFileSourceMap} file_source_map
|
|
38
38
|
* @returns {ContractCompileResult}
|
|
39
39
|
*/
|
|
40
|
-
export function
|
|
40
|
+
export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
41
41
|
/**
|
|
42
42
|
* This is a wrapper class that is wasm-bindgen compatible
|
|
43
43
|
* We do not use js_name and rename it like CrateId because
|