@kevaundray/noir_wasm
Advanced tools
Comparing version 0.15.0-kw-play-around-f87a92a3e to 0.16.0-kw-play-around-5adc77fbe
@@ -5,6 +5,6 @@ /* tslint:disable */ | ||
export function compile(a: number): number; | ||
export function acir_read_bytes(a: number, b: number): number; | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function init_log_level(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function acir_read_bytes(a: number, b: number): number; | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function __wbindgen_export_0(a: number): number; | ||
@@ -11,0 +11,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number; |
@@ -9,10 +9,2 @@ /* tslint:disable */ | ||
/** | ||
* @param {string} level | ||
*/ | ||
export function init_log_level(level: string): void; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; | ||
/** | ||
* @param {Uint8Array} bytes | ||
@@ -27,1 +19,9 @@ * @returns {any} | ||
export function acir_write_bytes(acir: any): Uint8Array; | ||
/** | ||
* @param {string} level | ||
*/ | ||
export function init_log_level(level: string): void; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; |
@@ -137,19 +137,3 @@ let imports = {}; | ||
} | ||
/** | ||
* @param {string} level | ||
*/ | ||
module.exports.init_log_level = function(level) { | ||
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.init_log_level(ptr0, len0); | ||
}; | ||
/** | ||
* @returns {any} | ||
*/ | ||
module.exports.build_info = function() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
}; | ||
function passArray8ToWasm0(arg, malloc) { | ||
@@ -194,2 +178,19 @@ const ptr = malloc(arg.length * 1) >>> 0; | ||
/** | ||
* @param {string} level | ||
*/ | ||
module.exports.init_log_level = function(level) { | ||
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.init_log_level(ptr0, len0); | ||
}; | ||
/** | ||
* @returns {any} | ||
*/ | ||
module.exports.build_info = function() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
}; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
@@ -209,3 +210,3 @@ const ret = getObject(arg0) === undefined; | ||
module.exports.__wbg_readfile_e2b010c5826e7b29 = function() { return handleError(function (arg0, arg1, arg2) { | ||
module.exports.__wbg_readfile_0c1777c7c5aa8c92 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = read_file(getStringFromWasm0(arg1, arg2)); | ||
@@ -212,0 +213,0 @@ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); |
@@ -6,3 +6,3 @@ { | ||
], | ||
"version": "0.15.0-kw-play-around-f87a92a3e", | ||
"version": "0.16.0-kw-play-around-5adc77fbe", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -9,0 +9,0 @@ "main": "./nodejs/noir_wasm.js", |
@@ -5,6 +5,6 @@ /* tslint:disable */ | ||
export function compile(a: number): number; | ||
export function acir_read_bytes(a: number, b: number): number; | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function init_log_level(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function acir_read_bytes(a: number, b: number): number; | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function __wbindgen_export_0(a: number): number; | ||
@@ -11,0 +11,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number; |
@@ -9,10 +9,2 @@ /* tslint:disable */ | ||
/** | ||
* @param {string} level | ||
*/ | ||
export function init_log_level(level: string): void; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; | ||
/** | ||
* @param {Uint8Array} bytes | ||
@@ -27,2 +19,10 @@ * @returns {any} | ||
export function acir_write_bytes(acir: any): Uint8Array; | ||
/** | ||
* @param {string} level | ||
*/ | ||
export function init_log_level(level: string): void; | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info(): any; | ||
@@ -34,6 +34,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; | ||
readonly compile: (a: number) => number; | ||
readonly acir_read_bytes: (a: number, b: number) => number; | ||
readonly acir_write_bytes: (a: number, b: number) => void; | ||
readonly init_log_level: (a: number, b: number) => void; | ||
readonly build_info: () => number; | ||
readonly acir_read_bytes: (a: number, b: number) => number; | ||
readonly acir_write_bytes: (a: number, b: number) => void; | ||
readonly __wbindgen_export_0: (a: number) => number; | ||
@@ -40,0 +40,0 @@ readonly __wbindgen_export_1: (a: number, b: number, c: number) => number; |
@@ -135,19 +135,3 @@ import { read_file } from '@noir-lang/source-resolver'; | ||
} | ||
/** | ||
* @param {string} level | ||
*/ | ||
export function init_log_level(level) { | ||
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.init_log_level(ptr0, len0); | ||
} | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
} | ||
function passArray8ToWasm0(arg, malloc) { | ||
@@ -192,2 +176,19 @@ const ptr = malloc(arg.length * 1) >>> 0; | ||
/** | ||
* @param {string} level | ||
*/ | ||
export function init_log_level(level) { | ||
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); | ||
const len0 = WASM_VECTOR_LEN; | ||
wasm.init_log_level(ptr0, len0); | ||
} | ||
/** | ||
* @returns {any} | ||
*/ | ||
export function build_info() { | ||
const ret = wasm.build_info(); | ||
return takeObject(ret); | ||
} | ||
async function __wbg_load(module, imports) { | ||
@@ -238,3 +239,3 @@ if (typeof Response === 'function' && module instanceof Response) { | ||
}; | ||
imports.wbg.__wbg_readfile_e2b010c5826e7b29 = function() { return handleError(function (arg0, arg1, arg2) { | ||
imports.wbg.__wbg_readfile_0c1777c7c5aa8c92 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = read_file(getStringFromWasm0(arg1, arg2)); | ||
@@ -241,0 +242,0 @@ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14850189