lebai_sdk 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lebai_sdk_bg.js +48 -48
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/lebai_sdk_bg.js
CHANGED
@@ -53,28 +53,6 @@ function getStringFromWasm0(ptr, len) {
|
|
53
53
|
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
54
54
|
}
|
55
55
|
|
56
|
-
function isLikeNone(x) {
|
57
|
-
return x === undefined || x === null;
|
58
|
-
}
|
59
|
-
|
60
|
-
let cachedFloat64Memory0 = null;
|
61
|
-
|
62
|
-
function getFloat64Memory0() {
|
63
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
64
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
65
|
-
}
|
66
|
-
return cachedFloat64Memory0;
|
67
|
-
}
|
68
|
-
|
69
|
-
let cachedInt32Memory0 = null;
|
70
|
-
|
71
|
-
function getInt32Memory0() {
|
72
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
73
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
74
|
-
}
|
75
|
-
return cachedInt32Memory0;
|
76
|
-
}
|
77
|
-
|
78
56
|
let WASM_VECTOR_LEN = 0;
|
79
57
|
|
80
58
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
@@ -132,6 +110,28 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
132
110
|
return ptr;
|
133
111
|
}
|
134
112
|
|
113
|
+
function isLikeNone(x) {
|
114
|
+
return x === undefined || x === null;
|
115
|
+
}
|
116
|
+
|
117
|
+
let cachedInt32Memory0 = null;
|
118
|
+
|
119
|
+
function getInt32Memory0() {
|
120
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
121
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
122
|
+
}
|
123
|
+
return cachedInt32Memory0;
|
124
|
+
}
|
125
|
+
|
126
|
+
let cachedFloat64Memory0 = null;
|
127
|
+
|
128
|
+
function getFloat64Memory0() {
|
129
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
130
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
131
|
+
}
|
132
|
+
return cachedFloat64Memory0;
|
133
|
+
}
|
134
|
+
|
135
135
|
let cachedBigInt64Memory0 = null;
|
136
136
|
|
137
137
|
function getBigInt64Memory0() {
|
@@ -231,19 +231,19 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
231
231
|
return real;
|
232
232
|
}
|
233
233
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
234
|
-
wasm.
|
234
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2839438a712b504b(arg0, arg1, addHeapObject(arg2));
|
235
235
|
}
|
236
236
|
|
237
237
|
function __wbg_adapter_55(arg0, arg1) {
|
238
|
-
wasm.
|
238
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h680b6b8f369a3c31(arg0, arg1);
|
239
239
|
}
|
240
240
|
|
241
241
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
242
|
-
wasm.
|
242
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h51a85773cf9886da(arg0, arg1, addHeapObject(arg2));
|
243
243
|
}
|
244
244
|
|
245
245
|
function __wbg_adapter_61(arg0, arg1) {
|
246
|
-
wasm.
|
246
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd646f7b17c8e85b7(arg0, arg1);
|
247
247
|
}
|
248
248
|
|
249
249
|
let cachedUint32Memory0 = null;
|
@@ -323,7 +323,7 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
323
323
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
324
324
|
}
|
325
325
|
function __wbg_adapter_229(arg0, arg1, arg2, arg3) {
|
326
|
-
wasm.
|
326
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h39177fd04e0af7c0(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
327
327
|
}
|
328
328
|
|
329
329
|
/**
|
@@ -1215,6 +1215,15 @@ export function __wbg_robotsubscription_new(arg0) {
|
|
1215
1215
|
return addHeapObject(ret);
|
1216
1216
|
};
|
1217
1217
|
|
1218
|
+
export function __wbindgen_string_get(arg0, arg1) {
|
1219
|
+
const obj = getObject(arg1);
|
1220
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
1221
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1222
|
+
var len1 = WASM_VECTOR_LEN;
|
1223
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
1224
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1225
|
+
};
|
1226
|
+
|
1218
1227
|
export function __wbindgen_number_get(arg0, arg1) {
|
1219
1228
|
const obj = getObject(arg1);
|
1220
1229
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
@@ -1228,15 +1237,6 @@ export function __wbindgen_boolean_get(arg0) {
|
|
1228
1237
|
return ret;
|
1229
1238
|
};
|
1230
1239
|
|
1231
|
-
export function __wbindgen_string_get(arg0, arg1) {
|
1232
|
-
const obj = getObject(arg1);
|
1233
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
1234
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1235
|
-
var len1 = WASM_VECTOR_LEN;
|
1236
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
1237
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1238
|
-
};
|
1239
|
-
|
1240
1240
|
export function __wbindgen_is_object(arg0) {
|
1241
1241
|
const val = getObject(arg0);
|
1242
1242
|
const ret = typeof(val) === 'object' && val !== null;
|
@@ -1592,33 +1592,33 @@ export function __wbindgen_memory() {
|
|
1592
1592
|
return addHeapObject(ret);
|
1593
1593
|
};
|
1594
1594
|
|
1595
|
-
export function
|
1596
|
-
const ret = makeMutClosure(arg0, arg1,
|
1595
|
+
export function __wbindgen_closure_wrapper1714(arg0, arg1, arg2) {
|
1596
|
+
const ret = makeMutClosure(arg0, arg1, 653, __wbg_adapter_48);
|
1597
1597
|
return addHeapObject(ret);
|
1598
1598
|
};
|
1599
1599
|
|
1600
|
-
export function
|
1601
|
-
const ret = makeMutClosure(arg0, arg1,
|
1600
|
+
export function __wbindgen_closure_wrapper1716(arg0, arg1, arg2) {
|
1601
|
+
const ret = makeMutClosure(arg0, arg1, 653, __wbg_adapter_48);
|
1602
1602
|
return addHeapObject(ret);
|
1603
1603
|
};
|
1604
1604
|
|
1605
|
-
export function
|
1606
|
-
const ret = makeMutClosure(arg0, arg1,
|
1605
|
+
export function __wbindgen_closure_wrapper1718(arg0, arg1, arg2) {
|
1606
|
+
const ret = makeMutClosure(arg0, arg1, 653, __wbg_adapter_48);
|
1607
1607
|
return addHeapObject(ret);
|
1608
1608
|
};
|
1609
1609
|
|
1610
|
-
export function
|
1611
|
-
const ret = makeMutClosure(arg0, arg1,
|
1610
|
+
export function __wbindgen_closure_wrapper1720(arg0, arg1, arg2) {
|
1611
|
+
const ret = makeMutClosure(arg0, arg1, 653, __wbg_adapter_55);
|
1612
1612
|
return addHeapObject(ret);
|
1613
1613
|
};
|
1614
1614
|
|
1615
|
-
export function
|
1616
|
-
const ret = makeMutClosure(arg0, arg1,
|
1615
|
+
export function __wbindgen_closure_wrapper2185(arg0, arg1, arg2) {
|
1616
|
+
const ret = makeMutClosure(arg0, arg1, 723, __wbg_adapter_58);
|
1617
1617
|
return addHeapObject(ret);
|
1618
1618
|
};
|
1619
1619
|
|
1620
|
-
export function
|
1621
|
-
const ret = makeMutClosure(arg0, arg1,
|
1620
|
+
export function __wbindgen_closure_wrapper2225(arg0, arg1, arg2) {
|
1621
|
+
const ret = makeMutClosure(arg0, arg1, 740, __wbg_adapter_61);
|
1622
1622
|
return addHeapObject(ret);
|
1623
1623
|
};
|
1624
1624
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|