lebai_sdk 0.1.16 → 0.1.18
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 +64 -64
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +4 -1
package/lebai_sdk_bg.js
CHANGED
@@ -103,6 +103,15 @@ function getInt32Memory0() {
|
|
103
103
|
return cachedInt32Memory0;
|
104
104
|
}
|
105
105
|
|
106
|
+
function addHeapObject(obj) {
|
107
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
108
|
+
const idx = heap_next;
|
109
|
+
heap_next = heap[idx];
|
110
|
+
|
111
|
+
heap[idx] = obj;
|
112
|
+
return idx;
|
113
|
+
}
|
114
|
+
|
106
115
|
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
107
116
|
|
108
117
|
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
@@ -114,15 +123,6 @@ function getStringFromWasm0(ptr, len) {
|
|
114
123
|
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
115
124
|
}
|
116
125
|
|
117
|
-
function addHeapObject(obj) {
|
118
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
119
|
-
const idx = heap_next;
|
120
|
-
heap_next = heap[idx];
|
121
|
-
|
122
|
-
heap[idx] = obj;
|
123
|
-
return idx;
|
124
|
-
}
|
125
|
-
|
126
126
|
let cachedFloat64Memory0 = null;
|
127
127
|
|
128
128
|
function getFloat64Memory0() {
|
@@ -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__h14a0a7cc34d6cb7b(arg0, arg1, addHeapObject(arg2));
|
235
235
|
}
|
236
236
|
|
237
|
-
function
|
238
|
-
wasm.
|
237
|
+
function __wbg_adapter_55(arg0, arg1) {
|
238
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heeda6a83a91cd6af(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__h418bcfa3d9cfb1d7(arg0, arg1, addHeapObject(arg2));
|
243
243
|
}
|
244
244
|
|
245
245
|
function __wbg_adapter_61(arg0, arg1) {
|
246
|
-
wasm.
|
246
|
+
wasm.wasm_bindgen__convert__closures__invoke0_mut__h3202873ee772e7ea(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_234(arg0, arg1, arg2, arg3) {
|
326
|
-
wasm.
|
326
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2a9104be04933eb2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
327
327
|
}
|
328
328
|
|
329
329
|
/**
|
@@ -1232,13 +1232,13 @@ export function __wbindgen_string_get(arg0, arg1) {
|
|
1232
1232
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1233
1233
|
};
|
1234
1234
|
|
1235
|
-
export function
|
1236
|
-
const ret =
|
1235
|
+
export function __wbindgen_number_new(arg0) {
|
1236
|
+
const ret = arg0;
|
1237
1237
|
return addHeapObject(ret);
|
1238
1238
|
};
|
1239
1239
|
|
1240
|
-
export function
|
1241
|
-
const ret = arg0;
|
1240
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
1241
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
1242
1242
|
return addHeapObject(ret);
|
1243
1243
|
};
|
1244
1244
|
|
@@ -1258,12 +1258,6 @@ export function __wbindgen_is_object(arg0) {
|
|
1258
1258
|
return ret;
|
1259
1259
|
};
|
1260
1260
|
|
1261
|
-
export function __wbindgen_boolean_get(arg0) {
|
1262
|
-
const v = getObject(arg0);
|
1263
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1264
|
-
return ret;
|
1265
|
-
};
|
1266
|
-
|
1267
1261
|
export function __wbindgen_cb_drop(arg0) {
|
1268
1262
|
const obj = takeObject(arg0).original;
|
1269
1263
|
if (obj.cnt-- == 1) {
|
@@ -1274,16 +1268,10 @@ export function __wbindgen_cb_drop(arg0) {
|
|
1274
1268
|
return ret;
|
1275
1269
|
};
|
1276
1270
|
|
1277
|
-
export function
|
1278
|
-
const
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
export function __wbindgen_number_get(arg0, arg1) {
|
1283
|
-
const obj = getObject(arg1);
|
1284
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
1285
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1286
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1271
|
+
export function __wbindgen_boolean_get(arg0) {
|
1272
|
+
const v = getObject(arg0);
|
1273
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1274
|
+
return ret;
|
1287
1275
|
};
|
1288
1276
|
|
1289
1277
|
export function __wbindgen_is_bigint(arg0) {
|
@@ -1306,6 +1294,13 @@ export function __wbindgen_bigint_from_u64(arg0) {
|
|
1306
1294
|
return addHeapObject(ret);
|
1307
1295
|
};
|
1308
1296
|
|
1297
|
+
export function __wbindgen_number_get(arg0, arg1) {
|
1298
|
+
const obj = getObject(arg1);
|
1299
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
1300
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1301
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1302
|
+
};
|
1303
|
+
|
1309
1304
|
export function __wbindgen_in(arg0, arg1) {
|
1310
1305
|
const ret = getObject(arg0) in getObject(arg1);
|
1311
1306
|
return ret;
|
@@ -1316,6 +1311,11 @@ export function __wbindgen_is_undefined(arg0) {
|
|
1316
1311
|
return ret;
|
1317
1312
|
};
|
1318
1313
|
|
1314
|
+
export function __wbindgen_error_new(arg0, arg1) {
|
1315
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1316
|
+
return addHeapObject(ret);
|
1317
|
+
};
|
1318
|
+
|
1319
1319
|
export function __wbindgen_is_string(arg0) {
|
1320
1320
|
const ret = typeof(getObject(arg0)) === 'string';
|
1321
1321
|
return ret;
|
@@ -1349,6 +1349,23 @@ export function __wbg_newwitheventinitdict_1f554ee93659ab92() { return handleErr
|
|
1349
1349
|
return addHeapObject(ret);
|
1350
1350
|
}, arguments) };
|
1351
1351
|
|
1352
|
+
export function __wbg_addEventListener_5651108fc3ffeb6e() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1353
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1354
|
+
}, arguments) };
|
1355
|
+
|
1356
|
+
export function __wbg_addEventListener_a5963e26cd7b176b() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
1357
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
1358
|
+
}, arguments) };
|
1359
|
+
|
1360
|
+
export function __wbg_dispatchEvent_a622a6455be582eb() { return handleError(function (arg0, arg1) {
|
1361
|
+
const ret = getObject(arg0).dispatchEvent(getObject(arg1));
|
1362
|
+
return ret;
|
1363
|
+
}, arguments) };
|
1364
|
+
|
1365
|
+
export function __wbg_removeEventListener_5de660c02ed784e4() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1366
|
+
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1367
|
+
}, arguments) };
|
1368
|
+
|
1352
1369
|
export function __wbg_readyState_b25418fd198bf715(arg0) {
|
1353
1370
|
const ret = getObject(arg0).readyState;
|
1354
1371
|
return ret;
|
@@ -1380,23 +1397,6 @@ export function __wbg_data_ab99ae4a2e1e8bc9(arg0) {
|
|
1380
1397
|
return addHeapObject(ret);
|
1381
1398
|
};
|
1382
1399
|
|
1383
|
-
export function __wbg_addEventListener_5651108fc3ffeb6e() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1384
|
-
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1385
|
-
}, arguments) };
|
1386
|
-
|
1387
|
-
export function __wbg_addEventListener_a5963e26cd7b176b() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
1388
|
-
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
1389
|
-
}, arguments) };
|
1390
|
-
|
1391
|
-
export function __wbg_dispatchEvent_a622a6455be582eb() { return handleError(function (arg0, arg1) {
|
1392
|
-
const ret = getObject(arg0).dispatchEvent(getObject(arg1));
|
1393
|
-
return ret;
|
1394
|
-
}, arguments) };
|
1395
|
-
|
1396
|
-
export function __wbg_removeEventListener_5de660c02ed784e4() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1397
|
-
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1398
|
-
}, arguments) };
|
1399
|
-
|
1400
1400
|
export function __wbg_clearTimeout_76877dbc010e786d(arg0) {
|
1401
1401
|
const ret = clearTimeout(takeObject(arg0));
|
1402
1402
|
return addHeapObject(ret);
|
@@ -1630,33 +1630,33 @@ export function __wbindgen_memory() {
|
|
1630
1630
|
return addHeapObject(ret);
|
1631
1631
|
};
|
1632
1632
|
|
1633
|
-
export function
|
1634
|
-
const ret = makeMutClosure(arg0, arg1,
|
1633
|
+
export function __wbindgen_closure_wrapper1587(arg0, arg1, arg2) {
|
1634
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_48);
|
1635
1635
|
return addHeapObject(ret);
|
1636
1636
|
};
|
1637
1637
|
|
1638
|
-
export function
|
1639
|
-
const ret = makeMutClosure(arg0, arg1,
|
1638
|
+
export function __wbindgen_closure_wrapper1589(arg0, arg1, arg2) {
|
1639
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_48);
|
1640
1640
|
return addHeapObject(ret);
|
1641
1641
|
};
|
1642
1642
|
|
1643
|
-
export function
|
1644
|
-
const ret = makeMutClosure(arg0, arg1,
|
1643
|
+
export function __wbindgen_closure_wrapper1591(arg0, arg1, arg2) {
|
1644
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_48);
|
1645
1645
|
return addHeapObject(ret);
|
1646
1646
|
};
|
1647
1647
|
|
1648
|
-
export function
|
1649
|
-
const ret = makeMutClosure(arg0, arg1,
|
1648
|
+
export function __wbindgen_closure_wrapper1593(arg0, arg1, arg2) {
|
1649
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_55);
|
1650
1650
|
return addHeapObject(ret);
|
1651
1651
|
};
|
1652
1652
|
|
1653
|
-
export function
|
1654
|
-
const ret = makeMutClosure(arg0, arg1,
|
1653
|
+
export function __wbindgen_closure_wrapper2335(arg0, arg1, arg2) {
|
1654
|
+
const ret = makeMutClosure(arg0, arg1, 772, __wbg_adapter_58);
|
1655
1655
|
return addHeapObject(ret);
|
1656
1656
|
};
|
1657
1657
|
|
1658
|
-
export function
|
1659
|
-
const ret = makeMutClosure(arg0, arg1,
|
1658
|
+
export function __wbindgen_closure_wrapper2382(arg0, arg1, arg2) {
|
1659
|
+
const ret = makeMutClosure(arg0, arg1, 795, __wbg_adapter_61);
|
1660
1660
|
return addHeapObject(ret);
|
1661
1661
|
};
|
1662
1662
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|
package/package.json
CHANGED