lebai_sdk 0.1.23 → 0.2.1
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.d.ts +9 -1
- package/lebai_sdk_bg.js +173 -159
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/lebai_sdk.d.ts
CHANGED
@@ -74,6 +74,14 @@ export class Robot {
|
|
74
74
|
load_frame(name: string, dir?: string): Promise<any>;
|
75
75
|
/**
|
76
76
|
* @returns {Promise<void>}
|
77
|
+
*/
|
78
|
+
pause_move(): Promise<void>;
|
79
|
+
/**
|
80
|
+
* @returns {Promise<void>}
|
81
|
+
*/
|
82
|
+
resume_move(): Promise<void>;
|
83
|
+
/**
|
84
|
+
* @returns {Promise<void>}
|
77
85
|
*/
|
78
86
|
stop_move(): Promise<void>;
|
79
87
|
/**
|
@@ -161,7 +169,7 @@ export class Robot {
|
|
161
169
|
/**
|
162
170
|
* @returns {Promise<void>}
|
163
171
|
*/
|
164
|
-
|
172
|
+
teach_mode(): Promise<void>;
|
165
173
|
/**
|
166
174
|
* @returns {Promise<void>}
|
167
175
|
*/
|
package/lebai_sdk_bg.js
CHANGED
@@ -24,11 +24,7 @@ function takeObject(idx) {
|
|
24
24
|
return ret;
|
25
25
|
}
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
30
|
-
|
31
|
-
cachedTextDecoder.decode();
|
27
|
+
let WASM_VECTOR_LEN = 0;
|
32
28
|
|
33
29
|
let cachedUint8Memory0 = null;
|
34
30
|
|
@@ -39,22 +35,6 @@ function getUint8Memory0() {
|
|
39
35
|
return cachedUint8Memory0;
|
40
36
|
}
|
41
37
|
|
42
|
-
function getStringFromWasm0(ptr, len) {
|
43
|
-
ptr = ptr >>> 0;
|
44
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
45
|
-
}
|
46
|
-
|
47
|
-
function addHeapObject(obj) {
|
48
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
49
|
-
const idx = heap_next;
|
50
|
-
heap_next = heap[idx];
|
51
|
-
|
52
|
-
heap[idx] = obj;
|
53
|
-
return idx;
|
54
|
-
}
|
55
|
-
|
56
|
-
let WASM_VECTOR_LEN = 0;
|
57
|
-
|
58
38
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
59
39
|
|
60
40
|
let cachedTextEncoder = new lTextEncoder('utf-8');
|
@@ -123,6 +103,26 @@ function getInt32Memory0() {
|
|
123
103
|
return cachedInt32Memory0;
|
124
104
|
}
|
125
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
|
+
|
115
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
116
|
+
|
117
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
118
|
+
|
119
|
+
cachedTextDecoder.decode();
|
120
|
+
|
121
|
+
function getStringFromWasm0(ptr, len) {
|
122
|
+
ptr = ptr >>> 0;
|
123
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
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.wasm_bindgen__convert__closures__invoke1_mut__ha058cea286b456c0(arg0, arg1, addHeapObject(arg2));
|
235
235
|
}
|
236
236
|
|
237
|
-
function
|
238
|
-
wasm.
|
237
|
+
function __wbg_adapter_53(arg0, arg1) {
|
238
|
+
wasm.wasm_bindgen__convert__closures__invoke0_mut__h13c1a8ec7e32e4a9(arg0, arg1);
|
239
239
|
}
|
240
240
|
|
241
241
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
242
|
-
wasm.
|
242
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__ha115c950321e3dff(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__h2729bc9fd6ad6c60(arg0, arg1);
|
247
247
|
}
|
248
248
|
|
249
249
|
let cachedUint32Memory0 = null;
|
@@ -322,8 +322,8 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
322
322
|
ptr = ptr >>> 0;
|
323
323
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
324
324
|
}
|
325
|
-
function
|
326
|
-
wasm.
|
325
|
+
function __wbg_adapter_246(arg0, arg1, arg2, arg3) {
|
326
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h1c52eb2f9f0daf09(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
327
327
|
}
|
328
328
|
|
329
329
|
/**
|
@@ -448,6 +448,20 @@ export class Robot {
|
|
448
448
|
/**
|
449
449
|
* @returns {Promise<void>}
|
450
450
|
*/
|
451
|
+
pause_move() {
|
452
|
+
const ret = wasm.robot_pause_move(this.__wbg_ptr);
|
453
|
+
return takeObject(ret);
|
454
|
+
}
|
455
|
+
/**
|
456
|
+
* @returns {Promise<void>}
|
457
|
+
*/
|
458
|
+
resume_move() {
|
459
|
+
const ret = wasm.robot_resume_move(this.__wbg_ptr);
|
460
|
+
return takeObject(ret);
|
461
|
+
}
|
462
|
+
/**
|
463
|
+
* @returns {Promise<void>}
|
464
|
+
*/
|
451
465
|
stop_move() {
|
452
466
|
const ret = wasm.robot_stop_move(this.__wbg_ptr);
|
453
467
|
return takeObject(ret);
|
@@ -570,8 +584,8 @@ export class Robot {
|
|
570
584
|
/**
|
571
585
|
* @returns {Promise<void>}
|
572
586
|
*/
|
573
|
-
|
574
|
-
const ret = wasm.
|
587
|
+
teach_mode() {
|
588
|
+
const ret = wasm.robot_teach_mode(this.__wbg_ptr);
|
575
589
|
return takeObject(ret);
|
576
590
|
}
|
577
591
|
/**
|
@@ -1267,11 +1281,6 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
1267
1281
|
takeObject(arg0);
|
1268
1282
|
};
|
1269
1283
|
|
1270
|
-
export function __wbindgen_string_new(arg0, arg1) {
|
1271
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
1272
|
-
return addHeapObject(ret);
|
1273
|
-
};
|
1274
|
-
|
1275
1284
|
export function __wbindgen_string_get(arg0, arg1) {
|
1276
1285
|
const obj = getObject(arg1);
|
1277
1286
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
@@ -1286,6 +1295,11 @@ export function __wbindgen_number_new(arg0) {
|
|
1286
1295
|
return addHeapObject(ret);
|
1287
1296
|
};
|
1288
1297
|
|
1298
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
1299
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
1300
|
+
return addHeapObject(ret);
|
1301
|
+
};
|
1302
|
+
|
1289
1303
|
export function __wbg_robot_new(arg0) {
|
1290
1304
|
const ret = Robot.__wrap(arg0);
|
1291
1305
|
return addHeapObject(ret);
|
@@ -1296,30 +1310,47 @@ export function __wbg_robotsubscription_new(arg0) {
|
|
1296
1310
|
return addHeapObject(ret);
|
1297
1311
|
};
|
1298
1312
|
|
1313
|
+
export function __wbindgen_cb_drop(arg0) {
|
1314
|
+
const obj = takeObject(arg0).original;
|
1315
|
+
if (obj.cnt-- == 1) {
|
1316
|
+
obj.a = 0;
|
1317
|
+
return true;
|
1318
|
+
}
|
1319
|
+
const ret = false;
|
1320
|
+
return ret;
|
1321
|
+
};
|
1322
|
+
|
1323
|
+
export function __wbindgen_error_new(arg0, arg1) {
|
1324
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1325
|
+
return addHeapObject(ret);
|
1326
|
+
};
|
1327
|
+
|
1299
1328
|
export function __wbindgen_is_object(arg0) {
|
1300
1329
|
const val = getObject(arg0);
|
1301
1330
|
const ret = typeof(val) === 'object' && val !== null;
|
1302
1331
|
return ret;
|
1303
1332
|
};
|
1304
1333
|
|
1305
|
-
export function
|
1306
|
-
const
|
1307
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1334
|
+
export function __wbindgen_is_undefined(arg0) {
|
1335
|
+
const ret = getObject(arg0) === undefined;
|
1308
1336
|
return ret;
|
1309
1337
|
};
|
1310
1338
|
|
1311
|
-
export function
|
1312
|
-
const ret = getObject(arg0);
|
1313
|
-
return
|
1339
|
+
export function __wbindgen_in(arg0, arg1) {
|
1340
|
+
const ret = getObject(arg0) in getObject(arg1);
|
1341
|
+
return ret;
|
1314
1342
|
};
|
1315
1343
|
|
1316
|
-
export function
|
1317
|
-
const obj =
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1344
|
+
export function __wbindgen_number_get(arg0, arg1) {
|
1345
|
+
const obj = getObject(arg1);
|
1346
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
1347
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1348
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1349
|
+
};
|
1350
|
+
|
1351
|
+
export function __wbindgen_boolean_get(arg0) {
|
1352
|
+
const v = getObject(arg0);
|
1353
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1323
1354
|
return ret;
|
1324
1355
|
};
|
1325
1356
|
|
@@ -1343,25 +1374,8 @@ export function __wbindgen_bigint_from_u64(arg0) {
|
|
1343
1374
|
return addHeapObject(ret);
|
1344
1375
|
};
|
1345
1376
|
|
1346
|
-
export function
|
1347
|
-
const
|
1348
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
1349
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1350
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1351
|
-
};
|
1352
|
-
|
1353
|
-
export function __wbindgen_in(arg0, arg1) {
|
1354
|
-
const ret = getObject(arg0) in getObject(arg1);
|
1355
|
-
return ret;
|
1356
|
-
};
|
1357
|
-
|
1358
|
-
export function __wbindgen_is_undefined(arg0) {
|
1359
|
-
const ret = getObject(arg0) === undefined;
|
1360
|
-
return ret;
|
1361
|
-
};
|
1362
|
-
|
1363
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
1364
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1377
|
+
export function __wbindgen_object_clone_ref(arg0) {
|
1378
|
+
const ret = getObject(arg0);
|
1365
1379
|
return addHeapObject(ret);
|
1366
1380
|
};
|
1367
1381
|
|
@@ -1370,82 +1384,82 @@ export function __wbindgen_is_string(arg0) {
|
|
1370
1384
|
return ret;
|
1371
1385
|
};
|
1372
1386
|
|
1373
|
-
export function
|
1374
|
-
const ret = getObject(arg0).
|
1387
|
+
export function __wbg_wasClean_1efd9561c5671b45(arg0) {
|
1388
|
+
const ret = getObject(arg0).wasClean;
|
1375
1389
|
return ret;
|
1376
1390
|
};
|
1377
1391
|
|
1378
|
-
export function
|
1379
|
-
getObject(arg0).
|
1392
|
+
export function __wbg_code_72a380a2ce61a242(arg0) {
|
1393
|
+
const ret = getObject(arg0).code;
|
1394
|
+
return ret;
|
1380
1395
|
};
|
1381
1396
|
|
1382
|
-
export function
|
1383
|
-
const ret =
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
}, arguments) };
|
1390
|
-
|
1391
|
-
export function __wbg_send_c1cc1284964b7434() { return handleError(function (arg0, arg1, arg2) {
|
1392
|
-
getObject(arg0).send(getStringFromWasm0(arg1, arg2));
|
1393
|
-
}, arguments) };
|
1394
|
-
|
1395
|
-
export function __wbg_send_2860805104507701() { return handleError(function (arg0, arg1, arg2) {
|
1396
|
-
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
1397
|
-
}, arguments) };
|
1397
|
+
export function __wbg_reason_ad453a16ee68a1b9(arg0, arg1) {
|
1398
|
+
const ret = getObject(arg1).reason;
|
1399
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1400
|
+
const len1 = WASM_VECTOR_LEN;
|
1401
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
1402
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1403
|
+
};
|
1398
1404
|
|
1399
|
-
export function
|
1400
|
-
const ret =
|
1405
|
+
export function __wbg_newwitheventinitdict_744eb6eb61245b7c() { return handleError(function (arg0, arg1, arg2) {
|
1406
|
+
const ret = new CloseEvent(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
1401
1407
|
return addHeapObject(ret);
|
1402
|
-
};
|
1408
|
+
}, arguments) };
|
1403
1409
|
|
1404
|
-
export function
|
1410
|
+
export function __wbg_addEventListener_9bf60ea8a362e5e4() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1405
1411
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1406
1412
|
}, arguments) };
|
1407
1413
|
|
1408
|
-
export function
|
1414
|
+
export function __wbg_addEventListener_374cbfd2bbc19ccf() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
1409
1415
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
1410
1416
|
}, arguments) };
|
1411
1417
|
|
1412
|
-
export function
|
1418
|
+
export function __wbg_dispatchEvent_40c3472e9e4dcf5e() { return handleError(function (arg0, arg1) {
|
1413
1419
|
const ret = getObject(arg0).dispatchEvent(getObject(arg1));
|
1414
1420
|
return ret;
|
1415
1421
|
}, arguments) };
|
1416
1422
|
|
1417
|
-
export function
|
1423
|
+
export function __wbg_removeEventListener_66ee1536a0b32c11() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1418
1424
|
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1419
1425
|
}, arguments) };
|
1420
1426
|
|
1421
|
-
export function
|
1422
|
-
const ret = getObject(arg0).
|
1423
|
-
return ret;
|
1424
|
-
};
|
1425
|
-
|
1426
|
-
export function __wbg_code_8a4e6c814f55b956(arg0) {
|
1427
|
-
const ret = getObject(arg0).code;
|
1427
|
+
export function __wbg_readyState_c8f9a5deaec3bb41(arg0) {
|
1428
|
+
const ret = getObject(arg0).readyState;
|
1428
1429
|
return ret;
|
1429
1430
|
};
|
1430
1431
|
|
1431
|
-
export function
|
1432
|
-
|
1433
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1434
|
-
const len1 = WASM_VECTOR_LEN;
|
1435
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
1436
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1432
|
+
export function __wbg_setbinaryType_68fc3c6feda7310c(arg0, arg1) {
|
1433
|
+
getObject(arg0).binaryType = takeObject(arg1);
|
1437
1434
|
};
|
1438
1435
|
|
1439
|
-
export function
|
1440
|
-
const ret = new
|
1436
|
+
export function __wbg_new_2575c598b4006174() { return handleError(function (arg0, arg1) {
|
1437
|
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
1441
1438
|
return addHeapObject(ret);
|
1442
1439
|
}, arguments) };
|
1443
1440
|
|
1444
|
-
export function
|
1441
|
+
export function __wbg_close_328b8b803521cbdd() { return handleError(function (arg0) {
|
1442
|
+
getObject(arg0).close();
|
1443
|
+
}, arguments) };
|
1444
|
+
|
1445
|
+
export function __wbg_send_5bf3f962e9ffe0f6() { return handleError(function (arg0, arg1, arg2) {
|
1446
|
+
getObject(arg0).send(getStringFromWasm0(arg1, arg2));
|
1447
|
+
}, arguments) };
|
1448
|
+
|
1449
|
+
export function __wbg_send_2ba7d32fcb03b9a4() { return handleError(function (arg0, arg1, arg2) {
|
1450
|
+
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
1451
|
+
}, arguments) };
|
1452
|
+
|
1453
|
+
export function __wbg_data_ba3ea616b5392abf(arg0) {
|
1454
|
+
const ret = getObject(arg0).data;
|
1455
|
+
return addHeapObject(ret);
|
1456
|
+
};
|
1457
|
+
|
1458
|
+
export function __wbg_queueMicrotask_4d890031a6a5a50c(arg0) {
|
1445
1459
|
queueMicrotask(getObject(arg0));
|
1446
1460
|
};
|
1447
1461
|
|
1448
|
-
export function
|
1462
|
+
export function __wbg_queueMicrotask_adae4bc085237231(arg0) {
|
1449
1463
|
const ret = getObject(arg0).queueMicrotask;
|
1450
1464
|
return addHeapObject(ret);
|
1451
1465
|
};
|
@@ -1479,96 +1493,96 @@ export function __wbg_set_8761474ad72b9bf1(arg0, arg1, arg2) {
|
|
1479
1493
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
1480
1494
|
};
|
1481
1495
|
|
1482
|
-
export function
|
1496
|
+
export function __wbg_get_f01601b5a68d10e3(arg0, arg1) {
|
1483
1497
|
const ret = getObject(arg0)[arg1 >>> 0];
|
1484
1498
|
return addHeapObject(ret);
|
1485
1499
|
};
|
1486
1500
|
|
1487
|
-
export function
|
1501
|
+
export function __wbg_length_1009b1af0c481d7b(arg0) {
|
1488
1502
|
const ret = getObject(arg0).length;
|
1489
1503
|
return ret;
|
1490
1504
|
};
|
1491
1505
|
|
1492
|
-
export function
|
1506
|
+
export function __wbg_new_ffc6d4d085022169() {
|
1493
1507
|
const ret = new Array();
|
1494
1508
|
return addHeapObject(ret);
|
1495
1509
|
};
|
1496
1510
|
|
1497
|
-
export function
|
1511
|
+
export function __wbg_newnoargs_c62ea9419c21fbac(arg0, arg1) {
|
1498
1512
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
1499
1513
|
return addHeapObject(ret);
|
1500
1514
|
};
|
1501
1515
|
|
1502
|
-
export function
|
1516
|
+
export function __wbg_next_9b877f231f476d01(arg0) {
|
1503
1517
|
const ret = getObject(arg0).next;
|
1504
1518
|
return addHeapObject(ret);
|
1505
1519
|
};
|
1506
1520
|
|
1507
|
-
export function
|
1521
|
+
export function __wbg_next_6529ee0cca8d57ed() { return handleError(function (arg0) {
|
1508
1522
|
const ret = getObject(arg0).next();
|
1509
1523
|
return addHeapObject(ret);
|
1510
1524
|
}, arguments) };
|
1511
1525
|
|
1512
|
-
export function
|
1526
|
+
export function __wbg_done_5fe336b092d60cf2(arg0) {
|
1513
1527
|
const ret = getObject(arg0).done;
|
1514
1528
|
return ret;
|
1515
1529
|
};
|
1516
1530
|
|
1517
|
-
export function
|
1531
|
+
export function __wbg_value_0c248a78fdc8e19f(arg0) {
|
1518
1532
|
const ret = getObject(arg0).value;
|
1519
1533
|
return addHeapObject(ret);
|
1520
1534
|
};
|
1521
1535
|
|
1522
|
-
export function
|
1536
|
+
export function __wbg_iterator_db7ca081358d4fb2() {
|
1523
1537
|
const ret = Symbol.iterator;
|
1524
1538
|
return addHeapObject(ret);
|
1525
1539
|
};
|
1526
1540
|
|
1527
|
-
export function
|
1541
|
+
export function __wbg_get_7b48513de5dc5ea4() { return handleError(function (arg0, arg1) {
|
1528
1542
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
1529
1543
|
return addHeapObject(ret);
|
1530
1544
|
}, arguments) };
|
1531
1545
|
|
1532
|
-
export function
|
1546
|
+
export function __wbg_call_90c26b09837aba1c() { return handleError(function (arg0, arg1) {
|
1533
1547
|
const ret = getObject(arg0).call(getObject(arg1));
|
1534
1548
|
return addHeapObject(ret);
|
1535
1549
|
}, arguments) };
|
1536
1550
|
|
1537
|
-
export function
|
1551
|
+
export function __wbg_new_9fb8d994e1c0aaac() {
|
1538
1552
|
const ret = new Object();
|
1539
1553
|
return addHeapObject(ret);
|
1540
1554
|
};
|
1541
1555
|
|
1542
|
-
export function
|
1556
|
+
export function __wbg_self_f0e34d89f33b99fd() { return handleError(function () {
|
1543
1557
|
const ret = self.self;
|
1544
1558
|
return addHeapObject(ret);
|
1545
1559
|
}, arguments) };
|
1546
1560
|
|
1547
|
-
export function
|
1561
|
+
export function __wbg_window_d3b084224f4774d7() { return handleError(function () {
|
1548
1562
|
const ret = window.window;
|
1549
1563
|
return addHeapObject(ret);
|
1550
1564
|
}, arguments) };
|
1551
1565
|
|
1552
|
-
export function
|
1566
|
+
export function __wbg_globalThis_9caa27ff917c6860() { return handleError(function () {
|
1553
1567
|
const ret = globalThis.globalThis;
|
1554
1568
|
return addHeapObject(ret);
|
1555
1569
|
}, arguments) };
|
1556
1570
|
|
1557
|
-
export function
|
1571
|
+
export function __wbg_global_35dfdd59a4da3e74() { return handleError(function () {
|
1558
1572
|
const ret = global.global;
|
1559
1573
|
return addHeapObject(ret);
|
1560
1574
|
}, arguments) };
|
1561
1575
|
|
1562
|
-
export function
|
1576
|
+
export function __wbg_set_f2740edb12e318cd(arg0, arg1, arg2) {
|
1563
1577
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
1564
1578
|
};
|
1565
1579
|
|
1566
|
-
export function
|
1580
|
+
export function __wbg_isArray_74fb723e24f76012(arg0) {
|
1567
1581
|
const ret = Array.isArray(getObject(arg0));
|
1568
1582
|
return ret;
|
1569
1583
|
};
|
1570
1584
|
|
1571
|
-
export function
|
1585
|
+
export function __wbg_instanceof_ArrayBuffer_e7d53d51371448e2(arg0) {
|
1572
1586
|
let result;
|
1573
1587
|
try {
|
1574
1588
|
result = getObject(arg0) instanceof ArrayBuffer;
|
@@ -1579,7 +1593,7 @@ export function __wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d(arg0) {
|
|
1579
1593
|
return ret;
|
1580
1594
|
};
|
1581
1595
|
|
1582
|
-
export function
|
1596
|
+
export function __wbg_instanceof_Error_31ca8d97f188bfbc(arg0) {
|
1583
1597
|
let result;
|
1584
1598
|
try {
|
1585
1599
|
result = getObject(arg0) instanceof Error;
|
@@ -1590,44 +1604,44 @@ export function __wbg_instanceof_Error_9f5881c3c4149389(arg0) {
|
|
1590
1604
|
return ret;
|
1591
1605
|
};
|
1592
1606
|
|
1593
|
-
export function
|
1607
|
+
export function __wbg_message_55b9ea8030688597(arg0) {
|
1594
1608
|
const ret = getObject(arg0).message;
|
1595
1609
|
return addHeapObject(ret);
|
1596
1610
|
};
|
1597
1611
|
|
1598
|
-
export function
|
1612
|
+
export function __wbg_name_e5eede664187fed6(arg0) {
|
1599
1613
|
const ret = getObject(arg0).name;
|
1600
1614
|
return addHeapObject(ret);
|
1601
1615
|
};
|
1602
1616
|
|
1603
|
-
export function
|
1617
|
+
export function __wbg_toString_a44236e90224e279(arg0) {
|
1604
1618
|
const ret = getObject(arg0).toString();
|
1605
1619
|
return addHeapObject(ret);
|
1606
1620
|
};
|
1607
1621
|
|
1608
|
-
export function
|
1622
|
+
export function __wbg_call_5da1969d7cd31ccd() { return handleError(function (arg0, arg1, arg2) {
|
1609
1623
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
1610
1624
|
return addHeapObject(ret);
|
1611
1625
|
}, arguments) };
|
1612
1626
|
|
1613
|
-
export function
|
1627
|
+
export function __wbg_isSafeInteger_f93fde0dca9820f8(arg0) {
|
1614
1628
|
const ret = Number.isSafeInteger(getObject(arg0));
|
1615
1629
|
return ret;
|
1616
1630
|
};
|
1617
1631
|
|
1618
|
-
export function
|
1632
|
+
export function __wbg_entries_9e2e2aa45aa5094a(arg0) {
|
1619
1633
|
const ret = Object.entries(getObject(arg0));
|
1620
1634
|
return addHeapObject(ret);
|
1621
1635
|
};
|
1622
1636
|
|
1623
|
-
export function
|
1637
|
+
export function __wbg_new_60f57089c7563e81(arg0, arg1) {
|
1624
1638
|
try {
|
1625
1639
|
var state0 = {a: arg0, b: arg1};
|
1626
1640
|
var cb0 = (arg0, arg1) => {
|
1627
1641
|
const a = state0.a;
|
1628
1642
|
state0.a = 0;
|
1629
1643
|
try {
|
1630
|
-
return
|
1644
|
+
return __wbg_adapter_246(a, state0.b, arg0, arg1);
|
1631
1645
|
} finally {
|
1632
1646
|
state0.a = a;
|
1633
1647
|
}
|
@@ -1639,36 +1653,36 @@ export function __wbg_new_feb65b865d980ae2(arg0, arg1) {
|
|
1639
1653
|
}
|
1640
1654
|
};
|
1641
1655
|
|
1642
|
-
export function
|
1656
|
+
export function __wbg_resolve_6e1c6553a82f85b7(arg0) {
|
1643
1657
|
const ret = Promise.resolve(getObject(arg0));
|
1644
1658
|
return addHeapObject(ret);
|
1645
1659
|
};
|
1646
1660
|
|
1647
|
-
export function
|
1661
|
+
export function __wbg_then_3ab08cd4fbb91ae9(arg0, arg1) {
|
1648
1662
|
const ret = getObject(arg0).then(getObject(arg1));
|
1649
1663
|
return addHeapObject(ret);
|
1650
1664
|
};
|
1651
1665
|
|
1652
|
-
export function
|
1666
|
+
export function __wbg_buffer_a448f833075b71ba(arg0) {
|
1653
1667
|
const ret = getObject(arg0).buffer;
|
1654
1668
|
return addHeapObject(ret);
|
1655
1669
|
};
|
1656
1670
|
|
1657
|
-
export function
|
1671
|
+
export function __wbg_new_8f67e318f15d7254(arg0) {
|
1658
1672
|
const ret = new Uint8Array(getObject(arg0));
|
1659
1673
|
return addHeapObject(ret);
|
1660
1674
|
};
|
1661
1675
|
|
1662
|
-
export function
|
1676
|
+
export function __wbg_set_2357bf09366ee480(arg0, arg1, arg2) {
|
1663
1677
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
1664
1678
|
};
|
1665
1679
|
|
1666
|
-
export function
|
1680
|
+
export function __wbg_length_1d25fa9e4ac21ce7(arg0) {
|
1667
1681
|
const ret = getObject(arg0).length;
|
1668
1682
|
return ret;
|
1669
1683
|
};
|
1670
1684
|
|
1671
|
-
export function
|
1685
|
+
export function __wbg_instanceof_Uint8Array_bced6f43aed8c1aa(arg0) {
|
1672
1686
|
let result;
|
1673
1687
|
try {
|
1674
1688
|
result = getObject(arg0) instanceof Uint8Array;
|
@@ -1679,7 +1693,7 @@ export function __wbg_instanceof_Uint8Array_19e6f142a5e7e1e1(arg0) {
|
|
1679
1693
|
return ret;
|
1680
1694
|
};
|
1681
1695
|
|
1682
|
-
export function
|
1696
|
+
export function __wbg_set_759f75cd92b612d2() { return handleError(function (arg0, arg1, arg2) {
|
1683
1697
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
1684
1698
|
return ret;
|
1685
1699
|
}, arguments) };
|
@@ -1708,33 +1722,33 @@ export function __wbindgen_memory() {
|
|
1708
1722
|
return addHeapObject(ret);
|
1709
1723
|
};
|
1710
1724
|
|
1711
|
-
export function
|
1712
|
-
const ret = makeMutClosure(arg0, arg1,
|
1725
|
+
export function __wbindgen_closure_wrapper1703(arg0, arg1, arg2) {
|
1726
|
+
const ret = makeMutClosure(arg0, arg1, 684, __wbg_adapter_48);
|
1713
1727
|
return addHeapObject(ret);
|
1714
1728
|
};
|
1715
1729
|
|
1716
|
-
export function
|
1717
|
-
const ret = makeMutClosure(arg0, arg1,
|
1730
|
+
export function __wbindgen_closure_wrapper1705(arg0, arg1, arg2) {
|
1731
|
+
const ret = makeMutClosure(arg0, arg1, 684, __wbg_adapter_48);
|
1718
1732
|
return addHeapObject(ret);
|
1719
1733
|
};
|
1720
1734
|
|
1721
|
-
export function
|
1722
|
-
const ret = makeMutClosure(arg0, arg1,
|
1735
|
+
export function __wbindgen_closure_wrapper1707(arg0, arg1, arg2) {
|
1736
|
+
const ret = makeMutClosure(arg0, arg1, 684, __wbg_adapter_53);
|
1723
1737
|
return addHeapObject(ret);
|
1724
1738
|
};
|
1725
1739
|
|
1726
|
-
export function
|
1727
|
-
const ret = makeMutClosure(arg0, arg1,
|
1740
|
+
export function __wbindgen_closure_wrapper1709(arg0, arg1, arg2) {
|
1741
|
+
const ret = makeMutClosure(arg0, arg1, 684, __wbg_adapter_48);
|
1728
1742
|
return addHeapObject(ret);
|
1729
1743
|
};
|
1730
1744
|
|
1731
|
-
export function
|
1732
|
-
const ret = makeMutClosure(arg0, arg1,
|
1745
|
+
export function __wbindgen_closure_wrapper2442(arg0, arg1, arg2) {
|
1746
|
+
const ret = makeMutClosure(arg0, arg1, 794, __wbg_adapter_58);
|
1733
1747
|
return addHeapObject(ret);
|
1734
1748
|
};
|
1735
1749
|
|
1736
|
-
export function
|
1737
|
-
const ret = makeMutClosure(arg0, arg1,
|
1750
|
+
export function __wbindgen_closure_wrapper2491(arg0, arg1, arg2) {
|
1751
|
+
const ret = makeMutClosure(arg0, arg1, 813, __wbg_adapter_61);
|
1738
1752
|
return addHeapObject(ret);
|
1739
1753
|
};
|
1740
1754
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|