avatar-sdk
Advanced tools
Comparing version 0.1.253 to 0.1.254
@@ -6,3 +6,3 @@ { | ||
], | ||
"version": "0.1.253", | ||
"version": "0.1.254", | ||
"files": [ | ||
@@ -9,0 +9,0 @@ "xrsavatar_bg.js", |
@@ -23,8 +23,4 @@ import * as wasm from './xrsavatar_bg.wasm'; | ||
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; | ||
let WASM_VECTOR_LEN = 0; | ||
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
cachedTextDecoder.decode(); | ||
let cachegetUint8Memory0 = null; | ||
@@ -38,17 +34,2 @@ function getUint8Memory0() { | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
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; | ||
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder; | ||
@@ -117,2 +98,21 @@ | ||
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; | ||
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
cachedTextDecoder.decode(); | ||
function getStringFromWasm0(ptr, len) { | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
} | ||
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 isLikeNone(x) { | ||
@@ -220,3 +220,3 @@ return x === undefined || x === null; | ||
function __wbg_adapter_34(arg0, arg1) { | ||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h695ceb1b340f3ab7(arg0, arg1); | ||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf91e64d8f4c7a7b2(arg0, arg1); | ||
} | ||
@@ -623,7 +623,2 @@ | ||
export function __wbindgen_string_new(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_cb_drop(arg0) { | ||
@@ -648,2 +643,7 @@ const obj = takeObject(arg0).original; | ||
export function __wbindgen_string_new(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbg_new_59cb74e423758ede() { | ||
@@ -1470,3 +1470,3 @@ var ret = new Error(); | ||
export function __wbindgen_closure_wrapper527(arg0, arg1, arg2) { | ||
export function __wbindgen_closure_wrapper525(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 87, __wbg_adapter_34); | ||
@@ -1476,36 +1476,36 @@ return addHeapObject(ret); | ||
export function __wbindgen_closure_wrapper3249(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1181, __wbg_adapter_37); | ||
export function __wbindgen_closure_wrapper3233(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1178, __wbg_adapter_37); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_closure_wrapper3251(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1181, __wbg_adapter_40); | ||
export function __wbindgen_closure_wrapper3235(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1178, __wbg_adapter_40); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_closure_wrapper3253(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1181, __wbg_adapter_43); | ||
export function __wbindgen_closure_wrapper3237(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1178, __wbg_adapter_43); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_closure_wrapper3255(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1181, __wbg_adapter_46); | ||
export function __wbindgen_closure_wrapper3239(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1178, __wbg_adapter_46); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_closure_wrapper3257(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1181, __wbg_adapter_49); | ||
export function __wbindgen_closure_wrapper3241(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1178, __wbg_adapter_49); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_closure_wrapper3259(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1181, __wbg_adapter_52); | ||
export function __wbindgen_closure_wrapper3243(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1178, __wbg_adapter_52); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_closure_wrapper3992(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1401, __wbg_adapter_55); | ||
export function __wbindgen_closure_wrapper3976(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1398, __wbg_adapter_55); | ||
return addHeapObject(ret); | ||
}; | ||
Sorry, the diff of this file is not supported yet
5686344