lebai_sdk 0.2.7 → 0.2.9
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 +4 -0
- package/lebai_sdk_bg.js +179 -158
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/lebai_sdk.d.ts
CHANGED
package/lebai_sdk_bg.js
CHANGED
@@ -10,29 +10,6 @@ heap.push(undefined, null, true, false);
|
|
10
10
|
|
11
11
|
function getObject(idx) { return heap[idx]; }
|
12
12
|
|
13
|
-
let heap_next = heap.length;
|
14
|
-
|
15
|
-
function dropObject(idx) {
|
16
|
-
if (idx < 132) return;
|
17
|
-
heap[idx] = heap_next;
|
18
|
-
heap_next = idx;
|
19
|
-
}
|
20
|
-
|
21
|
-
function takeObject(idx) {
|
22
|
-
const ret = getObject(idx);
|
23
|
-
dropObject(idx);
|
24
|
-
return ret;
|
25
|
-
}
|
26
|
-
|
27
|
-
function addHeapObject(obj) {
|
28
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
29
|
-
const idx = heap_next;
|
30
|
-
heap_next = heap[idx];
|
31
|
-
|
32
|
-
heap[idx] = obj;
|
33
|
-
return idx;
|
34
|
-
}
|
35
|
-
|
36
13
|
let WASM_VECTOR_LEN = 0;
|
37
14
|
|
38
15
|
let cachedUint8Memory0 = null;
|
@@ -93,6 +70,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
93
70
|
const ret = encodeString(arg, view);
|
94
71
|
|
95
72
|
offset += ret.written;
|
73
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
96
74
|
}
|
97
75
|
|
98
76
|
WASM_VECTOR_LEN = offset;
|
@@ -112,6 +90,29 @@ function getInt32Memory0() {
|
|
112
90
|
return cachedInt32Memory0;
|
113
91
|
}
|
114
92
|
|
93
|
+
let heap_next = heap.length;
|
94
|
+
|
95
|
+
function dropObject(idx) {
|
96
|
+
if (idx < 132) return;
|
97
|
+
heap[idx] = heap_next;
|
98
|
+
heap_next = idx;
|
99
|
+
}
|
100
|
+
|
101
|
+
function takeObject(idx) {
|
102
|
+
const ret = getObject(idx);
|
103
|
+
dropObject(idx);
|
104
|
+
return ret;
|
105
|
+
}
|
106
|
+
|
107
|
+
function addHeapObject(obj) {
|
108
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
109
|
+
const idx = heap_next;
|
110
|
+
heap_next = heap[idx];
|
111
|
+
|
112
|
+
heap[idx] = obj;
|
113
|
+
return idx;
|
114
|
+
}
|
115
|
+
|
115
116
|
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
116
117
|
|
117
118
|
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
@@ -206,6 +207,12 @@ function debugString(val) {
|
|
206
207
|
return className;
|
207
208
|
}
|
208
209
|
|
210
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
211
|
+
? { register: () => {}, unregister: () => {} }
|
212
|
+
: new FinalizationRegistry(state => {
|
213
|
+
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
|
214
|
+
});
|
215
|
+
|
209
216
|
function makeMutClosure(arg0, arg1, dtor, f) {
|
210
217
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
211
218
|
const real = (...args) => {
|
@@ -220,30 +227,30 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
220
227
|
} finally {
|
221
228
|
if (--state.cnt === 0) {
|
222
229
|
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
223
|
-
|
230
|
+
CLOSURE_DTORS.unregister(state);
|
224
231
|
} else {
|
225
232
|
state.a = a;
|
226
233
|
}
|
227
234
|
}
|
228
235
|
};
|
229
236
|
real.original = state;
|
230
|
-
|
237
|
+
CLOSURE_DTORS.register(real, state, state);
|
231
238
|
return real;
|
232
239
|
}
|
233
|
-
function __wbg_adapter_50(arg0, arg1) {
|
234
|
-
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__h04369be869cfcda9(arg0, arg1, addHeapObject(arg2));
|
235
242
|
}
|
236
243
|
|
237
|
-
function __wbg_adapter_53(arg0, arg1
|
238
|
-
wasm.
|
244
|
+
function __wbg_adapter_53(arg0, arg1) {
|
245
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h52c02527e9ea2351(arg0, arg1);
|
239
246
|
}
|
240
247
|
|
241
248
|
function __wbg_adapter_60(arg0, arg1, arg2) {
|
242
|
-
wasm.
|
249
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb583583dd7b49a0d(arg0, arg1, addHeapObject(arg2));
|
243
250
|
}
|
244
251
|
|
245
252
|
function __wbg_adapter_63(arg0, arg1) {
|
246
|
-
wasm.
|
253
|
+
wasm.wasm_bindgen__convert__closures__invoke0_mut__hfe59f759bdfcabc2(arg0, arg1);
|
247
254
|
}
|
248
255
|
|
249
256
|
let cachedUint32Memory0 = null;
|
@@ -350,10 +357,13 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
350
357
|
ptr = ptr >>> 0;
|
351
358
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
352
359
|
}
|
353
|
-
function
|
354
|
-
wasm.
|
360
|
+
function __wbg_adapter_254(arg0, arg1, arg2, arg3) {
|
361
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h81b812e18a647852(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
355
362
|
}
|
356
363
|
|
364
|
+
const RobotFinalization = (typeof FinalizationRegistry === 'undefined')
|
365
|
+
? { register: () => {}, unregister: () => {} }
|
366
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_robot_free(ptr >>> 0));
|
357
367
|
/**
|
358
368
|
*/
|
359
369
|
export class Robot {
|
@@ -362,14 +372,14 @@ export class Robot {
|
|
362
372
|
ptr = ptr >>> 0;
|
363
373
|
const obj = Object.create(Robot.prototype);
|
364
374
|
obj.__wbg_ptr = ptr;
|
365
|
-
|
375
|
+
RobotFinalization.register(obj, obj.__wbg_ptr, obj);
|
366
376
|
return obj;
|
367
377
|
}
|
368
378
|
|
369
379
|
__destroy_into_raw() {
|
370
380
|
const ptr = this.__wbg_ptr;
|
371
381
|
this.__wbg_ptr = 0;
|
372
|
-
|
382
|
+
RobotFinalization.unregister(this);
|
373
383
|
return ptr;
|
374
384
|
}
|
375
385
|
|
@@ -1244,6 +1254,13 @@ export class Robot {
|
|
1244
1254
|
/**
|
1245
1255
|
* @returns {Promise<any>}
|
1246
1256
|
*/
|
1257
|
+
get_estop_reason() {
|
1258
|
+
const ret = wasm.robot_get_estop_reason(this.__wbg_ptr);
|
1259
|
+
return takeObject(ret);
|
1260
|
+
}
|
1261
|
+
/**
|
1262
|
+
* @returns {Promise<any>}
|
1263
|
+
*/
|
1247
1264
|
get_kin_data() {
|
1248
1265
|
const ret = wasm.robot_get_kin_data(this.__wbg_ptr);
|
1249
1266
|
return takeObject(ret);
|
@@ -1307,6 +1324,10 @@ export class Robot {
|
|
1307
1324
|
return takeObject(ret);
|
1308
1325
|
}
|
1309
1326
|
}
|
1327
|
+
|
1328
|
+
const RobotSubscriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
1329
|
+
? { register: () => {}, unregister: () => {} }
|
1330
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_robotsubscription_free(ptr >>> 0));
|
1310
1331
|
/**
|
1311
1332
|
*/
|
1312
1333
|
export class RobotSubscription {
|
@@ -1315,14 +1336,14 @@ export class RobotSubscription {
|
|
1315
1336
|
ptr = ptr >>> 0;
|
1316
1337
|
const obj = Object.create(RobotSubscription.prototype);
|
1317
1338
|
obj.__wbg_ptr = ptr;
|
1318
|
-
|
1339
|
+
RobotSubscriptionFinalization.register(obj, obj.__wbg_ptr, obj);
|
1319
1340
|
return obj;
|
1320
1341
|
}
|
1321
1342
|
|
1322
1343
|
__destroy_into_raw() {
|
1323
1344
|
const ptr = this.__wbg_ptr;
|
1324
1345
|
this.__wbg_ptr = 0;
|
1325
|
-
|
1346
|
+
RobotSubscriptionFinalization.unregister(this);
|
1326
1347
|
return ptr;
|
1327
1348
|
}
|
1328
1349
|
|
@@ -1339,6 +1360,15 @@ export class RobotSubscription {
|
|
1339
1360
|
}
|
1340
1361
|
}
|
1341
1362
|
|
1363
|
+
export function __wbindgen_string_get(arg0, arg1) {
|
1364
|
+
const obj = getObject(arg1);
|
1365
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
1366
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1367
|
+
var len1 = WASM_VECTOR_LEN;
|
1368
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
1369
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1370
|
+
};
|
1371
|
+
|
1342
1372
|
export function __wbindgen_object_drop_ref(arg0) {
|
1343
1373
|
takeObject(arg0);
|
1344
1374
|
};
|
@@ -1348,13 +1378,9 @@ export function __wbindgen_number_new(arg0) {
|
|
1348
1378
|
return addHeapObject(ret);
|
1349
1379
|
};
|
1350
1380
|
|
1351
|
-
export function
|
1352
|
-
const
|
1353
|
-
|
1354
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1355
|
-
var len1 = WASM_VECTOR_LEN;
|
1356
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
1357
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1381
|
+
export function __wbg_robot_new(arg0) {
|
1382
|
+
const ret = Robot.__wrap(arg0);
|
1383
|
+
return addHeapObject(ret);
|
1358
1384
|
};
|
1359
1385
|
|
1360
1386
|
export function __wbindgen_string_new(arg0, arg1) {
|
@@ -1367,9 +1393,27 @@ export function __wbg_robotsubscription_new(arg0) {
|
|
1367
1393
|
return addHeapObject(ret);
|
1368
1394
|
};
|
1369
1395
|
|
1370
|
-
export function
|
1371
|
-
const
|
1372
|
-
|
1396
|
+
export function __wbindgen_number_get(arg0, arg1) {
|
1397
|
+
const obj = getObject(arg1);
|
1398
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
1399
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1400
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1401
|
+
};
|
1402
|
+
|
1403
|
+
export function __wbindgen_boolean_get(arg0) {
|
1404
|
+
const v = getObject(arg0);
|
1405
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1406
|
+
return ret;
|
1407
|
+
};
|
1408
|
+
|
1409
|
+
export function __wbindgen_cb_drop(arg0) {
|
1410
|
+
const obj = takeObject(arg0).original;
|
1411
|
+
if (obj.cnt-- == 1) {
|
1412
|
+
obj.a = 0;
|
1413
|
+
return true;
|
1414
|
+
}
|
1415
|
+
const ret = false;
|
1416
|
+
return ret;
|
1373
1417
|
};
|
1374
1418
|
|
1375
1419
|
export function __wbindgen_error_new(arg0, arg1) {
|
@@ -1383,26 +1427,23 @@ export function __wbindgen_is_object(arg0) {
|
|
1383
1427
|
return ret;
|
1384
1428
|
};
|
1385
1429
|
|
1386
|
-
export function
|
1387
|
-
const ret = getObject(arg0)
|
1430
|
+
export function __wbindgen_as_number(arg0) {
|
1431
|
+
const ret = +getObject(arg0);
|
1388
1432
|
return ret;
|
1389
1433
|
};
|
1390
1434
|
|
1391
|
-
export function
|
1392
|
-
const ret = getObject(arg0)
|
1393
|
-
return ret;
|
1435
|
+
export function __wbindgen_object_clone_ref(arg0) {
|
1436
|
+
const ret = getObject(arg0);
|
1437
|
+
return addHeapObject(ret);
|
1394
1438
|
};
|
1395
1439
|
|
1396
|
-
export function
|
1397
|
-
const
|
1398
|
-
|
1399
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
1400
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1440
|
+
export function __wbindgen_is_undefined(arg0) {
|
1441
|
+
const ret = getObject(arg0) === undefined;
|
1442
|
+
return ret;
|
1401
1443
|
};
|
1402
1444
|
|
1403
|
-
export function
|
1404
|
-
const
|
1405
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1445
|
+
export function __wbindgen_in(arg0, arg1) {
|
1446
|
+
const ret = getObject(arg0) in getObject(arg1);
|
1406
1447
|
return ret;
|
1407
1448
|
};
|
1408
1449
|
|
@@ -1426,64 +1467,27 @@ export function __wbindgen_bigint_from_u64(arg0) {
|
|
1426
1467
|
return addHeapObject(ret);
|
1427
1468
|
};
|
1428
1469
|
|
1429
|
-
export function __wbindgen_cb_drop(arg0) {
|
1430
|
-
const obj = takeObject(arg0).original;
|
1431
|
-
if (obj.cnt-- == 1) {
|
1432
|
-
obj.a = 0;
|
1433
|
-
return true;
|
1434
|
-
}
|
1435
|
-
const ret = false;
|
1436
|
-
return ret;
|
1437
|
-
};
|
1438
|
-
|
1439
|
-
export function __wbindgen_as_number(arg0) {
|
1440
|
-
const ret = +getObject(arg0);
|
1441
|
-
return ret;
|
1442
|
-
};
|
1443
|
-
|
1444
|
-
export function __wbindgen_object_clone_ref(arg0) {
|
1445
|
-
const ret = getObject(arg0);
|
1446
|
-
return addHeapObject(ret);
|
1447
|
-
};
|
1448
|
-
|
1449
1470
|
export function __wbindgen_is_string(arg0) {
|
1450
1471
|
const ret = typeof(getObject(arg0)) === 'string';
|
1451
1472
|
return ret;
|
1452
1473
|
};
|
1453
1474
|
|
1454
|
-
export function
|
1475
|
+
export function __wbg_data_bbdd2d77ab2f7e78(arg0) {
|
1455
1476
|
const ret = getObject(arg0).data;
|
1456
1477
|
return addHeapObject(ret);
|
1457
1478
|
};
|
1458
1479
|
|
1459
|
-
export function
|
1460
|
-
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1461
|
-
}, arguments) };
|
1462
|
-
|
1463
|
-
export function __wbg_addEventListener_374cbfd2bbc19ccf() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
1464
|
-
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
1465
|
-
}, arguments) };
|
1466
|
-
|
1467
|
-
export function __wbg_dispatchEvent_40c3472e9e4dcf5e() { return handleError(function (arg0, arg1) {
|
1468
|
-
const ret = getObject(arg0).dispatchEvent(getObject(arg1));
|
1469
|
-
return ret;
|
1470
|
-
}, arguments) };
|
1471
|
-
|
1472
|
-
export function __wbg_removeEventListener_66ee1536a0b32c11() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1473
|
-
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1474
|
-
}, arguments) };
|
1475
|
-
|
1476
|
-
export function __wbg_wasClean_1efd9561c5671b45(arg0) {
|
1480
|
+
export function __wbg_wasClean_06aba8a282b21973(arg0) {
|
1477
1481
|
const ret = getObject(arg0).wasClean;
|
1478
1482
|
return ret;
|
1479
1483
|
};
|
1480
1484
|
|
1481
|
-
export function
|
1485
|
+
export function __wbg_code_c25ac89aa8108189(arg0) {
|
1482
1486
|
const ret = getObject(arg0).code;
|
1483
1487
|
return ret;
|
1484
1488
|
};
|
1485
1489
|
|
1486
|
-
export function
|
1490
|
+
export function __wbg_reason_ab96417c470b0f79(arg0, arg1) {
|
1487
1491
|
const ret = getObject(arg1).reason;
|
1488
1492
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1489
1493
|
const len1 = WASM_VECTOR_LEN;
|
@@ -1491,42 +1495,59 @@ export function __wbg_reason_ad453a16ee68a1b9(arg0, arg1) {
|
|
1491
1495
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1492
1496
|
};
|
1493
1497
|
|
1494
|
-
export function
|
1498
|
+
export function __wbg_newwitheventinitdict_ff303f34f1b980fa() { return handleError(function (arg0, arg1, arg2) {
|
1495
1499
|
const ret = new CloseEvent(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
1496
1500
|
return addHeapObject(ret);
|
1497
1501
|
}, arguments) };
|
1498
1502
|
|
1499
|
-
export function
|
1503
|
+
export function __wbg_addEventListener_f984e99465a6a7f4() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1504
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1505
|
+
}, arguments) };
|
1506
|
+
|
1507
|
+
export function __wbg_addEventListener_bc4a7ad4cc72c6bf() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
1508
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
1509
|
+
}, arguments) };
|
1510
|
+
|
1511
|
+
export function __wbg_dispatchEvent_1dc222127c2ec453() { return handleError(function (arg0, arg1) {
|
1512
|
+
const ret = getObject(arg0).dispatchEvent(getObject(arg1));
|
1513
|
+
return ret;
|
1514
|
+
}, arguments) };
|
1515
|
+
|
1516
|
+
export function __wbg_removeEventListener_acfc154b998d806b() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1517
|
+
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1518
|
+
}, arguments) };
|
1519
|
+
|
1520
|
+
export function __wbg_readyState_2599ffe07703eeea(arg0) {
|
1500
1521
|
const ret = getObject(arg0).readyState;
|
1501
1522
|
return ret;
|
1502
1523
|
};
|
1503
1524
|
|
1504
|
-
export function
|
1525
|
+
export function __wbg_setbinaryType_bfaa2b91f5e49737(arg0, arg1) {
|
1505
1526
|
getObject(arg0).binaryType = takeObject(arg1);
|
1506
1527
|
};
|
1507
1528
|
|
1508
|
-
export function
|
1529
|
+
export function __wbg_new_d3ba66fcfe3ebcc6() { return handleError(function (arg0, arg1) {
|
1509
1530
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
1510
1531
|
return addHeapObject(ret);
|
1511
1532
|
}, arguments) };
|
1512
1533
|
|
1513
|
-
export function
|
1534
|
+
export function __wbg_close_85838c8d50b026da() { return handleError(function (arg0) {
|
1514
1535
|
getObject(arg0).close();
|
1515
1536
|
}, arguments) };
|
1516
1537
|
|
1517
|
-
export function
|
1538
|
+
export function __wbg_send_115b7e92eb793bd9() { return handleError(function (arg0, arg1, arg2) {
|
1518
1539
|
getObject(arg0).send(getStringFromWasm0(arg1, arg2));
|
1519
1540
|
}, arguments) };
|
1520
1541
|
|
1521
|
-
export function
|
1542
|
+
export function __wbg_send_8e8f1c88be375fc1() { return handleError(function (arg0, arg1, arg2) {
|
1522
1543
|
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
1523
1544
|
}, arguments) };
|
1524
1545
|
|
1525
|
-
export function
|
1546
|
+
export function __wbg_queueMicrotask_f61ee94ee663068b(arg0) {
|
1526
1547
|
queueMicrotask(getObject(arg0));
|
1527
1548
|
};
|
1528
1549
|
|
1529
|
-
export function
|
1550
|
+
export function __wbg_queueMicrotask_f82fc5d1e8f816ae(arg0) {
|
1530
1551
|
const ret = getObject(arg0).queueMicrotask;
|
1531
1552
|
return addHeapObject(ret);
|
1532
1553
|
};
|
@@ -1560,96 +1581,96 @@ export function __wbg_set_9182712abebf82ef(arg0, arg1, arg2) {
|
|
1560
1581
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
1561
1582
|
};
|
1562
1583
|
|
1563
|
-
export function
|
1584
|
+
export function __wbg_get_0ee8ea3c7c984c45(arg0, arg1) {
|
1564
1585
|
const ret = getObject(arg0)[arg1 >>> 0];
|
1565
1586
|
return addHeapObject(ret);
|
1566
1587
|
};
|
1567
1588
|
|
1568
|
-
export function
|
1589
|
+
export function __wbg_length_161c0d89c6535c1d(arg0) {
|
1569
1590
|
const ret = getObject(arg0).length;
|
1570
1591
|
return ret;
|
1571
1592
|
};
|
1572
1593
|
|
1573
|
-
export function
|
1594
|
+
export function __wbg_new_75208e29bddfd88c() {
|
1574
1595
|
const ret = new Array();
|
1575
1596
|
return addHeapObject(ret);
|
1576
1597
|
};
|
1577
1598
|
|
1578
|
-
export function
|
1599
|
+
export function __wbg_newnoargs_cfecb3965268594c(arg0, arg1) {
|
1579
1600
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
1580
1601
|
return addHeapObject(ret);
|
1581
1602
|
};
|
1582
1603
|
|
1583
|
-
export function
|
1604
|
+
export function __wbg_next_586204376d2ed373(arg0) {
|
1584
1605
|
const ret = getObject(arg0).next;
|
1585
1606
|
return addHeapObject(ret);
|
1586
1607
|
};
|
1587
1608
|
|
1588
|
-
export function
|
1609
|
+
export function __wbg_next_b2d3366343a208b3() { return handleError(function (arg0) {
|
1589
1610
|
const ret = getObject(arg0).next();
|
1590
1611
|
return addHeapObject(ret);
|
1591
1612
|
}, arguments) };
|
1592
1613
|
|
1593
|
-
export function
|
1614
|
+
export function __wbg_done_90b14d6f6eacc42f(arg0) {
|
1594
1615
|
const ret = getObject(arg0).done;
|
1595
1616
|
return ret;
|
1596
1617
|
};
|
1597
1618
|
|
1598
|
-
export function
|
1619
|
+
export function __wbg_value_3158be908c80a75e(arg0) {
|
1599
1620
|
const ret = getObject(arg0).value;
|
1600
1621
|
return addHeapObject(ret);
|
1601
1622
|
};
|
1602
1623
|
|
1603
|
-
export function
|
1624
|
+
export function __wbg_iterator_40027cdd598da26b() {
|
1604
1625
|
const ret = Symbol.iterator;
|
1605
1626
|
return addHeapObject(ret);
|
1606
1627
|
};
|
1607
1628
|
|
1608
|
-
export function
|
1629
|
+
export function __wbg_get_3fddfed2c83f434c() { return handleError(function (arg0, arg1) {
|
1609
1630
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
1610
1631
|
return addHeapObject(ret);
|
1611
1632
|
}, arguments) };
|
1612
1633
|
|
1613
|
-
export function
|
1634
|
+
export function __wbg_call_3f093dd26d5569f8() { return handleError(function (arg0, arg1) {
|
1614
1635
|
const ret = getObject(arg0).call(getObject(arg1));
|
1615
1636
|
return addHeapObject(ret);
|
1616
1637
|
}, arguments) };
|
1617
1638
|
|
1618
|
-
export function
|
1639
|
+
export function __wbg_new_632630b5cec17f21() {
|
1619
1640
|
const ret = new Object();
|
1620
1641
|
return addHeapObject(ret);
|
1621
1642
|
};
|
1622
1643
|
|
1623
|
-
export function
|
1644
|
+
export function __wbg_self_05040bd9523805b9() { return handleError(function () {
|
1624
1645
|
const ret = self.self;
|
1625
1646
|
return addHeapObject(ret);
|
1626
1647
|
}, arguments) };
|
1627
1648
|
|
1628
|
-
export function
|
1649
|
+
export function __wbg_window_adc720039f2cb14f() { return handleError(function () {
|
1629
1650
|
const ret = window.window;
|
1630
1651
|
return addHeapObject(ret);
|
1631
1652
|
}, arguments) };
|
1632
1653
|
|
1633
|
-
export function
|
1654
|
+
export function __wbg_globalThis_622105db80c1457d() { return handleError(function () {
|
1634
1655
|
const ret = globalThis.globalThis;
|
1635
1656
|
return addHeapObject(ret);
|
1636
1657
|
}, arguments) };
|
1637
1658
|
|
1638
|
-
export function
|
1659
|
+
export function __wbg_global_f56b013ed9bcf359() { return handleError(function () {
|
1639
1660
|
const ret = global.global;
|
1640
1661
|
return addHeapObject(ret);
|
1641
1662
|
}, arguments) };
|
1642
1663
|
|
1643
|
-
export function
|
1664
|
+
export function __wbg_set_79c308ecd9a1d091(arg0, arg1, arg2) {
|
1644
1665
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
1645
1666
|
};
|
1646
1667
|
|
1647
|
-
export function
|
1668
|
+
export function __wbg_isArray_e783c41d0dd19b44(arg0) {
|
1648
1669
|
const ret = Array.isArray(getObject(arg0));
|
1649
1670
|
return ret;
|
1650
1671
|
};
|
1651
1672
|
|
1652
|
-
export function
|
1673
|
+
export function __wbg_instanceof_ArrayBuffer_9221fa854ffb71b5(arg0) {
|
1653
1674
|
let result;
|
1654
1675
|
try {
|
1655
1676
|
result = getObject(arg0) instanceof ArrayBuffer;
|
@@ -1660,7 +1681,7 @@ export function __wbg_instanceof_ArrayBuffer_e7d53d51371448e2(arg0) {
|
|
1660
1681
|
return ret;
|
1661
1682
|
};
|
1662
1683
|
|
1663
|
-
export function
|
1684
|
+
export function __wbg_instanceof_Error_5869c4f17aac9eb2(arg0) {
|
1664
1685
|
let result;
|
1665
1686
|
try {
|
1666
1687
|
result = getObject(arg0) instanceof Error;
|
@@ -1671,44 +1692,44 @@ export function __wbg_instanceof_Error_31ca8d97f188bfbc(arg0) {
|
|
1671
1692
|
return ret;
|
1672
1693
|
};
|
1673
1694
|
|
1674
|
-
export function
|
1695
|
+
export function __wbg_message_2a19bb5b62cf8e22(arg0) {
|
1675
1696
|
const ret = getObject(arg0).message;
|
1676
1697
|
return addHeapObject(ret);
|
1677
1698
|
};
|
1678
1699
|
|
1679
|
-
export function
|
1700
|
+
export function __wbg_name_405bb0aa047a1bf5(arg0) {
|
1680
1701
|
const ret = getObject(arg0).name;
|
1681
1702
|
return addHeapObject(ret);
|
1682
1703
|
};
|
1683
1704
|
|
1684
|
-
export function
|
1705
|
+
export function __wbg_toString_07f01913ec9af122(arg0) {
|
1685
1706
|
const ret = getObject(arg0).toString();
|
1686
1707
|
return addHeapObject(ret);
|
1687
1708
|
};
|
1688
1709
|
|
1689
|
-
export function
|
1710
|
+
export function __wbg_call_67f2111acd2dfdb6() { return handleError(function (arg0, arg1, arg2) {
|
1690
1711
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
1691
1712
|
return addHeapObject(ret);
|
1692
1713
|
}, arguments) };
|
1693
1714
|
|
1694
|
-
export function
|
1715
|
+
export function __wbg_isSafeInteger_a23a66ee7c41b273(arg0) {
|
1695
1716
|
const ret = Number.isSafeInteger(getObject(arg0));
|
1696
1717
|
return ret;
|
1697
1718
|
};
|
1698
1719
|
|
1699
|
-
export function
|
1720
|
+
export function __wbg_entries_488960b196cfb6a5(arg0) {
|
1700
1721
|
const ret = Object.entries(getObject(arg0));
|
1701
1722
|
return addHeapObject(ret);
|
1702
1723
|
};
|
1703
1724
|
|
1704
|
-
export function
|
1725
|
+
export function __wbg_new_70828a4353259d4b(arg0, arg1) {
|
1705
1726
|
try {
|
1706
1727
|
var state0 = {a: arg0, b: arg1};
|
1707
1728
|
var cb0 = (arg0, arg1) => {
|
1708
1729
|
const a = state0.a;
|
1709
1730
|
state0.a = 0;
|
1710
1731
|
try {
|
1711
|
-
return
|
1732
|
+
return __wbg_adapter_254(a, state0.b, arg0, arg1);
|
1712
1733
|
} finally {
|
1713
1734
|
state0.a = a;
|
1714
1735
|
}
|
@@ -1720,36 +1741,36 @@ export function __wbg_new_60f57089c7563e81(arg0, arg1) {
|
|
1720
1741
|
}
|
1721
1742
|
};
|
1722
1743
|
|
1723
|
-
export function
|
1744
|
+
export function __wbg_resolve_5da6faf2c96fd1d5(arg0) {
|
1724
1745
|
const ret = Promise.resolve(getObject(arg0));
|
1725
1746
|
return addHeapObject(ret);
|
1726
1747
|
};
|
1727
1748
|
|
1728
|
-
export function
|
1749
|
+
export function __wbg_then_f9e58f5a50f43eae(arg0, arg1) {
|
1729
1750
|
const ret = getObject(arg0).then(getObject(arg1));
|
1730
1751
|
return addHeapObject(ret);
|
1731
1752
|
};
|
1732
1753
|
|
1733
|
-
export function
|
1754
|
+
export function __wbg_buffer_b914fb8b50ebbc3e(arg0) {
|
1734
1755
|
const ret = getObject(arg0).buffer;
|
1735
1756
|
return addHeapObject(ret);
|
1736
1757
|
};
|
1737
1758
|
|
1738
|
-
export function
|
1759
|
+
export function __wbg_new_b1f2d6842d615181(arg0) {
|
1739
1760
|
const ret = new Uint8Array(getObject(arg0));
|
1740
1761
|
return addHeapObject(ret);
|
1741
1762
|
};
|
1742
1763
|
|
1743
|
-
export function
|
1764
|
+
export function __wbg_set_7d988c98e6ced92d(arg0, arg1, arg2) {
|
1744
1765
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
1745
1766
|
};
|
1746
1767
|
|
1747
|
-
export function
|
1768
|
+
export function __wbg_length_21c4b0ae73cba59d(arg0) {
|
1748
1769
|
const ret = getObject(arg0).length;
|
1749
1770
|
return ret;
|
1750
1771
|
};
|
1751
1772
|
|
1752
|
-
export function
|
1773
|
+
export function __wbg_instanceof_Uint8Array_c299a4ee232e76ba(arg0) {
|
1753
1774
|
let result;
|
1754
1775
|
try {
|
1755
1776
|
result = getObject(arg0) instanceof Uint8Array;
|
@@ -1760,7 +1781,7 @@ export function __wbg_instanceof_Uint8Array_bced6f43aed8c1aa(arg0) {
|
|
1760
1781
|
return ret;
|
1761
1782
|
};
|
1762
1783
|
|
1763
|
-
export function
|
1784
|
+
export function __wbg_set_961700853a212a39() { return handleError(function (arg0, arg1, arg2) {
|
1764
1785
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
1765
1786
|
return ret;
|
1766
1787
|
}, arguments) };
|
@@ -1789,33 +1810,33 @@ export function __wbindgen_memory() {
|
|
1789
1810
|
return addHeapObject(ret);
|
1790
1811
|
};
|
1791
1812
|
|
1792
|
-
export function
|
1793
|
-
const ret = makeMutClosure(arg0, arg1,
|
1813
|
+
export function __wbindgen_closure_wrapper1800(arg0, arg1, arg2) {
|
1814
|
+
const ret = makeMutClosure(arg0, arg1, 759, __wbg_adapter_50);
|
1794
1815
|
return addHeapObject(ret);
|
1795
1816
|
};
|
1796
1817
|
|
1797
|
-
export function
|
1798
|
-
const ret = makeMutClosure(arg0, arg1,
|
1818
|
+
export function __wbindgen_closure_wrapper1802(arg0, arg1, arg2) {
|
1819
|
+
const ret = makeMutClosure(arg0, arg1, 759, __wbg_adapter_53);
|
1799
1820
|
return addHeapObject(ret);
|
1800
1821
|
};
|
1801
1822
|
|
1802
|
-
export function
|
1803
|
-
const ret = makeMutClosure(arg0, arg1,
|
1823
|
+
export function __wbindgen_closure_wrapper1804(arg0, arg1, arg2) {
|
1824
|
+
const ret = makeMutClosure(arg0, arg1, 759, __wbg_adapter_50);
|
1804
1825
|
return addHeapObject(ret);
|
1805
1826
|
};
|
1806
1827
|
|
1807
|
-
export function
|
1808
|
-
const ret = makeMutClosure(arg0, arg1,
|
1828
|
+
export function __wbindgen_closure_wrapper1806(arg0, arg1, arg2) {
|
1829
|
+
const ret = makeMutClosure(arg0, arg1, 759, __wbg_adapter_50);
|
1809
1830
|
return addHeapObject(ret);
|
1810
1831
|
};
|
1811
1832
|
|
1812
|
-
export function
|
1813
|
-
const ret = makeMutClosure(arg0, arg1,
|
1833
|
+
export function __wbindgen_closure_wrapper2468(arg0, arg1, arg2) {
|
1834
|
+
const ret = makeMutClosure(arg0, arg1, 868, __wbg_adapter_60);
|
1814
1835
|
return addHeapObject(ret);
|
1815
1836
|
};
|
1816
1837
|
|
1817
|
-
export function
|
1818
|
-
const ret = makeMutClosure(arg0, arg1,
|
1838
|
+
export function __wbindgen_closure_wrapper2508(arg0, arg1, arg2) {
|
1839
|
+
const ret = makeMutClosure(arg0, arg1, 885, __wbg_adapter_63);
|
1819
1840
|
return addHeapObject(ret);
|
1820
1841
|
};
|
1821
1842
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|