@cartridge/account-wasm
Advanced tools
Comparing version 0.5.0-alpha.1 to 0.5.0-alpha.2
{ | ||
"name": "@cartridge/account-wasm", | ||
"version": "0.5.0-alpha.1", | ||
"version": "0.5.0-alpha.2", | ||
"description": "Wasm bindings for Cartridge Controller and Session Account", | ||
@@ -41,3 +41,3 @@ "main": "./pkg-controller/account_wasm.js", | ||
"wasm-pack": "^0.13.0", | ||
"@cartridge/tsconfig": "^0.5.0-alpha.1" | ||
"@cartridge/tsconfig": "^0.5.0-alpha.2" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
@@ -223,3 +223,3 @@ let wasm; | ||
function __wbg_adapter_36(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15c1b1250af4885e(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h482971e0475a1e59(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -245,3 +245,3 @@ | ||
function __wbg_adapter_187(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h955c40d11324e1fc(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3cdfb3706b80d692(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
@@ -765,9 +765,9 @@ | ||
export function __wbindgen_number_new(arg0) { | ||
const ret = arg0; | ||
export function __wbg_jscontrollererror_new(arg0) { | ||
const ret = JsControllerError.__wrap(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbg_jscontrollererror_new(arg0) { | ||
const ret = JsControllerError.__wrap(arg0); | ||
export function __wbindgen_number_new(arg0) { | ||
const ret = arg0; | ||
return addHeapObject(ret); | ||
@@ -1263,6 +1263,6 @@ }; | ||
export function __wbindgen_closure_wrapper2510(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 457, __wbg_adapter_36); | ||
export function __wbindgen_closure_wrapper2542(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 463, __wbg_adapter_36); | ||
return addHeapObject(ret); | ||
}; | ||
@@ -15,11 +15,2 @@ let wasm; | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
function dropObject(idx) { | ||
@@ -37,2 +28,11 @@ if (idx < 132) return; | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -225,3 +225,3 @@ | ||
function __wbg_adapter_36(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h15c1b1250af4885e(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h482971e0475a1e59(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -247,3 +247,3 @@ | ||
function __wbg_adapter_159(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h955c40d11324e1fc(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3cdfb3706b80d692(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
@@ -466,2 +466,6 @@ | ||
export function __wbindgen_object_drop_ref(arg0) { | ||
takeObject(arg0); | ||
}; | ||
export function __wbindgen_object_clone_ref(arg0) { | ||
@@ -472,6 +476,2 @@ const ret = getObject(arg0); | ||
export function __wbindgen_object_drop_ref(arg0) { | ||
takeObject(arg0); | ||
}; | ||
export function __wbindgen_string_get(arg0, arg1) { | ||
@@ -957,6 +957,6 @@ const obj = getObject(arg1); | ||
export function __wbindgen_closure_wrapper1603(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 317, __wbg_adapter_36); | ||
export function __wbindgen_closure_wrapper1623(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 319, __wbg_adapter_36); | ||
return addHeapObject(ret); | ||
}; | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2577159