@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.
@@ -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 __wbg_constructor_0ff2131ceea4cfb0(arg0: any): Error;
8
- export function __wbg_constructor_239bf9e0fa000b32(): Object;
9
- export function __wbg_constructor_b023a49b9a95d90c(): Object;
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} level
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 init_log_level(level: string): void;
7
+ export function compile_program(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
5
8
  /**
6
- * @returns {any}
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 build_info(): any;
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} entry_point
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 compile_program(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
36
+ export function init_log_level(level: string): void;
34
37
  /**
35
- * @param {string} entry_point
36
- * @param {DependencyGraph | null | undefined} dependency_graph
37
- * @param {PathToFileSourceMap} file_source_map
38
- * @returns {ContractCompileResult}
38
+ * @returns {any}
39
39
  */
40
- export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | null | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
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