@noir-lang/noir_wasm 1.0.0-beta.0-aa143a7.nightly → 1.0.0-beta.0-4ff3081.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.
@@ -1,9 +1,9 @@
1
+ export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
2
+ export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
1
3
  export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
2
4
  export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
3
5
  export function init_log_level(level: string): void;
4
6
  export function build_info(): any;
5
- export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
6
- export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
7
7
  export function __wbindgen_object_drop_ref(arg0: any): void;
8
8
  export function __wbg_constructor_9385d1ac06a443db(arg0: any): number;
9
9
  export function __wbindgen_is_undefined(arg0: any): boolean;
@@ -1,4 +1,18 @@
1
1
  /**
2
+ * @param {string} entry_point
3
+ * @param {DependencyGraph | undefined} dependency_graph
4
+ * @param {PathToFileSourceMap} file_source_map
5
+ * @returns {ProgramCompileResult}
6
+ */
7
+ export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
8
+ /**
9
+ * @param {string} entry_point
10
+ * @param {DependencyGraph | undefined} dependency_graph
11
+ * @param {PathToFileSourceMap} file_source_map
12
+ * @returns {ContractCompileResult}
13
+ */
14
+ export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
15
+ /**
2
16
  * This is a method that exposes the same API as `compile`
3
17
  * But uses the Context based APi internally
4
18
  * @param {string} entry_point
@@ -25,20 +39,6 @@ export function init_log_level(level: string): void;
25
39
  */
26
40
  export function build_info(): any;
27
41
  /**
28
- * @param {string} entry_point
29
- * @param {DependencyGraph | undefined} dependency_graph
30
- * @param {PathToFileSourceMap} file_source_map
31
- * @returns {ProgramCompileResult}
32
- */
33
- export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
34
- /**
35
- * @param {string} entry_point
36
- * @param {DependencyGraph | undefined} dependency_graph
37
- * @param {PathToFileSourceMap} file_source_map
38
- * @returns {ContractCompileResult}
39
- */
40
- export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
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
44
44
  * then the impl block is not picked up in javascript.