@noir-lang/noir_wasm
Advanced tools
Comparing version 0.3.2-fa0e9cff to 0.3.2-fd3c99a
@@ -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-fa0e9cff", | ||
"version": "0.3.2-fd3c99a", | ||
"files": [ | ||
@@ -25,4 +25,4 @@ "nodejs", | ||
"compiler": { | ||
"versionHash": "fa0e9cff0f4c43941a1982dd8cf641396a278f9c" | ||
"versionHash": "fd3c99a60430536ff88fc766cf97d9f896ffde24" | ||
} | ||
} |
# Noir Lang WASM JavaScript Package | ||
## Tracks | ||
Noir lang Repository [noir-lang/noir@fa0e9cff](https://github.com/noir-lang/noir/tree/fa0e9cff0f4c43941a1982dd8cf641396a278f9c) | ||
Noir lang Repository [noir-lang/noir@fd3c99a](https://github.com/noir-lang/noir/tree/fd3c99a60430536ff88fc766cf97d9f896ffde24) |
@@ -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
7057421