@noir-lang/noir_wasm
Advanced tools
Comparing version 0.6.0-181813 to 0.6.0-5fd976e
@@ -6,5 +6,5 @@ /* tslint:disable */ | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function compile(a: number): number; | ||
export function init_log_level(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function compile(a: number): number; | ||
export function __wbindgen_export_0(a: number): number; | ||
@@ -11,0 +11,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number; |
@@ -14,2 +14,7 @@ /* tslint:disable */ | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
export function compile(args: any): any; | ||
/** | ||
* @param {string} level | ||
@@ -22,6 +27,1 @@ */ | ||
export function build_info(): any; | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
export function compile(args: any): any; |
@@ -160,2 +160,11 @@ let imports = {}; | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
module.exports.compile = function(args) { | ||
const ret = wasm.compile(addHeapObject(args)); | ||
return takeObject(ret); | ||
}; | ||
/** | ||
* @param {string} level | ||
@@ -177,11 +186,2 @@ */ | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
module.exports.compile = function(args) { | ||
const ret = wasm.compile(addHeapObject(args)); | ||
return takeObject(ret); | ||
}; | ||
function handleError(f, args) { | ||
@@ -195,6 +195,2 @@ try { | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
@@ -205,2 +201,6 @@ const ret = getObject(arg0) === undefined; | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_is_null = function(arg0) { | ||
@@ -207,0 +207,0 @@ const ret = getObject(arg0) === null; |
@@ -6,3 +6,3 @@ { | ||
], | ||
"version": "0.6.0-0181813", | ||
"version": "0.6.0-5fd976e", | ||
"files": [ | ||
@@ -25,4 +25,4 @@ "nodejs", | ||
"compiler": { | ||
"versionHash": "0181813203a9e3e46c6d8c3169ad5d25971d4282" | ||
"versionHash": "5fd976e03e8034e521840621035c99ea840b13ba" | ||
} | ||
} |
# Noir Lang WASM JavaScript Package | ||
## Tracks | ||
Noir lang Repository [noir-lang/noir@0181813](https://github.com/noir-lang/noir/tree/0181813203a9e3e46c6d8c3169ad5d25971d4282) | ||
Noir lang Repository [noir-lang/noir@5fd976e](https://github.com/noir-lang/noir/tree/5fd976e03e8034e521840621035c99ea840b13ba) |
@@ -6,5 +6,5 @@ /* tslint:disable */ | ||
export function acir_write_bytes(a: number, b: number): void; | ||
export function compile(a: number): number; | ||
export function init_log_level(a: number, b: number): void; | ||
export function build_info(): number; | ||
export function compile(a: number): number; | ||
export function __wbindgen_export_0(a: number): number; | ||
@@ -11,0 +11,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number; |
@@ -14,2 +14,7 @@ /* tslint:disable */ | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
export function compile(args: any): any; | ||
/** | ||
* @param {string} level | ||
@@ -22,7 +27,2 @@ */ | ||
export function build_info(): any; | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
export function compile(args: any): any; | ||
@@ -35,5 +35,5 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; | ||
readonly acir_write_bytes: (a: number, b: number) => void; | ||
readonly compile: (a: number) => number; | ||
readonly init_log_level: (a: number, b: number) => void; | ||
readonly build_info: () => number; | ||
readonly compile: (a: number) => number; | ||
readonly __wbindgen_export_0: (a: number) => number; | ||
@@ -40,0 +40,0 @@ readonly __wbindgen_export_1: (a: number, b: number, c: number) => number; |
@@ -158,2 +158,11 @@ import { read_file } from '@noir-lang/noir-source-resolver'; | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
export function compile(args) { | ||
const ret = wasm.compile(addHeapObject(args)); | ||
return takeObject(ret); | ||
} | ||
/** | ||
* @param {string} level | ||
@@ -175,11 +184,2 @@ */ | ||
/** | ||
* @param {any} args | ||
* @returns {any} | ||
*/ | ||
export function compile(args) { | ||
const ret = wasm.compile(addHeapObject(args)); | ||
return takeObject(ret); | ||
} | ||
function handleError(f, args) { | ||
@@ -227,5 +227,2 @@ try { | ||
imports.wbg = {}; | ||
imports.wbg.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
imports.wbg.__wbindgen_is_undefined = function(arg0) { | ||
@@ -235,2 +232,5 @@ const ret = getObject(arg0) === undefined; | ||
}; | ||
imports.wbg.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
imports.wbg.__wbindgen_is_null = function(arg0) { | ||
@@ -237,0 +237,0 @@ const ret = getObject(arg0) === null; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
9474751
506
3
23
45
5