lebai_sdk 0.2.15 → 0.2.16
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 +85 -85
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/lebai_sdk_bg.js
CHANGED
@@ -237,20 +237,20 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
237
237
|
CLOSURE_DTORS.register(real, state, state);
|
238
238
|
return real;
|
239
239
|
}
|
240
|
-
function __wbg_adapter_50(arg0, arg1) {
|
241
|
-
wasm.
|
240
|
+
function __wbg_adapter_50(arg0, arg1, arg2) {
|
241
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6121ef333731fb26(arg0, arg1, addHeapObject(arg2));
|
242
242
|
}
|
243
243
|
|
244
|
-
function
|
245
|
-
wasm.
|
244
|
+
function __wbg_adapter_57(arg0, arg1) {
|
245
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he0c0364d6d20296d(arg0, arg1);
|
246
246
|
}
|
247
247
|
|
248
248
|
function __wbg_adapter_60(arg0, arg1, arg2) {
|
249
|
-
wasm.
|
249
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbc486438ec3cc4a1(arg0, arg1, addHeapObject(arg2));
|
250
250
|
}
|
251
251
|
|
252
252
|
function __wbg_adapter_63(arg0, arg1) {
|
253
|
-
wasm.
|
253
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3e2b5989697e424d(arg0, arg1);
|
254
254
|
}
|
255
255
|
|
256
256
|
let cachedUint32Memory0 = null;
|
@@ -358,7 +358,7 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
358
358
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
359
359
|
}
|
360
360
|
function __wbg_adapter_259(arg0, arg1, arg2, arg3) {
|
361
|
-
wasm.
|
361
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h7d0b3c93ffe76285(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
362
362
|
}
|
363
363
|
|
364
364
|
const RobotFinalization = (typeof FinalizationRegistry === 'undefined')
|
@@ -1407,13 +1407,13 @@ export function __wbindgen_string_new(arg0, arg1) {
|
|
1407
1407
|
return addHeapObject(ret);
|
1408
1408
|
};
|
1409
1409
|
|
1410
|
-
export function
|
1411
|
-
const ret =
|
1410
|
+
export function __wbg_robotsubscription_new(arg0) {
|
1411
|
+
const ret = RobotSubscription.__wrap(arg0);
|
1412
1412
|
return addHeapObject(ret);
|
1413
1413
|
};
|
1414
1414
|
|
1415
|
-
export function
|
1416
|
-
const ret =
|
1415
|
+
export function __wbg_robot_new(arg0) {
|
1416
|
+
const ret = Robot.__wrap(arg0);
|
1417
1417
|
return addHeapObject(ret);
|
1418
1418
|
};
|
1419
1419
|
|
@@ -1422,14 +1422,23 @@ export function __wbindgen_error_new(arg0, arg1) {
|
|
1422
1422
|
return addHeapObject(ret);
|
1423
1423
|
};
|
1424
1424
|
|
1425
|
-
export function
|
1426
|
-
const
|
1425
|
+
export function __wbindgen_number_get(arg0, arg1) {
|
1426
|
+
const obj = getObject(arg1);
|
1427
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
1428
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1429
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1430
|
+
};
|
1431
|
+
|
1432
|
+
export function __wbindgen_boolean_get(arg0) {
|
1433
|
+
const v = getObject(arg0);
|
1434
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1427
1435
|
return ret;
|
1428
1436
|
};
|
1429
1437
|
|
1430
|
-
export function
|
1431
|
-
const
|
1432
|
-
|
1438
|
+
export function __wbindgen_is_object(arg0) {
|
1439
|
+
const val = getObject(arg0);
|
1440
|
+
const ret = typeof(val) === 'object' && val !== null;
|
1441
|
+
return ret;
|
1433
1442
|
};
|
1434
1443
|
|
1435
1444
|
export function __wbindgen_cb_drop(arg0) {
|
@@ -1442,14 +1451,8 @@ export function __wbindgen_cb_drop(arg0) {
|
|
1442
1451
|
return ret;
|
1443
1452
|
};
|
1444
1453
|
|
1445
|
-
export function
|
1446
|
-
const
|
1447
|
-
const ret = typeof(val) === 'object' && val !== null;
|
1448
|
-
return ret;
|
1449
|
-
};
|
1450
|
-
|
1451
|
-
export function __wbindgen_is_undefined(arg0) {
|
1452
|
-
const ret = getObject(arg0) === undefined;
|
1454
|
+
export function __wbindgen_is_bigint(arg0) {
|
1455
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
1453
1456
|
return ret;
|
1454
1457
|
};
|
1455
1458
|
|
@@ -1458,15 +1461,13 @@ export function __wbindgen_in(arg0, arg1) {
|
|
1458
1461
|
return ret;
|
1459
1462
|
};
|
1460
1463
|
|
1461
|
-
export function
|
1462
|
-
const
|
1463
|
-
|
1464
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1465
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1464
|
+
export function __wbindgen_bigint_from_i64(arg0) {
|
1465
|
+
const ret = arg0;
|
1466
|
+
return addHeapObject(ret);
|
1466
1467
|
};
|
1467
1468
|
|
1468
|
-
export function
|
1469
|
-
const ret =
|
1469
|
+
export function __wbindgen_jsval_eq(arg0, arg1) {
|
1470
|
+
const ret = getObject(arg0) === getObject(arg1);
|
1470
1471
|
return ret;
|
1471
1472
|
};
|
1472
1473
|
|
@@ -1475,19 +1476,18 @@ export function __wbindgen_bigint_from_u64(arg0) {
|
|
1475
1476
|
return addHeapObject(ret);
|
1476
1477
|
};
|
1477
1478
|
|
1478
|
-
export function
|
1479
|
-
const ret = getObject(arg0) ===
|
1479
|
+
export function __wbindgen_is_undefined(arg0) {
|
1480
|
+
const ret = getObject(arg0) === undefined;
|
1480
1481
|
return ret;
|
1481
1482
|
};
|
1482
1483
|
|
1483
|
-
export function
|
1484
|
-
const
|
1485
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1484
|
+
export function __wbindgen_as_number(arg0) {
|
1485
|
+
const ret = +getObject(arg0);
|
1486
1486
|
return ret;
|
1487
1487
|
};
|
1488
1488
|
|
1489
|
-
export function
|
1490
|
-
const ret = arg0;
|
1489
|
+
export function __wbindgen_object_clone_ref(arg0) {
|
1490
|
+
const ret = getObject(arg0);
|
1491
1491
|
return addHeapObject(ret);
|
1492
1492
|
};
|
1493
1493
|
|
@@ -1496,37 +1496,6 @@ export function __wbindgen_is_string(arg0) {
|
|
1496
1496
|
return ret;
|
1497
1497
|
};
|
1498
1498
|
|
1499
|
-
export function __wbg_readyState_2599ffe07703eeea(arg0) {
|
1500
|
-
const ret = getObject(arg0).readyState;
|
1501
|
-
return ret;
|
1502
|
-
};
|
1503
|
-
|
1504
|
-
export function __wbg_setbinaryType_bfaa2b91f5e49737(arg0, arg1) {
|
1505
|
-
getObject(arg0).binaryType = takeObject(arg1);
|
1506
|
-
};
|
1507
|
-
|
1508
|
-
export function __wbg_new_d3ba66fcfe3ebcc6() { return handleError(function (arg0, arg1) {
|
1509
|
-
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
1510
|
-
return addHeapObject(ret);
|
1511
|
-
}, arguments) };
|
1512
|
-
|
1513
|
-
export function __wbg_close_85838c8d50b026da() { return handleError(function (arg0) {
|
1514
|
-
getObject(arg0).close();
|
1515
|
-
}, arguments) };
|
1516
|
-
|
1517
|
-
export function __wbg_send_115b7e92eb793bd9() { return handleError(function (arg0, arg1, arg2) {
|
1518
|
-
getObject(arg0).send(getStringFromWasm0(arg1, arg2));
|
1519
|
-
}, arguments) };
|
1520
|
-
|
1521
|
-
export function __wbg_send_8e8f1c88be375fc1() { return handleError(function (arg0, arg1, arg2) {
|
1522
|
-
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
1523
|
-
}, arguments) };
|
1524
|
-
|
1525
|
-
export function __wbg_data_bbdd2d77ab2f7e78(arg0) {
|
1526
|
-
const ret = getObject(arg0).data;
|
1527
|
-
return addHeapObject(ret);
|
1528
|
-
};
|
1529
|
-
|
1530
1499
|
export function __wbg_wasClean_06aba8a282b21973(arg0) {
|
1531
1500
|
const ret = getObject(arg0).wasClean;
|
1532
1501
|
return ret;
|
@@ -1567,20 +1536,51 @@ export function __wbg_removeEventListener_acfc154b998d806b() { return handleErro
|
|
1567
1536
|
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1568
1537
|
}, arguments) };
|
1569
1538
|
|
1570
|
-
export function
|
1571
|
-
const ret = getObject(arg0).
|
1539
|
+
export function __wbg_data_bbdd2d77ab2f7e78(arg0) {
|
1540
|
+
const ret = getObject(arg0).data;
|
1572
1541
|
return addHeapObject(ret);
|
1573
1542
|
};
|
1574
1543
|
|
1575
|
-
export function
|
1576
|
-
const ret =
|
1544
|
+
export function __wbg_readyState_2599ffe07703eeea(arg0) {
|
1545
|
+
const ret = getObject(arg0).readyState;
|
1577
1546
|
return ret;
|
1578
1547
|
};
|
1579
1548
|
|
1549
|
+
export function __wbg_setbinaryType_bfaa2b91f5e49737(arg0, arg1) {
|
1550
|
+
getObject(arg0).binaryType = takeObject(arg1);
|
1551
|
+
};
|
1552
|
+
|
1553
|
+
export function __wbg_new_d3ba66fcfe3ebcc6() { return handleError(function (arg0, arg1) {
|
1554
|
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
1555
|
+
return addHeapObject(ret);
|
1556
|
+
}, arguments) };
|
1557
|
+
|
1558
|
+
export function __wbg_close_85838c8d50b026da() { return handleError(function (arg0) {
|
1559
|
+
getObject(arg0).close();
|
1560
|
+
}, arguments) };
|
1561
|
+
|
1562
|
+
export function __wbg_send_115b7e92eb793bd9() { return handleError(function (arg0, arg1, arg2) {
|
1563
|
+
getObject(arg0).send(getStringFromWasm0(arg1, arg2));
|
1564
|
+
}, arguments) };
|
1565
|
+
|
1566
|
+
export function __wbg_send_8e8f1c88be375fc1() { return handleError(function (arg0, arg1, arg2) {
|
1567
|
+
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
1568
|
+
}, arguments) };
|
1569
|
+
|
1580
1570
|
export function __wbg_queueMicrotask_f61ee94ee663068b(arg0) {
|
1581
1571
|
queueMicrotask(getObject(arg0));
|
1582
1572
|
};
|
1583
1573
|
|
1574
|
+
export function __wbg_queueMicrotask_f82fc5d1e8f816ae(arg0) {
|
1575
|
+
const ret = getObject(arg0).queueMicrotask;
|
1576
|
+
return addHeapObject(ret);
|
1577
|
+
};
|
1578
|
+
|
1579
|
+
export function __wbindgen_is_function(arg0) {
|
1580
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
1581
|
+
return ret;
|
1582
|
+
};
|
1583
|
+
|
1584
1584
|
export function __wbg_clearTimeout_76877dbc010e786d(arg0) {
|
1585
1585
|
const ret = clearTimeout(takeObject(arg0));
|
1586
1586
|
return addHeapObject(ret);
|
@@ -1845,33 +1845,33 @@ export function __wbindgen_memory() {
|
|
1845
1845
|
return addHeapObject(ret);
|
1846
1846
|
};
|
1847
1847
|
|
1848
|
-
export function
|
1849
|
-
const ret = makeMutClosure(arg0, arg1,
|
1848
|
+
export function __wbindgen_closure_wrapper1910(arg0, arg1, arg2) {
|
1849
|
+
const ret = makeMutClosure(arg0, arg1, 789, __wbg_adapter_50);
|
1850
1850
|
return addHeapObject(ret);
|
1851
1851
|
};
|
1852
1852
|
|
1853
|
-
export function
|
1854
|
-
const ret = makeMutClosure(arg0, arg1,
|
1853
|
+
export function __wbindgen_closure_wrapper1912(arg0, arg1, arg2) {
|
1854
|
+
const ret = makeMutClosure(arg0, arg1, 789, __wbg_adapter_50);
|
1855
1855
|
return addHeapObject(ret);
|
1856
1856
|
};
|
1857
1857
|
|
1858
|
-
export function
|
1859
|
-
const ret = makeMutClosure(arg0, arg1,
|
1858
|
+
export function __wbindgen_closure_wrapper1914(arg0, arg1, arg2) {
|
1859
|
+
const ret = makeMutClosure(arg0, arg1, 789, __wbg_adapter_50);
|
1860
1860
|
return addHeapObject(ret);
|
1861
1861
|
};
|
1862
1862
|
|
1863
|
-
export function
|
1864
|
-
const ret = makeMutClosure(arg0, arg1,
|
1863
|
+
export function __wbindgen_closure_wrapper1916(arg0, arg1, arg2) {
|
1864
|
+
const ret = makeMutClosure(arg0, arg1, 789, __wbg_adapter_57);
|
1865
1865
|
return addHeapObject(ret);
|
1866
1866
|
};
|
1867
1867
|
|
1868
|
-
export function
|
1869
|
-
const ret = makeMutClosure(arg0, arg1,
|
1868
|
+
export function __wbindgen_closure_wrapper2595(arg0, arg1, arg2) {
|
1869
|
+
const ret = makeMutClosure(arg0, arg1, 886, __wbg_adapter_60);
|
1870
1870
|
return addHeapObject(ret);
|
1871
1871
|
};
|
1872
1872
|
|
1873
|
-
export function
|
1874
|
-
const ret = makeMutClosure(arg0, arg1,
|
1873
|
+
export function __wbindgen_closure_wrapper2626(arg0, arg1, arg2) {
|
1874
|
+
const ret = makeMutClosure(arg0, arg1, 899, __wbg_adapter_63);
|
1875
1875
|
return addHeapObject(ret);
|
1876
1876
|
};
|
1877
1877
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|