@noir-lang/noir_wasm 1.0.0-beta.4-d8e4de4.nightly → 1.0.0-beta.5
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 +34 -33
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +7 -7
- package/dist/types/build/esm/index.d.ts +14 -14
- package/dist/web/main.mjs +35 -34
- package/dist/web/main.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export function init_log_level(level: string): void;
|
|
2
|
-
export function build_info(): any;
|
|
3
|
-
export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
4
|
-
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
5
1
|
export function compile_program(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
6
2
|
export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
7
|
-
export function
|
|
8
|
-
export function
|
|
9
|
-
export function
|
|
3
|
+
export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
4
|
+
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
5
|
+
export function init_log_level(level: string): void;
|
|
6
|
+
export function build_info(): any;
|
|
7
|
+
export function __wbg_constructor_3dadd769c5a1a118(): Object;
|
|
8
|
+
export function __wbg_constructor_5f09562a541125e5(arg0: any): Error;
|
|
9
|
+
export function __wbg_constructor_dca104070aa08fab(): Object;
|
|
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,11 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @param {string}
|
|
2
|
+
* @param {string} entry_point
|
|
3
|
+
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
4
|
+
* @param {PathToFileSourceMap} file_source_map
|
|
5
|
+
* @returns {ProgramCompileResult}
|
|
3
6
|
*/
|
|
4
|
-
export function
|
|
7
|
+
export function compile_program(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
5
8
|
/**
|
|
6
|
-
* @
|
|
9
|
+
* @param {string} entry_point
|
|
10
|
+
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
11
|
+
* @param {PathToFileSourceMap} file_source_map
|
|
12
|
+
* @returns {ContractCompileResult}
|
|
7
13
|
*/
|
|
8
|
-
export function
|
|
14
|
+
export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
9
15
|
/**
|
|
10
16
|
* This is a method that exposes the same API as `compile`
|
|
11
17
|
* But uses the Context based APi internally
|
|
@@ -25,19 +31,13 @@ export function compile_program_(entry_point: string, dependency_graph: Dependen
|
|
|
25
31
|
*/
|
|
26
32
|
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
27
33
|
/**
|
|
28
|
-
* @param {string}
|
|
29
|
-
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
30
|
-
* @param {PathToFileSourceMap} file_source_map
|
|
31
|
-
* @returns {ProgramCompileResult}
|
|
34
|
+
* @param {string} level
|
|
32
35
|
*/
|
|
33
|
-
export function
|
|
36
|
+
export function init_log_level(level: string): void;
|
|
34
37
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
37
|
-
* @param {PathToFileSourceMap} file_source_map
|
|
38
|
-
* @returns {ContractCompileResult}
|
|
38
|
+
* @returns {any}
|
|
39
39
|
*/
|
|
40
|
-
export function
|
|
40
|
+
export function build_info(): any;
|
|
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
|