@noir-lang/noir_wasm 0.25.0-00d6494.nightly → 0.25.0-3ad8869.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 +22 -22
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +3 -3
- package/dist/types/build/esm/index.d.ts +8 -8
- package/dist/types/src/types/noir_artifact.d.ts +4 -6
- package/dist/web/main.mjs +22 -22
- package/dist/web/main.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export function compile_program_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ProgramCompileResult;
|
|
2
2
|
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
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 init_log_level(level: string): void;
|
|
6
4
|
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
|
+
export function __wbg_constructor_e8f4e1ca46363e73(arg0: any): number;
|
|
8
9
|
export function __wbindgen_is_undefined(arg0: any): boolean;
|
|
9
10
|
export function __wbg_constructor_9418a5e735182315(): number;
|
|
10
|
-
export function __wbg_constructor_e8f4e1ca46363e73(arg0: any): 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;
|
|
@@ -17,6 +17,14 @@ export function compile_program_(entry_point: string, dependency_graph: Dependen
|
|
|
17
17
|
*/
|
|
18
18
|
export function compile_contract_(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
19
19
|
/**
|
|
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
|
+
/**
|
|
20
28
|
* @param {string} entry_point
|
|
21
29
|
* @param {DependencyGraph | undefined} dependency_graph
|
|
22
30
|
* @param {PathToFileSourceMap} file_source_map
|
|
@@ -31,14 +39,6 @@ export function compile_program(entry_point: string, dependency_graph: Dependenc
|
|
|
31
39
|
*/
|
|
32
40
|
export function compile_contract(entry_point: string, dependency_graph: DependencyGraph | undefined, file_source_map: PathToFileSourceMap): ContractCompileResult;
|
|
33
41
|
/**
|
|
34
|
-
* @param {string} level
|
|
35
|
-
*/
|
|
36
|
-
export function init_log_level(level: string): void;
|
|
37
|
-
/**
|
|
38
|
-
* @returns {any}
|
|
39
|
-
*/
|
|
40
|
-
export function build_info(): any;
|
|
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.
|
|
@@ -29,18 +29,16 @@ export interface EventAbi {
|
|
|
29
29
|
*/
|
|
30
30
|
fields: ABIVariable[];
|
|
31
31
|
}
|
|
32
|
-
/** The Noir function types. */
|
|
33
|
-
export type NoirFunctionType = 'Open' | 'Secret' | 'Unconstrained';
|
|
34
32
|
/**
|
|
35
33
|
* The compilation result of an Noir function.
|
|
36
34
|
*/
|
|
37
35
|
export interface NoirFunctionEntry {
|
|
38
36
|
/** The name of the function. */
|
|
39
37
|
name: string;
|
|
40
|
-
/**
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
|
|
38
|
+
/** Whether the function is unconstrained. */
|
|
39
|
+
is_unconstrained: boolean;
|
|
40
|
+
/** The custom attributes applied to the function. */
|
|
41
|
+
custom_attributes: string[];
|
|
44
42
|
/** The ABI of the function. */
|
|
45
43
|
abi: Abi;
|
|
46
44
|
/** The bytecode of the function in base64. */
|