@noir-lang/noirc_abi
Advanced tools
Comparing version 0.12.0 to 0.13.0
@@ -6,4 +6,2 @@ /* tslint:disable */ | ||
export function abiDecode(a: number, b: number, c: number): void; | ||
export function __wbg_trap_free(a: number): void; | ||
export function trap___wbgd_downcast_token(): number; | ||
export function __wbindgen_malloc(a: number): number; | ||
@@ -13,3 +11,3 @@ export function __wbindgen_realloc(a: number, b: number, c: number): number; | ||
export function __wbindgen_free(a: number, b: number): void; | ||
export function wasm_bindgen__convert__closures__invoke2_mut__h345d08f7c40b28d9(a: number, b: number, c: number, d: number): void; | ||
export function __wbindgen_exn_store(a: number): void; | ||
export function wasm_bindgen__convert__closures__invoke2_mut__h111bd9fa85682cff(a: number, b: number, c: number, d: number): void; |
@@ -21,11 +21,1 @@ /* tslint:disable */ | ||
/** | ||
* A struct representing a Trap | ||
*/ | ||
export class Trap { | ||
free(): void; | ||
/** | ||
* @returns {Symbol} | ||
*/ | ||
static __wbgd_downcast_token(): Symbol; | ||
} |
@@ -172,2 +172,6 @@ let imports = {}; | ||
function __wbg_adapter_26(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h345d08f7c40b28d9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
function handleError(f, args) { | ||
@@ -180,32 +184,3 @@ try { | ||
} | ||
function __wbg_adapter_32(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h111bd9fa85682cff(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
/** | ||
* A struct representing a Trap | ||
*/ | ||
class Trap { | ||
__destroy_into_raw() { | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
return ptr; | ||
} | ||
free() { | ||
const ptr = this.__destroy_into_raw(); | ||
wasm.__wbg_trap_free(ptr); | ||
} | ||
/** | ||
* @returns {Symbol} | ||
*/ | ||
static __wbgd_downcast_token() { | ||
const ret = wasm.trap___wbgd_downcast_token(); | ||
return takeObject(ret); | ||
} | ||
} | ||
module.exports.Trap = Trap; | ||
module.exports.__wbindgen_number_get = function(arg0, arg1) { | ||
@@ -237,3 +212,3 @@ const obj = getObject(arg1); | ||
module.exports.__wbg_new_b33e07ff3321bf59 = function() { | ||
module.exports.__wbg_new_b3b0a89b9ad0bb3a = function() { | ||
const ret = new Map(); | ||
@@ -282,12 +257,2 @@ return addHeapObject(ret); | ||
module.exports.__wbg_call_557a2f2deacc4912 = function() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_forEach_942772130a8d06a6 = function(arg0, arg1, arg2) { | ||
@@ -300,3 +265,3 @@ try { | ||
try { | ||
return __wbg_adapter_32(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_26(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -331,12 +296,2 @@ state0.a = a; | ||
module.exports.__wbg_static_accessor_SYMBOL_45d4d15e3c4aeb33 = function() { | ||
const ret = Symbol; | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_is_symbol = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'symbol'; | ||
return ret; | ||
}; | ||
const path = require('path').join(__dirname, 'noirc_abi_wasm_bg.wasm'); | ||
@@ -343,0 +298,0 @@ const bytes = require('fs').readFileSync(path); |
@@ -6,3 +6,3 @@ { | ||
], | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -9,0 +9,0 @@ "files": [ |
@@ -6,4 +6,2 @@ /* tslint:disable */ | ||
export function abiDecode(a: number, b: number, c: number): void; | ||
export function __wbg_trap_free(a: number): void; | ||
export function trap___wbgd_downcast_token(): number; | ||
export function __wbindgen_malloc(a: number): number; | ||
@@ -13,3 +11,3 @@ export function __wbindgen_realloc(a: number, b: number, c: number): number; | ||
export function __wbindgen_free(a: number, b: number): void; | ||
export function wasm_bindgen__convert__closures__invoke2_mut__h345d08f7c40b28d9(a: number, b: number, c: number, d: number): void; | ||
export function __wbindgen_exn_store(a: number): void; | ||
export function wasm_bindgen__convert__closures__invoke2_mut__h111bd9fa85682cff(a: number, b: number, c: number, d: number): void; |
@@ -21,12 +21,2 @@ /* tslint:disable */ | ||
/** | ||
* A struct representing a Trap | ||
*/ | ||
export class Trap { | ||
free(): void; | ||
/** | ||
* @returns {Symbol} | ||
*/ | ||
static __wbgd_downcast_token(): Symbol; | ||
} | ||
@@ -39,4 +29,2 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; | ||
readonly abiDecode: (a: number, b: number, c: number) => void; | ||
readonly __wbg_trap_free: (a: number) => void; | ||
readonly trap___wbgd_downcast_token: () => number; | ||
readonly __wbindgen_malloc: (a: number) => number; | ||
@@ -46,4 +34,4 @@ readonly __wbindgen_realloc: (a: number, b: number, c: number) => number; | ||
readonly __wbindgen_free: (a: number, b: number) => void; | ||
readonly wasm_bindgen__convert__closures__invoke2_mut__h345d08f7c40b28d9: (a: number, b: number, c: number, d: number) => void; | ||
readonly __wbindgen_exn_store: (a: number) => void; | ||
readonly wasm_bindgen__convert__closures__invoke2_mut__h111bd9fa85682cff: (a: number, b: number, c: number, d: number) => void; | ||
} | ||
@@ -50,0 +38,0 @@ |
@@ -169,2 +169,6 @@ let wasm; | ||
function __wbg_adapter_26(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h345d08f7c40b28d9(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
function handleError(f, args) { | ||
@@ -177,31 +181,3 @@ try { | ||
} | ||
function __wbg_adapter_32(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h111bd9fa85682cff(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
/** | ||
* A struct representing a Trap | ||
*/ | ||
export class Trap { | ||
__destroy_into_raw() { | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
return ptr; | ||
} | ||
free() { | ||
const ptr = this.__destroy_into_raw(); | ||
wasm.__wbg_trap_free(ptr); | ||
} | ||
/** | ||
* @returns {Symbol} | ||
*/ | ||
static __wbgd_downcast_token() { | ||
const ret = wasm.trap___wbgd_downcast_token(); | ||
return takeObject(ret); | ||
} | ||
} | ||
async function __wbg_load(module, imports) { | ||
@@ -262,3 +238,3 @@ if (typeof Response === 'function' && module instanceof Response) { | ||
}; | ||
imports.wbg.__wbg_new_b33e07ff3321bf59 = function() { | ||
imports.wbg.__wbg_new_b3b0a89b9ad0bb3a = function() { | ||
const ret = new Map(); | ||
@@ -301,10 +277,2 @@ return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_call_557a2f2deacc4912 = function() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
imports.wbg.__wbindgen_object_clone_ref = function(arg0) { | ||
const ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_forEach_942772130a8d06a6 = function(arg0, arg1, arg2) { | ||
@@ -317,3 +285,3 @@ try { | ||
try { | ||
return __wbg_adapter_32(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_26(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -343,10 +311,2 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbg_static_accessor_SYMBOL_45d4d15e3c4aeb33 = function() { | ||
const ret = Symbol; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_is_symbol = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'symbol'; | ||
return ret; | ||
}; | ||
@@ -353,0 +313,0 @@ return imports; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
801790
634