@noir-lang/noir_wasm 0.25.0-d8710c4.nightly → 0.25.0-ea3bb7f.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.
- package/dist/node/index_bg.wasm +0 -0
- package/dist/node/main.js +2326 -2327
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +2 -2
- package/dist/types/build/esm/index.d.ts +8 -8
- package/dist/types/src/noir/package.d.ts +1 -22
- package/dist/types/web-test-runner.config.d.mts +1 -1
- package/dist/web/main.mjs +2000 -2001
- package/dist/web/main.mjs.map +1 -1
- package/package.json +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
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;
|
|
3
1
|
export function init_log_level(level: string): void;
|
|
4
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
5
|
export function compile_program(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
6
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;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @param {string} level
|
|
3
|
+
*/
|
|
4
|
+
export function init_log_level(level: string): void;
|
|
5
|
+
/**
|
|
6
|
+
* @returns {any}
|
|
7
|
+
*/
|
|
8
|
+
export function build_info(): any;
|
|
9
|
+
/**
|
|
2
10
|
* This is a method that exposes the same API as `compile`
|
|
3
11
|
* But uses the Context based APi internally
|
|
4
12
|
* @param {string} entry_point
|
|
@@ -17,14 +25,6 @@ export function compile_program_(entry_point: string, dependency_graph: Dependen
|
|
|
17
25
|
*/
|
|
18
26
|
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
19
27
|
/**
|
|
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;
|
|
27
|
-
/**
|
|
28
28
|
* @param {string} entry_point
|
|
29
29
|
* @param {DependencyGraph | undefined} dependency_graph
|
|
30
30
|
* @param {PathToFileSourceMap} file_source_map
|
|
@@ -26,28 +26,7 @@ export declare class Package {
|
|
|
26
26
|
/**
|
|
27
27
|
* Gets this package's Nargo.toml (NoirPackage)Config.
|
|
28
28
|
*/
|
|
29
|
-
getPackageConfig():
|
|
30
|
-
package: {
|
|
31
|
-
name: string;
|
|
32
|
-
type: "lib" | "contract" | "bin";
|
|
33
|
-
entry?: string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* An array of sources for a package
|
|
36
|
-
*/
|
|
37
|
-
description?: string | undefined;
|
|
38
|
-
authors?: string[] | undefined;
|
|
39
|
-
compiler_version?: string | undefined;
|
|
40
|
-
backend?: string | undefined;
|
|
41
|
-
license?: string | undefined;
|
|
42
|
-
};
|
|
43
|
-
dependencies?: Record<string, {
|
|
44
|
-
git: string;
|
|
45
|
-
tag: string;
|
|
46
|
-
directory?: string | undefined;
|
|
47
|
-
} | {
|
|
48
|
-
path: string;
|
|
49
|
-
}> | undefined;
|
|
50
|
-
};
|
|
29
|
+
getPackageConfig(): import("../types/noir_package_config").PackageConfig;
|
|
51
30
|
/**
|
|
52
31
|
* The path to the source directory.
|
|
53
32
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
let browsers: import("@web/test-runner-playwright").PlaywrightLauncher[];
|
|
3
|
-
let plugins: import("@web/dev-server-core").Plugin[];
|
|
3
|
+
let plugins: import("@web/dev-server-esbuild/node_modules/@web/dev-server-core").Plugin[];
|
|
4
4
|
let files: string[];
|
|
5
5
|
let nodeResolve: boolean;
|
|
6
6
|
let rootDir: string;
|