@noir-lang/noir_wasm 0.26.0 → 0.27.0

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,13 +1,13 @@
1
1
  export function init_log_level(level: string): void;
2
2
  export function build_info(): any;
3
- export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
4
- export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
5
3
  export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
6
4
  export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
7
- export function __wbindgen_object_drop_ref(arg0: any): void;
8
- export function __wbg_constructor_dc2096d1a846456a(arg0: any): number;
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;
9
7
  export function __wbindgen_is_undefined(arg0: any): boolean;
10
- export function __wbg_constructor_16652445ed5bfc27(): number;
8
+ export function __wbindgen_object_drop_ref(arg0: any): void;
9
+ export function __wbg_constructor_d324422a76f57e97(arg0: any): number;
10
+ export function __wbg_constructor_5ba06a405a88a2ec(): number;
11
11
  export function __wbg_new_abda76e883ba8a5f(): number;
12
12
  export function __wbg_stack_658279fe44541cf6(arg0: any, arg1: any): void;
13
13
  export function __wbg_error_f851667af71bcfc6(arg0: any, arg1: any): void;
@@ -21,6 +21,8 @@ export function __wbg_info_24d8f53d98f12b95(arg0: any, arg1: any, arg2: any, arg
21
21
  export function __wbg_warn_9bdd743e9f5fe1e0(arg0: any): void;
22
22
  export function __wbg_warn_8342bfbc6028193a(arg0: any, arg1: any, arg2: any, arg3: any): void;
23
23
  export function __wbindgen_string_get(arg0: any, arg1: any): void;
24
+ export function __wbg_getTime_40bd09e020e8bc8c(arg0: any): any;
25
+ export function __wbg_new0_494c19a27871d56f(): number;
24
26
  export function __wbg_parse_76a8a18ca3f8730b(...args: any[]): any;
25
27
  export function __wbg_stringify_d06ad2addc54d51e(...args: any[]): any;
26
28
  export function __wbg_set_07da13cc24b69217(...args: any[]): any;
@@ -7,37 +7,37 @@ export function init_log_level(level: string): void;
7
7
  */
8
8
  export function build_info(): any;
9
9
  /**
10
- * This is a method that exposes the same API as `compile`
11
- * But uses the Context based APi internally
12
10
  * @param {string} entry_point
13
11
  * @param {DependencyGraph | undefined} dependency_graph
14
12
  * @param {PathToFileSourceMap} file_source_map
15
13
  * @returns {ProgramCompileResult}
16
14
  */
17
- export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
15
+ export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
18
16
  /**
19
- * This is a method that exposes the same API as `compile`
20
- * But uses the Context based APi internally
21
17
  * @param {string} entry_point
22
18
  * @param {DependencyGraph | undefined} dependency_graph
23
19
  * @param {PathToFileSourceMap} file_source_map
24
20
  * @returns {ContractCompileResult}
25
21
  */
26
- export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
22
+ export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
27
23
  /**
24
+ * This is a method that exposes the same API as `compile`
25
+ * But uses the Context based APi internally
28
26
  * @param {string} entry_point
29
27
  * @param {DependencyGraph | undefined} dependency_graph
30
28
  * @param {PathToFileSourceMap} file_source_map
31
29
  * @returns {ProgramCompileResult}
32
30
  */
33
- export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
31
+ export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
34
32
  /**
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 | undefined} dependency_graph
37
37
  * @param {PathToFileSourceMap} file_source_map
38
38
  * @returns {ContractCompileResult}
39
39
  */
40
- export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
40
+ export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | 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
@@ -7,7 +7,7 @@ import { DependencyConfig, GitDependencyConfig } from '../../types/noir_package_
7
7
  */
8
8
  export declare class GithubDependencyResolver implements DependencyResolver {
9
9
  #private;
10
- constructor(fm: FileManager);
10
+ constructor(fm: FileManager, fetcher: typeof fetch);
11
11
  /**
12
12
  * Resolves a dependency from github. Returns null if URL is for a different website.
13
13
  * @param _pkg - The package to resolve the dependency for