lebai_sdk 0.1.17 → 0.1.19
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 +52 -52
- package/lebai_sdk_bg.wasm +0 -0
- package/package.json +4 -1
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() {
|
@@ -1223,11 +1223,6 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
1223
1223
|
takeObject(arg0);
|
1224
1224
|
};
|
1225
1225
|
|
1226
|
-
export function __wbindgen_string_new(arg0, arg1) {
|
1227
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
1228
|
-
return addHeapObject(ret);
|
1229
|
-
};
|
1230
|
-
|
1231
1226
|
export function __wbindgen_string_get(arg0, arg1) {
|
1232
1227
|
const obj = getObject(arg1);
|
1233
1228
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
@@ -1242,13 +1237,18 @@ export function __wbindgen_number_new(arg0) {
|
|
1242
1237
|
return addHeapObject(ret);
|
1243
1238
|
};
|
1244
1239
|
|
1245
|
-
export function
|
1246
|
-
const ret =
|
1240
|
+
export function __wbg_robotsubscription_new(arg0) {
|
1241
|
+
const ret = RobotSubscription.__wrap(arg0);
|
1247
1242
|
return addHeapObject(ret);
|
1248
1243
|
};
|
1249
1244
|
|
1250
|
-
export function
|
1251
|
-
const ret =
|
1245
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
1246
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
1247
|
+
return addHeapObject(ret);
|
1248
|
+
};
|
1249
|
+
|
1250
|
+
export function __wbg_robot_new(arg0) {
|
1251
|
+
const ret = Robot.__wrap(arg0);
|
1252
1252
|
return addHeapObject(ret);
|
1253
1253
|
};
|
1254
1254
|
|
@@ -1258,6 +1258,16 @@ export function __wbindgen_is_object(arg0) {
|
|
1258
1258
|
return ret;
|
1259
1259
|
};
|
1260
1260
|
|
1261
|
+
export function __wbindgen_cb_drop(arg0) {
|
1262
|
+
const obj = takeObject(arg0).original;
|
1263
|
+
if (obj.cnt-- == 1) {
|
1264
|
+
obj.a = 0;
|
1265
|
+
return true;
|
1266
|
+
}
|
1267
|
+
const ret = false;
|
1268
|
+
return ret;
|
1269
|
+
};
|
1270
|
+
|
1261
1271
|
export function __wbindgen_boolean_get(arg0) {
|
1262
1272
|
const v = getObject(arg0);
|
1263
1273
|
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
@@ -1301,16 +1311,6 @@ export function __wbindgen_is_undefined(arg0) {
|
|
1301
1311
|
return ret;
|
1302
1312
|
};
|
1303
1313
|
|
1304
|
-
export function __wbindgen_cb_drop(arg0) {
|
1305
|
-
const obj = takeObject(arg0).original;
|
1306
|
-
if (obj.cnt-- == 1) {
|
1307
|
-
obj.a = 0;
|
1308
|
-
return true;
|
1309
|
-
}
|
1310
|
-
const ret = false;
|
1311
|
-
return ret;
|
1312
|
-
};
|
1313
|
-
|
1314
1314
|
export function __wbindgen_error_new(arg0, arg1) {
|
1315
1315
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
1316
1316
|
return addHeapObject(ret);
|
@@ -1630,33 +1630,33 @@ export function __wbindgen_memory() {
|
|
1630
1630
|
return addHeapObject(ret);
|
1631
1631
|
};
|
1632
1632
|
|
1633
|
-
export function
|
1634
|
-
const ret = makeMutClosure(arg0, arg1,
|
1633
|
+
export function __wbindgen_closure_wrapper1587(arg0, arg1, arg2) {
|
1634
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_48);
|
1635
1635
|
return addHeapObject(ret);
|
1636
1636
|
};
|
1637
1637
|
|
1638
|
-
export function
|
1639
|
-
const ret = makeMutClosure(arg0, arg1,
|
1638
|
+
export function __wbindgen_closure_wrapper1589(arg0, arg1, arg2) {
|
1639
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_48);
|
1640
1640
|
return addHeapObject(ret);
|
1641
1641
|
};
|
1642
1642
|
|
1643
|
-
export function
|
1644
|
-
const ret = makeMutClosure(arg0, arg1,
|
1643
|
+
export function __wbindgen_closure_wrapper1591(arg0, arg1, arg2) {
|
1644
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_48);
|
1645
1645
|
return addHeapObject(ret);
|
1646
1646
|
};
|
1647
1647
|
|
1648
|
-
export function
|
1649
|
-
const ret = makeMutClosure(arg0, arg1,
|
1648
|
+
export function __wbindgen_closure_wrapper1593(arg0, arg1, arg2) {
|
1649
|
+
const ret = makeMutClosure(arg0, arg1, 656, __wbg_adapter_55);
|
1650
1650
|
return addHeapObject(ret);
|
1651
1651
|
};
|
1652
1652
|
|
1653
|
-
export function
|
1654
|
-
const ret = makeMutClosure(arg0, arg1,
|
1653
|
+
export function __wbindgen_closure_wrapper2335(arg0, arg1, arg2) {
|
1654
|
+
const ret = makeMutClosure(arg0, arg1, 772, __wbg_adapter_58);
|
1655
1655
|
return addHeapObject(ret);
|
1656
1656
|
};
|
1657
1657
|
|
1658
|
-
export function
|
1659
|
-
const ret = makeMutClosure(arg0, arg1,
|
1658
|
+
export function __wbindgen_closure_wrapper2382(arg0, arg1, arg2) {
|
1659
|
+
const ret = makeMutClosure(arg0, arg1, 795, __wbg_adapter_61);
|
1660
1660
|
return addHeapObject(ret);
|
1661
1661
|
};
|
1662
1662
|
|
package/lebai_sdk_bg.wasm
CHANGED
Binary file
|
package/package.json
CHANGED