@noir-lang/noir_wasm
Advanced tools
Comparing version 0.3.2-91bd471 to 0.3.2-98c2cd9
@@ -5,2 +5,3 @@ /* tslint:disable */ | ||
export function init_log_level(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function compile(a: number): number; | ||
@@ -11,3 +12,2 @@ export function acir_from_bytes(a: number, b: number): number; | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function __wbindgen_export_0(a: number): number; | ||
@@ -14,0 +14,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number; |
@@ -8,2 +8,6 @@ /* tslint:disable */ | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; | ||
/** | ||
* @param {any} args | ||
@@ -33,5 +37,1 @@ * @returns {any} | ||
export function acir_write_bytes(acir: any): Uint8Array; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; |
@@ -130,2 +130,10 @@ let imports = {}; | ||
/** | ||
* @returns {any} | ||
*/ | ||
module.exports.build_info = function() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
}; | ||
/** | ||
* @param {any} args | ||
@@ -206,10 +214,2 @@ * @returns {any} | ||
/** | ||
* @returns {any} | ||
*/ | ||
module.exports.build_info = function() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
}; | ||
function handleError(f, args) { | ||
@@ -237,2 +237,7 @@ try { | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -259,7 +264,2 @@ const ret = new Error(); | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_readfile_a43240e6f11dd5eb = function() { return handleError(function (arg0, arg1, arg2) { | ||
@@ -266,0 +266,0 @@ const ret = read_file(getStringFromWasm0(arg1, arg2)); |
@@ -6,3 +6,3 @@ { | ||
], | ||
"version": "0.3.2-91bd471", | ||
"version": "0.3.2-98c2cd9", | ||
"files": [ | ||
@@ -25,4 +25,4 @@ "nodejs", | ||
"compiler": { | ||
"versionHash": "91bd47190402f0fe567dbfb6fcfa17b97c129905" | ||
"versionHash": "98c2cd957c3e60ae94936ba71ca864217001abfd" | ||
} | ||
} |
# Noir Lang WASM JavaScript Package | ||
## Tracks | ||
Noir lang Repository [noir-lang/noir@91bd471](https://github.com/noir-lang/noir/tree/91bd47190402f0fe567dbfb6fcfa17b97c129905) | ||
Noir lang Repository [noir-lang/noir@98c2cd9](https://github.com/noir-lang/noir/tree/98c2cd957c3e60ae94936ba71ca864217001abfd) |
@@ -5,2 +5,3 @@ /* tslint:disable */ | ||
export function init_log_level(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function compile(a: number): number; | ||
@@ -11,3 +12,2 @@ export function acir_from_bytes(a: number, b: number): number; | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function __wbindgen_export_0(a: number): number; | ||
@@ -14,0 +14,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number; |
@@ -8,2 +8,6 @@ /* tslint:disable */ | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; | ||
/** | ||
* @param {any} args | ||
@@ -33,6 +37,2 @@ * @returns {any} | ||
export function acir_write_bytes(acir: any): Uint8Array; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; | ||
@@ -44,2 +44,3 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; | ||
readonly init_log_level: (a: number, b: number) => void; | ||
readonly build_info: () => number; | ||
readonly compile: (a: number) => number; | ||
@@ -50,3 +51,2 @@ readonly acir_from_bytes: (a: number, b: number) => number; | ||
readonly acir_write_bytes: (a: number, b: number) => void; | ||
readonly build_info: () => number; | ||
readonly __wbindgen_export_0: (a: number) => number; | ||
@@ -53,0 +53,0 @@ readonly __wbindgen_export_1: (a: number, b: number, c: number) => number; |
@@ -128,2 +128,10 @@ import { read_file } from '@noir-lang/noir-source-resolver'; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
} | ||
/** | ||
* @param {any} args | ||
@@ -204,10 +212,2 @@ * @returns {any} | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
} | ||
function handleError(f, args) { | ||
@@ -266,2 +266,6 @@ try { | ||
}; | ||
imports.wbg.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -285,6 +289,2 @@ const ret = new Error(); | ||
}; | ||
imports.wbg.__wbindgen_string_new = function(arg0, arg1) { | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_readfile_a43240e6f11dd5eb = function() { return handleError(function (arg0, arg1, arg2) { | ||
@@ -291,0 +291,0 @@ const ret = read_file(getStringFromWasm0(arg1, arg2)); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7056131
2