lebai_sdk 0.1.10 → 0.1.12
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 +2 -2
- package/lebai_sdk_bg.js +147 -147
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/lebai_sdk.d.ts
CHANGED
@@ -50,11 +50,11 @@ export class Robot {
|
|
50
50
|
pose_trans(from: any, to: any): Promise<any>;
|
51
51
|
/**
|
52
52
|
* @param {any} pose
|
53
|
-
* @param {any} frame
|
54
53
|
* @param {any} delta
|
54
|
+
* @param {any | undefined} frame
|
55
55
|
* @returns {Promise<any>}
|
56
56
|
*/
|
57
|
-
pose_add(pose: any,
|
57
|
+
pose_add(pose: any, delta: any, frame?: any): Promise<any>;
|
58
58
|
/**
|
59
59
|
* @param {any} p
|
60
60
|
* @returns {Promise<any>}
|
package/lebai_sdk_bg.js
CHANGED
@@ -24,7 +24,20 @@ function takeObject(idx) {
|
|
24
24
|
return ret;
|
25
25
|
}
|
26
26
|
|
27
|
-
|
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
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
37
|
+
|
38
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
39
|
+
|
40
|
+
cachedTextDecoder.decode();
|
28
41
|
|
29
42
|
let cachedUint8Memory0 = null;
|
30
43
|
|
@@ -35,6 +48,35 @@ function getUint8Memory0() {
|
|
35
48
|
return cachedUint8Memory0;
|
36
49
|
}
|
37
50
|
|
51
|
+
function getStringFromWasm0(ptr, len) {
|
52
|
+
ptr = ptr >>> 0;
|
53
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
54
|
+
}
|
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
|
+
let WASM_VECTOR_LEN = 0;
|
79
|
+
|
38
80
|
const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
|
39
81
|
|
40
82
|
let cachedTextEncoder = new lTextEncoder('utf-8');
|
@@ -56,14 +98,14 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
56
98
|
|
57
99
|
if (realloc === undefined) {
|
58
100
|
const buf = cachedTextEncoder.encode(arg);
|
59
|
-
const ptr = malloc(buf.length) >>> 0;
|
101
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
60
102
|
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
61
103
|
WASM_VECTOR_LEN = buf.length;
|
62
104
|
return ptr;
|
63
105
|
}
|
64
106
|
|
65
107
|
let len = arg.length;
|
66
|
-
let ptr = malloc(len) >>> 0;
|
108
|
+
let ptr = malloc(len, 1) >>> 0;
|
67
109
|
|
68
110
|
const mem = getUint8Memory0();
|
69
111
|
|
@@ -79,7 +121,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
79
121
|
if (offset !== 0) {
|
80
122
|
arg = arg.slice(offset);
|
81
123
|
}
|
82
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3) >>> 0;
|
124
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
83
125
|
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
84
126
|
const ret = encodeString(arg, view);
|
85
127
|
|
@@ -90,48 +132,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
90
132
|
return ptr;
|
91
133
|
}
|
92
134
|
|
93
|
-
function isLikeNone(x) {
|
94
|
-
return x === undefined || x === null;
|
95
|
-
}
|
96
|
-
|
97
|
-
let cachedInt32Memory0 = null;
|
98
|
-
|
99
|
-
function getInt32Memory0() {
|
100
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
101
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
102
|
-
}
|
103
|
-
return cachedInt32Memory0;
|
104
|
-
}
|
105
|
-
|
106
|
-
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
107
|
-
|
108
|
-
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
109
|
-
|
110
|
-
cachedTextDecoder.decode();
|
111
|
-
|
112
|
-
function getStringFromWasm0(ptr, len) {
|
113
|
-
ptr = ptr >>> 0;
|
114
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
115
|
-
}
|
116
|
-
|
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
|
-
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__h4c2387def18e60e0(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__h23c7c7cd6c009628(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__h873523395bc4eca4(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__h682600864e3a4ff6(arg0, arg1);
|
247
247
|
}
|
248
248
|
|
249
249
|
let cachedUint32Memory0 = null;
|
@@ -256,7 +256,7 @@ function getUint32Memory0() {
|
|
256
256
|
}
|
257
257
|
|
258
258
|
function passArray32ToWasm0(arg, malloc) {
|
259
|
-
const ptr = malloc(arg.length * 4) >>> 0;
|
259
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
260
260
|
getUint32Memory0().set(arg, ptr / 4);
|
261
261
|
WASM_VECTOR_LEN = arg.length;
|
262
262
|
return ptr;
|
@@ -306,7 +306,7 @@ export function version() {
|
|
306
306
|
return getStringFromWasm0(ptr1, len1);
|
307
307
|
} finally {
|
308
308
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
309
|
-
wasm.__wbindgen_free(deferred2_0, deferred2_1);
|
309
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
310
310
|
}
|
311
311
|
}
|
312
312
|
|
@@ -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__h7027d63760c93a03(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
327
327
|
}
|
328
328
|
|
329
329
|
/**
|
@@ -403,12 +403,12 @@ export class Robot {
|
|
403
403
|
}
|
404
404
|
/**
|
405
405
|
* @param {any} pose
|
406
|
-
* @param {any} frame
|
407
406
|
* @param {any} delta
|
407
|
+
* @param {any | undefined} frame
|
408
408
|
* @returns {Promise<any>}
|
409
409
|
*/
|
410
|
-
pose_add(pose,
|
411
|
-
const ret = wasm.robot_pose_add(this.__wbg_ptr, addHeapObject(pose), addHeapObject(
|
410
|
+
pose_add(pose, delta, frame) {
|
411
|
+
const ret = wasm.robot_pose_add(this.__wbg_ptr, addHeapObject(pose), addHeapObject(delta), isLikeNone(frame) ? 0 : addHeapObject(frame));
|
412
412
|
return takeObject(ret);
|
413
413
|
}
|
414
414
|
/**
|
@@ -1185,13 +1185,19 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
1185
1185
|
takeObject(arg0);
|
1186
1186
|
};
|
1187
1187
|
|
1188
|
-
export function
|
1189
|
-
const obj =
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1188
|
+
export function __wbindgen_cb_drop(arg0) {
|
1189
|
+
const obj = takeObject(arg0).original;
|
1190
|
+
if (obj.cnt-- == 1) {
|
1191
|
+
obj.a = 0;
|
1192
|
+
return true;
|
1193
|
+
}
|
1194
|
+
const ret = false;
|
1195
|
+
return ret;
|
1196
|
+
};
|
1197
|
+
|
1198
|
+
export function __wbindgen_number_new(arg0) {
|
1199
|
+
const ret = arg0;
|
1200
|
+
return addHeapObject(ret);
|
1195
1201
|
};
|
1196
1202
|
|
1197
1203
|
export function __wbindgen_string_new(arg0, arg1) {
|
@@ -1199,10 +1205,9 @@ export function __wbindgen_string_new(arg0, arg1) {
|
|
1199
1205
|
return addHeapObject(ret);
|
1200
1206
|
};
|
1201
1207
|
|
1202
|
-
export function
|
1203
|
-
const
|
1204
|
-
|
1205
|
-
return ret;
|
1208
|
+
export function __wbg_robot_new(arg0) {
|
1209
|
+
const ret = Robot.__wrap(arg0);
|
1210
|
+
return addHeapObject(ret);
|
1206
1211
|
};
|
1207
1212
|
|
1208
1213
|
export function __wbg_robotsubscription_new(arg0) {
|
@@ -1210,11 +1215,6 @@ export function __wbg_robotsubscription_new(arg0) {
|
|
1210
1215
|
return addHeapObject(ret);
|
1211
1216
|
};
|
1212
1217
|
|
1213
|
-
export function __wbg_robot_new(arg0) {
|
1214
|
-
const ret = Robot.__wrap(arg0);
|
1215
|
-
return addHeapObject(ret);
|
1216
|
-
};
|
1217
|
-
|
1218
1218
|
export function __wbindgen_number_get(arg0, arg1) {
|
1219
1219
|
const obj = getObject(arg1);
|
1220
1220
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
@@ -1222,27 +1222,32 @@ export function __wbindgen_number_get(arg0, arg1) {
|
|
1222
1222
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
1223
1223
|
};
|
1224
1224
|
|
1225
|
+
export function __wbindgen_boolean_get(arg0) {
|
1226
|
+
const v = getObject(arg0);
|
1227
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
1228
|
+
return ret;
|
1229
|
+
};
|
1230
|
+
|
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
|
+
|
1225
1240
|
export function __wbindgen_is_object(arg0) {
|
1226
1241
|
const val = getObject(arg0);
|
1227
1242
|
const ret = typeof(val) === 'object' && val !== null;
|
1228
1243
|
return ret;
|
1229
1244
|
};
|
1230
1245
|
|
1231
|
-
export function
|
1232
|
-
const ret = arg0;
|
1246
|
+
export function __wbindgen_error_new(arg0, arg1) {
|
1247
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1233
1248
|
return addHeapObject(ret);
|
1234
1249
|
};
|
1235
1250
|
|
1236
|
-
export function __wbindgen_cb_drop(arg0) {
|
1237
|
-
const obj = takeObject(arg0).original;
|
1238
|
-
if (obj.cnt-- == 1) {
|
1239
|
-
obj.a = 0;
|
1240
|
-
return true;
|
1241
|
-
}
|
1242
|
-
const ret = false;
|
1243
|
-
return ret;
|
1244
|
-
};
|
1245
|
-
|
1246
1251
|
export function __wbindgen_is_bigint(arg0) {
|
1247
1252
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
1248
1253
|
return ret;
|
@@ -1273,11 +1278,6 @@ export function __wbindgen_is_undefined(arg0) {
|
|
1273
1278
|
return ret;
|
1274
1279
|
};
|
1275
1280
|
|
1276
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
1277
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1278
|
-
return addHeapObject(ret);
|
1279
|
-
};
|
1280
|
-
|
1281
1281
|
export function __wbindgen_is_string(arg0) {
|
1282
1282
|
const ret = typeof(getObject(arg0)) === 'string';
|
1283
1283
|
return ret;
|
@@ -1288,34 +1288,34 @@ export function __wbindgen_object_clone_ref(arg0) {
|
|
1288
1288
|
return addHeapObject(ret);
|
1289
1289
|
};
|
1290
1290
|
|
1291
|
-
export function
|
1291
|
+
export function __wbg_addEventListener_5651108fc3ffeb6e() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1292
1292
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1293
1293
|
}, arguments) };
|
1294
1294
|
|
1295
|
-
export function
|
1295
|
+
export function __wbg_addEventListener_a5963e26cd7b176b() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
1296
1296
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
1297
1297
|
}, arguments) };
|
1298
1298
|
|
1299
|
-
export function
|
1299
|
+
export function __wbg_dispatchEvent_a622a6455be582eb() { return handleError(function (arg0, arg1) {
|
1300
1300
|
const ret = getObject(arg0).dispatchEvent(getObject(arg1));
|
1301
1301
|
return ret;
|
1302
1302
|
}, arguments) };
|
1303
1303
|
|
1304
|
-
export function
|
1304
|
+
export function __wbg_removeEventListener_5de660c02ed784e4() { return handleError(function (arg0, arg1, arg2, arg3) {
|
1305
1305
|
getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
1306
1306
|
}, arguments) };
|
1307
1307
|
|
1308
|
-
export function
|
1308
|
+
export function __wbg_wasClean_74cf0c4d617e8bf5(arg0) {
|
1309
1309
|
const ret = getObject(arg0).wasClean;
|
1310
1310
|
return ret;
|
1311
1311
|
};
|
1312
1312
|
|
1313
|
-
export function
|
1313
|
+
export function __wbg_code_858da7147ef5fb52(arg0) {
|
1314
1314
|
const ret = getObject(arg0).code;
|
1315
1315
|
return ret;
|
1316
1316
|
};
|
1317
1317
|
|
1318
|
-
export function
|
1318
|
+
export function __wbg_reason_cab9df8d5ef57aa2(arg0, arg1) {
|
1319
1319
|
const ret = getObject(arg1).reason;
|
1320
1320
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
1321
1321
|
const len1 = WASM_VECTOR_LEN;
|
@@ -1323,38 +1323,38 @@ export function __wbg_reason_c07db343645d6e25(arg0, arg1) {
|
|
1323
1323
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
1324
1324
|
};
|
1325
1325
|
|
1326
|
-
export function
|
1326
|
+
export function __wbg_newwitheventinitdict_1f554ee93659ab92() { return handleError(function (arg0, arg1, arg2) {
|
1327
1327
|
const ret = new CloseEvent(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
1328
1328
|
return addHeapObject(ret);
|
1329
1329
|
}, arguments) };
|
1330
1330
|
|
1331
|
-
export function
|
1331
|
+
export function __wbg_readyState_b25418fd198bf715(arg0) {
|
1332
1332
|
const ret = getObject(arg0).readyState;
|
1333
1333
|
return ret;
|
1334
1334
|
};
|
1335
1335
|
|
1336
|
-
export function
|
1336
|
+
export function __wbg_setbinaryType_096c70c4a9d97499(arg0, arg1) {
|
1337
1337
|
getObject(arg0).binaryType = takeObject(arg1);
|
1338
1338
|
};
|
1339
1339
|
|
1340
|
-
export function
|
1340
|
+
export function __wbg_new_b66404b6322c59bf() { return handleError(function (arg0, arg1) {
|
1341
1341
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
1342
1342
|
return addHeapObject(ret);
|
1343
1343
|
}, arguments) };
|
1344
1344
|
|
1345
|
-
export function
|
1345
|
+
export function __wbg_close_dfa389d8fddb52fc() { return handleError(function (arg0) {
|
1346
1346
|
getObject(arg0).close();
|
1347
1347
|
}, arguments) };
|
1348
1348
|
|
1349
|
-
export function
|
1349
|
+
export function __wbg_send_280c8ab5d0df82de() { return handleError(function (arg0, arg1, arg2) {
|
1350
1350
|
getObject(arg0).send(getStringFromWasm0(arg1, arg2));
|
1351
1351
|
}, arguments) };
|
1352
1352
|
|
1353
|
-
export function
|
1353
|
+
export function __wbg_send_1a008ea2eb3a1951() { return handleError(function (arg0, arg1, arg2) {
|
1354
1354
|
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
1355
1355
|
}, arguments) };
|
1356
1356
|
|
1357
|
-
export function
|
1357
|
+
export function __wbg_data_ab99ae4a2e1e8bc9(arg0) {
|
1358
1358
|
const ret = getObject(arg0).data;
|
1359
1359
|
return addHeapObject(ret);
|
1360
1360
|
};
|
@@ -1383,17 +1383,17 @@ export function __wbg_set_841ac57cff3d672b(arg0, arg1, arg2) {
|
|
1383
1383
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
1384
1384
|
};
|
1385
1385
|
|
1386
|
-
export function
|
1386
|
+
export function __wbg_get_44be0491f933a435(arg0, arg1) {
|
1387
1387
|
const ret = getObject(arg0)[arg1 >>> 0];
|
1388
1388
|
return addHeapObject(ret);
|
1389
1389
|
};
|
1390
1390
|
|
1391
|
-
export function
|
1391
|
+
export function __wbg_length_fff51ee6522a1a18(arg0) {
|
1392
1392
|
const ret = getObject(arg0).length;
|
1393
1393
|
return ret;
|
1394
1394
|
};
|
1395
1395
|
|
1396
|
-
export function
|
1396
|
+
export function __wbg_new_898a68150f225f2e() {
|
1397
1397
|
const ret = new Array();
|
1398
1398
|
return addHeapObject(ret);
|
1399
1399
|
};
|
@@ -1403,56 +1403,56 @@ export function __wbindgen_is_function(arg0) {
|
|
1403
1403
|
return ret;
|
1404
1404
|
};
|
1405
1405
|
|
1406
|
-
export function
|
1406
|
+
export function __wbg_next_526fc47e980da008(arg0) {
|
1407
1407
|
const ret = getObject(arg0).next;
|
1408
1408
|
return addHeapObject(ret);
|
1409
1409
|
};
|
1410
1410
|
|
1411
|
-
export function
|
1411
|
+
export function __wbg_next_ddb3312ca1c4e32a() { return handleError(function (arg0) {
|
1412
1412
|
const ret = getObject(arg0).next();
|
1413
1413
|
return addHeapObject(ret);
|
1414
1414
|
}, arguments) };
|
1415
1415
|
|
1416
|
-
export function
|
1416
|
+
export function __wbg_done_5c1f01fb660d73b5(arg0) {
|
1417
1417
|
const ret = getObject(arg0).done;
|
1418
1418
|
return ret;
|
1419
1419
|
};
|
1420
1420
|
|
1421
|
-
export function
|
1421
|
+
export function __wbg_value_1695675138684bd5(arg0) {
|
1422
1422
|
const ret = getObject(arg0).value;
|
1423
1423
|
return addHeapObject(ret);
|
1424
1424
|
};
|
1425
1425
|
|
1426
|
-
export function
|
1426
|
+
export function __wbg_iterator_97f0c81209c6c35a() {
|
1427
1427
|
const ret = Symbol.iterator;
|
1428
1428
|
return addHeapObject(ret);
|
1429
1429
|
};
|
1430
1430
|
|
1431
|
-
export function
|
1431
|
+
export function __wbg_get_97b561fb56f034b5() { return handleError(function (arg0, arg1) {
|
1432
1432
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
1433
1433
|
return addHeapObject(ret);
|
1434
1434
|
}, arguments) };
|
1435
1435
|
|
1436
|
-
export function
|
1436
|
+
export function __wbg_call_cb65541d95d71282() { return handleError(function (arg0, arg1) {
|
1437
1437
|
const ret = getObject(arg0).call(getObject(arg1));
|
1438
1438
|
return addHeapObject(ret);
|
1439
1439
|
}, arguments) };
|
1440
1440
|
|
1441
|
-
export function
|
1441
|
+
export function __wbg_new_b51585de1b234aff() {
|
1442
1442
|
const ret = new Object();
|
1443
1443
|
return addHeapObject(ret);
|
1444
1444
|
};
|
1445
1445
|
|
1446
|
-
export function
|
1446
|
+
export function __wbg_set_502d29070ea18557(arg0, arg1, arg2) {
|
1447
1447
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
1448
1448
|
};
|
1449
1449
|
|
1450
|
-
export function
|
1450
|
+
export function __wbg_isArray_4c24b343cb13cfb1(arg0) {
|
1451
1451
|
const ret = Array.isArray(getObject(arg0));
|
1452
1452
|
return ret;
|
1453
1453
|
};
|
1454
1454
|
|
1455
|
-
export function
|
1455
|
+
export function __wbg_instanceof_ArrayBuffer_39ac22089b74fddb(arg0) {
|
1456
1456
|
let result;
|
1457
1457
|
try {
|
1458
1458
|
result = getObject(arg0) instanceof ArrayBuffer;
|
@@ -1463,7 +1463,7 @@ export function __wbg_instanceof_ArrayBuffer_ef2632aa0d4bfff8(arg0) {
|
|
1463
1463
|
return ret;
|
1464
1464
|
};
|
1465
1465
|
|
1466
|
-
export function
|
1466
|
+
export function __wbg_instanceof_Error_ab19e20608ea43c7(arg0) {
|
1467
1467
|
let result;
|
1468
1468
|
try {
|
1469
1469
|
result = getObject(arg0) instanceof Error;
|
@@ -1474,37 +1474,37 @@ export function __wbg_instanceof_Error_fac23a8832b241da(arg0) {
|
|
1474
1474
|
return ret;
|
1475
1475
|
};
|
1476
1476
|
|
1477
|
-
export function
|
1477
|
+
export function __wbg_message_48bacc5ea57d74ee(arg0) {
|
1478
1478
|
const ret = getObject(arg0).message;
|
1479
1479
|
return addHeapObject(ret);
|
1480
1480
|
};
|
1481
1481
|
|
1482
|
-
export function
|
1482
|
+
export function __wbg_name_8f734cbbd6194153(arg0) {
|
1483
1483
|
const ret = getObject(arg0).name;
|
1484
1484
|
return addHeapObject(ret);
|
1485
1485
|
};
|
1486
1486
|
|
1487
|
-
export function
|
1487
|
+
export function __wbg_toString_1c056108b87ba68b(arg0) {
|
1488
1488
|
const ret = getObject(arg0).toString();
|
1489
1489
|
return addHeapObject(ret);
|
1490
1490
|
};
|
1491
1491
|
|
1492
|
-
export function
|
1492
|
+
export function __wbg_call_01734de55d61e11d() { return handleError(function (arg0, arg1, arg2) {
|
1493
1493
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
1494
1494
|
return addHeapObject(ret);
|
1495
1495
|
}, arguments) };
|
1496
1496
|
|
1497
|
-
export function
|
1497
|
+
export function __wbg_isSafeInteger_bb8e18dd21c97288(arg0) {
|
1498
1498
|
const ret = Number.isSafeInteger(getObject(arg0));
|
1499
1499
|
return ret;
|
1500
1500
|
};
|
1501
1501
|
|
1502
|
-
export function
|
1502
|
+
export function __wbg_entries_e51f29c7bba0c054(arg0) {
|
1503
1503
|
const ret = Object.entries(getObject(arg0));
|
1504
1504
|
return addHeapObject(ret);
|
1505
1505
|
};
|
1506
1506
|
|
1507
|
-
export function
|
1507
|
+
export function __wbg_new_43f1b47c28813cbd(arg0, arg1) {
|
1508
1508
|
try {
|
1509
1509
|
var state0 = {a: arg0, b: arg1};
|
1510
1510
|
var cb0 = (arg0, arg1) => {
|
@@ -1523,36 +1523,36 @@ export function __wbg_new_2b55e405e4af4986(arg0, arg1) {
|
|
1523
1523
|
}
|
1524
1524
|
};
|
1525
1525
|
|
1526
|
-
export function
|
1526
|
+
export function __wbg_resolve_53698b95aaf7fcf8(arg0) {
|
1527
1527
|
const ret = Promise.resolve(getObject(arg0));
|
1528
1528
|
return addHeapObject(ret);
|
1529
1529
|
};
|
1530
1530
|
|
1531
|
-
export function
|
1531
|
+
export function __wbg_then_f7e06ee3c11698eb(arg0, arg1) {
|
1532
1532
|
const ret = getObject(arg0).then(getObject(arg1));
|
1533
1533
|
return addHeapObject(ret);
|
1534
1534
|
};
|
1535
1535
|
|
1536
|
-
export function
|
1536
|
+
export function __wbg_buffer_085ec1f694018c4f(arg0) {
|
1537
1537
|
const ret = getObject(arg0).buffer;
|
1538
1538
|
return addHeapObject(ret);
|
1539
1539
|
};
|
1540
1540
|
|
1541
|
-
export function
|
1541
|
+
export function __wbg_new_8125e318e6245eed(arg0) {
|
1542
1542
|
const ret = new Uint8Array(getObject(arg0));
|
1543
1543
|
return addHeapObject(ret);
|
1544
1544
|
};
|
1545
1545
|
|
1546
|
-
export function
|
1546
|
+
export function __wbg_set_5cf90238115182c3(arg0, arg1, arg2) {
|
1547
1547
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
1548
1548
|
};
|
1549
1549
|
|
1550
|
-
export function
|
1550
|
+
export function __wbg_length_72e2208bbc0efc61(arg0) {
|
1551
1551
|
const ret = getObject(arg0).length;
|
1552
1552
|
return ret;
|
1553
1553
|
};
|
1554
1554
|
|
1555
|
-
export function
|
1555
|
+
export function __wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4(arg0) {
|
1556
1556
|
let result;
|
1557
1557
|
try {
|
1558
1558
|
result = getObject(arg0) instanceof Uint8Array;
|
@@ -1563,7 +1563,7 @@ export function __wbg_instanceof_Uint8Array_1349640af2da2e88(arg0) {
|
|
1563
1563
|
return ret;
|
1564
1564
|
};
|
1565
1565
|
|
1566
|
-
export function
|
1566
|
+
export function __wbg_set_092e06b0f9d71865() { return handleError(function (arg0, arg1, arg2) {
|
1567
1567
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
1568
1568
|
return ret;
|
1569
1569
|
}, arguments) };
|
@@ -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_wrapper1693(arg0, arg1, arg2) {
|
1596
|
+
const ret = makeMutClosure(arg0, arg1, 648, __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_wrapper1695(arg0, arg1, arg2) {
|
1601
|
+
const ret = makeMutClosure(arg0, arg1, 648, __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_wrapper1697(arg0, arg1, arg2) {
|
1606
|
+
const ret = makeMutClosure(arg0, arg1, 648, __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_wrapper1699(arg0, arg1, arg2) {
|
1611
|
+
const ret = makeMutClosure(arg0, arg1, 648, __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_wrapper2169(arg0, arg1, arg2) {
|
1616
|
+
const ret = makeMutClosure(arg0, arg1, 724, __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_wrapper2209(arg0, arg1, arg2) {
|
1621
|
+
const ret = makeMutClosure(arg0, arg1, 741, __wbg_adapter_61);
|
1622
1622
|
return addHeapObject(ret);
|
1623
1623
|
};
|
1624
1624
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|