lumina-node-wasm 0.6.0 → 0.7.0
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/lumina_node_wasm.d.ts +4 -0
- package/lumina_node_wasm_bg.js +159 -156
- package/lumina_node_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/lumina_node_wasm.d.ts
CHANGED
|
@@ -331,6 +331,10 @@ export class NodeConfig {
|
|
|
331
331
|
network: Network;
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
|
+
* `NodeWorker` is responsible for receiving commands from connected [`NodeClient`]s, executing
|
|
335
|
+
* them and sending a response back, as well as accepting new `NodeClient` connections.
|
|
336
|
+
*
|
|
337
|
+
* [`NodeClient`]: crate::client::NodeClient
|
|
334
338
|
*/
|
|
335
339
|
export class NodeWorker {
|
|
336
340
|
free(): void;
|
package/lumina_node_wasm_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 cachedUint8ArrayMemory0 = null;
|
|
34
30
|
|
|
@@ -39,22 +35,6 @@ function getUint8ArrayMemory0() {
|
|
|
39
35
|
return cachedUint8ArrayMemory0;
|
|
40
36
|
}
|
|
41
37
|
|
|
42
|
-
function getStringFromWasm0(ptr, len) {
|
|
43
|
-
ptr = ptr >>> 0;
|
|
44
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().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');
|
|
@@ -124,6 +104,26 @@ function getDataViewMemory0() {
|
|
|
124
104
|
return cachedDataViewMemory0;
|
|
125
105
|
}
|
|
126
106
|
|
|
107
|
+
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
|
|
108
|
+
|
|
109
|
+
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
110
|
+
|
|
111
|
+
cachedTextDecoder.decode();
|
|
112
|
+
|
|
113
|
+
function getStringFromWasm0(ptr, len) {
|
|
114
|
+
ptr = ptr >>> 0;
|
|
115
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function addHeapObject(obj) {
|
|
119
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
120
|
+
const idx = heap_next;
|
|
121
|
+
heap_next = heap[idx];
|
|
122
|
+
|
|
123
|
+
heap[idx] = obj;
|
|
124
|
+
return idx;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
127
|
function debugString(val) {
|
|
128
128
|
// primitive types
|
|
129
129
|
const type = typeof val;
|
|
@@ -220,7 +220,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
220
220
|
return real;
|
|
221
221
|
}
|
|
222
222
|
function __wbg_adapter_58(arg0, arg1, arg2) {
|
|
223
|
-
wasm.
|
|
223
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5171baf6e6ca91d2(arg0, arg1, addHeapObject(arg2));
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
function makeClosure(arg0, arg1, dtor, f) {
|
|
@@ -245,42 +245,35 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
245
245
|
return real;
|
|
246
246
|
}
|
|
247
247
|
function __wbg_adapter_61(arg0, arg1, arg2) {
|
|
248
|
-
wasm.
|
|
248
|
+
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf97a58544ef3ac23(arg0, arg1, addHeapObject(arg2));
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
function __wbg_adapter_64(arg0, arg1) {
|
|
252
|
-
wasm.
|
|
252
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h83ff16f891192813(arg0, arg1);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
function __wbg_adapter_71(arg0, arg1, arg2) {
|
|
256
|
-
wasm.
|
|
256
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h426038597447d85e(arg0, arg1, addHeapObject(arg2));
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
function __wbg_adapter_74(arg0, arg1) {
|
|
260
|
-
wasm.
|
|
260
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he035b268d16e3536(arg0, arg1);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
function __wbg_adapter_77(arg0, arg1, arg2) {
|
|
264
|
-
wasm.
|
|
264
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha37ed5f586aada9f(arg0, arg1, addHeapObject(arg2));
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
function __wbg_adapter_80(arg0, arg1, arg2) {
|
|
268
|
-
wasm.
|
|
268
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7170307afa176ee7(arg0, arg1, addHeapObject(arg2));
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
function __wbg_adapter_87(arg0, arg1, arg2) {
|
|
272
|
-
wasm.
|
|
272
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd8ef7add6b65f0a9(arg0, arg1, addHeapObject(arg2));
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
function __wbg_adapter_90(arg0, arg1) {
|
|
276
|
-
wasm.
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Set up a logging layer that direct logs to the browser's console.
|
|
281
|
-
*/
|
|
282
|
-
export function setup_logging() {
|
|
283
|
-
wasm.setup_logging();
|
|
276
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf933fad619274fbb(arg0, arg1);
|
|
284
277
|
}
|
|
285
278
|
|
|
286
279
|
function getArrayJsValueFromWasm0(ptr, len) {
|
|
@@ -317,6 +310,12 @@ function handleError(f, args) {
|
|
|
317
310
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
318
311
|
}
|
|
319
312
|
}
|
|
313
|
+
/**
|
|
314
|
+
* Set up a logging layer that direct logs to the browser's console.
|
|
315
|
+
*/
|
|
316
|
+
export function setup_logging() {
|
|
317
|
+
wasm.setup_logging();
|
|
318
|
+
}
|
|
320
319
|
|
|
321
320
|
function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
|
|
322
321
|
|
|
@@ -325,7 +324,7 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
325
324
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
326
325
|
}
|
|
327
326
|
function __wbg_adapter_554(arg0, arg1, arg2, arg3) {
|
|
328
|
-
wasm.
|
|
327
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h1dc05f016fc4dab2(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
329
328
|
}
|
|
330
329
|
|
|
331
330
|
/**
|
|
@@ -1058,6 +1057,10 @@ const NodeWorkerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
1058
1057
|
? { register: () => {}, unregister: () => {} }
|
|
1059
1058
|
: new FinalizationRegistry(ptr => wasm.__wbg_nodeworker_free(ptr >>> 0, 1));
|
|
1060
1059
|
/**
|
|
1060
|
+
* `NodeWorker` is responsible for receiving commands from connected [`NodeClient`]s, executing
|
|
1061
|
+
* them and sending a response back, as well as accepting new `NodeClient` connections.
|
|
1062
|
+
*
|
|
1063
|
+
* [`NodeClient`]: crate::client::NodeClient
|
|
1061
1064
|
*/
|
|
1062
1065
|
export class NodeWorker {
|
|
1063
1066
|
|
|
@@ -1241,23 +1244,13 @@ export class SyncingInfoSnapshot {
|
|
|
1241
1244
|
}
|
|
1242
1245
|
}
|
|
1243
1246
|
|
|
1244
|
-
export function __wbindgen_object_drop_ref(arg0) {
|
|
1245
|
-
takeObject(arg0);
|
|
1246
|
-
};
|
|
1247
|
-
|
|
1248
|
-
export function __wbindgen_string_new(arg0, arg1) {
|
|
1249
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
1250
|
-
return addHeapObject(ret);
|
|
1251
|
-
};
|
|
1252
|
-
|
|
1253
1247
|
export function __wbg_networkinfosnapshot_new(arg0) {
|
|
1254
1248
|
const ret = NetworkInfoSnapshot.__wrap(arg0);
|
|
1255
1249
|
return addHeapObject(ret);
|
|
1256
1250
|
};
|
|
1257
1251
|
|
|
1258
|
-
export function
|
|
1259
|
-
|
|
1260
|
-
return addHeapObject(ret);
|
|
1252
|
+
export function __wbindgen_object_drop_ref(arg0) {
|
|
1253
|
+
takeObject(arg0);
|
|
1261
1254
|
};
|
|
1262
1255
|
|
|
1263
1256
|
export function __wbindgen_string_get(arg0, arg1) {
|
|
@@ -1269,9 +1262,9 @@ export function __wbindgen_string_get(arg0, arg1) {
|
|
|
1269
1262
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1270
1263
|
};
|
|
1271
1264
|
|
|
1272
|
-
export function
|
|
1273
|
-
const ret =
|
|
1274
|
-
return ret;
|
|
1265
|
+
export function __wbindgen_error_new(arg0, arg1) {
|
|
1266
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1267
|
+
return addHeapObject(ret);
|
|
1275
1268
|
};
|
|
1276
1269
|
|
|
1277
1270
|
export function __wbindgen_cb_drop(arg0) {
|
|
@@ -1284,30 +1277,17 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
1284
1277
|
return ret;
|
|
1285
1278
|
};
|
|
1286
1279
|
|
|
1287
|
-
export function
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1291
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1292
|
-
};
|
|
1293
|
-
|
|
1294
|
-
export function __wbindgen_number_new(arg0) {
|
|
1295
|
-
const ret = arg0;
|
|
1296
|
-
return addHeapObject(ret);
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
export function __wbindgen_as_number(arg0) {
|
|
1300
|
-
const ret = +getObject(arg0);
|
|
1301
|
-
return ret;
|
|
1302
|
-
};
|
|
1280
|
+
export function __wbg_postMessage_c8aa98c593e6b125() { return handleError(function (arg0, arg1) {
|
|
1281
|
+
getObject(arg0).postMessage(getObject(arg1));
|
|
1282
|
+
}, arguments) };
|
|
1303
1283
|
|
|
1304
|
-
export function
|
|
1305
|
-
const ret =
|
|
1284
|
+
export function __wbg_blockrange_new(arg0) {
|
|
1285
|
+
const ret = BlockRange.__wrap(arg0);
|
|
1306
1286
|
return addHeapObject(ret);
|
|
1307
1287
|
};
|
|
1308
1288
|
|
|
1309
|
-
export function
|
|
1310
|
-
const ret =
|
|
1289
|
+
export function __wbindgen_number_new(arg0) {
|
|
1290
|
+
const ret = arg0;
|
|
1311
1291
|
return addHeapObject(ret);
|
|
1312
1292
|
};
|
|
1313
1293
|
|
|
@@ -1321,19 +1301,19 @@ export function __wbg_peertrackerinfosnapshot_new(arg0) {
|
|
|
1321
1301
|
return addHeapObject(ret);
|
|
1322
1302
|
};
|
|
1323
1303
|
|
|
1324
|
-
export function __wbg_blockrange_new(arg0) {
|
|
1325
|
-
const ret = BlockRange.__wrap(arg0);
|
|
1326
|
-
return addHeapObject(ret);
|
|
1327
|
-
};
|
|
1328
|
-
|
|
1329
1304
|
export function __wbindgen_is_object(arg0) {
|
|
1330
1305
|
const val = getObject(arg0);
|
|
1331
1306
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1332
1307
|
return ret;
|
|
1333
1308
|
};
|
|
1334
1309
|
|
|
1335
|
-
export function
|
|
1336
|
-
const ret =
|
|
1310
|
+
export function __wbindgen_as_number(arg0) {
|
|
1311
|
+
const ret = +getObject(arg0);
|
|
1312
|
+
return ret;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
export function __wbindgen_object_clone_ref(arg0) {
|
|
1316
|
+
const ret = getObject(arg0);
|
|
1337
1317
|
return addHeapObject(ret);
|
|
1338
1318
|
};
|
|
1339
1319
|
|
|
@@ -1343,16 +1323,42 @@ export function __wbindgen_boolean_get(arg0) {
|
|
|
1343
1323
|
return ret;
|
|
1344
1324
|
};
|
|
1345
1325
|
|
|
1346
|
-
export function
|
|
1347
|
-
const ret =
|
|
1326
|
+
export function __wbg_nodeclient_new(arg0) {
|
|
1327
|
+
const ret = NodeClient.__wrap(arg0);
|
|
1348
1328
|
return addHeapObject(ret);
|
|
1349
1329
|
};
|
|
1350
1330
|
|
|
1351
|
-
export function
|
|
1352
|
-
const ret =
|
|
1331
|
+
export function __wbg_blockrange_unwrap(arg0) {
|
|
1332
|
+
const ret = BlockRange.__unwrap(takeObject(arg0));
|
|
1353
1333
|
return ret;
|
|
1354
1334
|
};
|
|
1355
1335
|
|
|
1336
|
+
export function __wbindgen_string_new(arg0, arg1) {
|
|
1337
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1338
|
+
return addHeapObject(ret);
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
export function __wbindgen_number_get(arg0, arg1) {
|
|
1342
|
+
const obj = getObject(arg1);
|
|
1343
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1344
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1345
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
export function __wbg_postMessage_acaee59f440d8ec1() { return handleError(function (arg0, arg1, arg2) {
|
|
1349
|
+
getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
|
|
1350
|
+
}, arguments) };
|
|
1351
|
+
|
|
1352
|
+
export function __wbg_fetch_e00bdbf195b610d0(arg0) {
|
|
1353
|
+
const ret = fetch(getObject(arg0));
|
|
1354
|
+
return addHeapObject(ret);
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
export function __wbindgen_typeof(arg0) {
|
|
1358
|
+
const ret = typeof getObject(arg0);
|
|
1359
|
+
return addHeapObject(ret);
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1356
1362
|
export function __wbindgen_is_array(arg0) {
|
|
1357
1363
|
const ret = Array.isArray(getObject(arg0));
|
|
1358
1364
|
return ret;
|
|
@@ -1363,21 +1369,13 @@ export function __wbindgen_is_undefined(arg0) {
|
|
|
1363
1369
|
return ret;
|
|
1364
1370
|
};
|
|
1365
1371
|
|
|
1366
|
-
export function
|
|
1367
|
-
const ret =
|
|
1372
|
+
export function __wbindgen_is_falsy(arg0) {
|
|
1373
|
+
const ret = !getObject(arg0);
|
|
1368
1374
|
return ret;
|
|
1369
1375
|
};
|
|
1370
1376
|
|
|
1371
|
-
export function
|
|
1372
|
-
getObject(arg0)
|
|
1373
|
-
}, arguments) };
|
|
1374
|
-
|
|
1375
|
-
export function __wbg_postMessage_d48889bd7f9a3ccf() { return handleError(function (arg0, arg1) {
|
|
1376
|
-
getObject(arg0).postMessage(getObject(arg1));
|
|
1377
|
-
}, arguments) };
|
|
1378
|
-
|
|
1379
|
-
export function __wbindgen_is_bigint(arg0) {
|
|
1380
|
-
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
1377
|
+
export function __wbindgen_is_function(arg0) {
|
|
1378
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
1381
1379
|
return ret;
|
|
1382
1380
|
};
|
|
1383
1381
|
|
|
@@ -1386,6 +1384,11 @@ export function __wbindgen_in(arg0, arg1) {
|
|
|
1386
1384
|
return ret;
|
|
1387
1385
|
};
|
|
1388
1386
|
|
|
1387
|
+
export function __wbindgen_is_bigint(arg0) {
|
|
1388
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
1389
|
+
return ret;
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1389
1392
|
export function __wbindgen_bigint_from_i64(arg0) {
|
|
1390
1393
|
const ret = arg0;
|
|
1391
1394
|
return addHeapObject(ret);
|
|
@@ -1401,8 +1404,8 @@ export function __wbindgen_bigint_from_u64(arg0) {
|
|
|
1401
1404
|
return addHeapObject(ret);
|
|
1402
1405
|
};
|
|
1403
1406
|
|
|
1404
|
-
export function
|
|
1405
|
-
const ret = typeof(getObject(arg0)) === '
|
|
1407
|
+
export function __wbindgen_is_string(arg0) {
|
|
1408
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
1406
1409
|
return ret;
|
|
1407
1410
|
};
|
|
1408
1411
|
|
|
@@ -1431,9 +1434,9 @@ export function __wbg_error_f851667af71bcfc6(arg0, arg1) {
|
|
|
1431
1434
|
}
|
|
1432
1435
|
};
|
|
1433
1436
|
|
|
1434
|
-
export const
|
|
1437
|
+
export const __wbg_clearTimeout_e9459f9a16c95539 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
|
|
1435
1438
|
|
|
1436
|
-
export function
|
|
1439
|
+
export function __wbg_setTimeout_abbb7bdc6732b95c(arg0, arg1) {
|
|
1437
1440
|
const ret = setTimeout(getObject(arg0), arg1 >>> 0);
|
|
1438
1441
|
return ret;
|
|
1439
1442
|
};
|
|
@@ -1600,6 +1603,28 @@ export function __wbg_warn_2b3adb99ce26c314(arg0) {
|
|
|
1600
1603
|
console.warn(getObject(arg0));
|
|
1601
1604
|
};
|
|
1602
1605
|
|
|
1606
|
+
export function __wbg_key_37c613728ba0b769() { return handleError(function (arg0) {
|
|
1607
|
+
const ret = getObject(arg0).key;
|
|
1608
|
+
return addHeapObject(ret);
|
|
1609
|
+
}, arguments) };
|
|
1610
|
+
|
|
1611
|
+
export function __wbg_request_3c4da92b3538e80a(arg0) {
|
|
1612
|
+
const ret = getObject(arg0).request;
|
|
1613
|
+
return addHeapObject(ret);
|
|
1614
|
+
};
|
|
1615
|
+
|
|
1616
|
+
export function __wbg_advance_0922866a23942467() { return handleError(function (arg0, arg1) {
|
|
1617
|
+
getObject(arg0).advance(arg1 >>> 0);
|
|
1618
|
+
}, arguments) };
|
|
1619
|
+
|
|
1620
|
+
export function __wbg_continue_a92b4c9f17458897() { return handleError(function (arg0) {
|
|
1621
|
+
getObject(arg0).continue();
|
|
1622
|
+
}, arguments) };
|
|
1623
|
+
|
|
1624
|
+
export function __wbg_continue_6672b1997d5c8efb() { return handleError(function (arg0, arg1) {
|
|
1625
|
+
getObject(arg0).continue(getObject(arg1));
|
|
1626
|
+
}, arguments) };
|
|
1627
|
+
|
|
1603
1628
|
export function __wbg_indexNames_f6708f233630e491(arg0) {
|
|
1604
1629
|
const ret = getObject(arg0).indexNames;
|
|
1605
1630
|
return addHeapObject(ret);
|
|
@@ -1709,28 +1734,19 @@ export function __wbg_put_f83d95662936dee7() { return handleError(function (arg0
|
|
|
1709
1734
|
return addHeapObject(ret);
|
|
1710
1735
|
}, arguments) };
|
|
1711
1736
|
|
|
1712
|
-
export function
|
|
1713
|
-
const ret = getObject(
|
|
1714
|
-
|
|
1737
|
+
export function __wbg_userAgent_58dedff4303aeb66() { return handleError(function (arg0, arg1) {
|
|
1738
|
+
const ret = getObject(arg1).userAgent;
|
|
1739
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1740
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1741
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1742
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1715
1743
|
}, arguments) };
|
|
1716
1744
|
|
|
1717
|
-
export function
|
|
1718
|
-
const ret = getObject(arg0).
|
|
1745
|
+
export function __wbg_storage_0016c19400b7c179(arg0) {
|
|
1746
|
+
const ret = getObject(arg0).storage;
|
|
1719
1747
|
return addHeapObject(ret);
|
|
1720
1748
|
};
|
|
1721
1749
|
|
|
1722
|
-
export function __wbg_advance_0922866a23942467() { return handleError(function (arg0, arg1) {
|
|
1723
|
-
getObject(arg0).advance(arg1 >>> 0);
|
|
1724
|
-
}, arguments) };
|
|
1725
|
-
|
|
1726
|
-
export function __wbg_continue_a92b4c9f17458897() { return handleError(function (arg0) {
|
|
1727
|
-
getObject(arg0).continue();
|
|
1728
|
-
}, arguments) };
|
|
1729
|
-
|
|
1730
|
-
export function __wbg_continue_6672b1997d5c8efb() { return handleError(function (arg0, arg1) {
|
|
1731
|
-
getObject(arg0).continue(getObject(arg1));
|
|
1732
|
-
}, arguments) };
|
|
1733
|
-
|
|
1734
1750
|
export function __wbg_setmethod_dc68a742c2db5c6a(arg0, arg1, arg2) {
|
|
1735
1751
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
1736
1752
|
};
|
|
@@ -1765,19 +1781,6 @@ export function __wbg_storage_947fc01a38842a90(arg0) {
|
|
|
1765
1781
|
return addHeapObject(ret);
|
|
1766
1782
|
};
|
|
1767
1783
|
|
|
1768
|
-
export function __wbg_userAgent_58dedff4303aeb66() { return handleError(function (arg0, arg1) {
|
|
1769
|
-
const ret = getObject(arg1).userAgent;
|
|
1770
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1771
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1772
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1773
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1774
|
-
}, arguments) };
|
|
1775
|
-
|
|
1776
|
-
export function __wbg_storage_0016c19400b7c179(arg0) {
|
|
1777
|
-
const ret = getObject(arg0).storage;
|
|
1778
|
-
return addHeapObject(ret);
|
|
1779
|
-
};
|
|
1780
|
-
|
|
1781
1784
|
export function __wbg_target_b7cb1739bee70928(arg0) {
|
|
1782
1785
|
const ret = getObject(arg0).target;
|
|
1783
1786
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
@@ -2599,68 +2602,68 @@ export function __wbindgen_memory() {
|
|
|
2599
2602
|
return addHeapObject(ret);
|
|
2600
2603
|
};
|
|
2601
2604
|
|
|
2602
|
-
export function
|
|
2603
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2605
|
+
export function __wbindgen_closure_wrapper786(arg0, arg1, arg2) {
|
|
2606
|
+
const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_58);
|
|
2604
2607
|
return addHeapObject(ret);
|
|
2605
2608
|
};
|
|
2606
2609
|
|
|
2607
|
-
export function
|
|
2608
|
-
const ret = makeClosure(arg0, arg1,
|
|
2610
|
+
export function __wbindgen_closure_wrapper787(arg0, arg1, arg2) {
|
|
2611
|
+
const ret = makeClosure(arg0, arg1, 217, __wbg_adapter_61);
|
|
2609
2612
|
return addHeapObject(ret);
|
|
2610
2613
|
};
|
|
2611
2614
|
|
|
2612
|
-
export function
|
|
2613
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2615
|
+
export function __wbindgen_closure_wrapper788(arg0, arg1, arg2) {
|
|
2616
|
+
const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_64);
|
|
2614
2617
|
return addHeapObject(ret);
|
|
2615
2618
|
};
|
|
2616
2619
|
|
|
2617
|
-
export function
|
|
2618
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2620
|
+
export function __wbindgen_closure_wrapper789(arg0, arg1, arg2) {
|
|
2621
|
+
const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_58);
|
|
2619
2622
|
return addHeapObject(ret);
|
|
2620
2623
|
};
|
|
2621
2624
|
|
|
2622
|
-
export function
|
|
2623
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2625
|
+
export function __wbindgen_closure_wrapper793(arg0, arg1, arg2) {
|
|
2626
|
+
const ret = makeMutClosure(arg0, arg1, 217, __wbg_adapter_58);
|
|
2624
2627
|
return addHeapObject(ret);
|
|
2625
2628
|
};
|
|
2626
2629
|
|
|
2627
|
-
export function
|
|
2628
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2630
|
+
export function __wbindgen_closure_wrapper4474(arg0, arg1, arg2) {
|
|
2631
|
+
const ret = makeMutClosure(arg0, arg1, 1478, __wbg_adapter_71);
|
|
2629
2632
|
return addHeapObject(ret);
|
|
2630
2633
|
};
|
|
2631
2634
|
|
|
2632
|
-
export function
|
|
2633
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2635
|
+
export function __wbindgen_closure_wrapper4536(arg0, arg1, arg2) {
|
|
2636
|
+
const ret = makeMutClosure(arg0, arg1, 1489, __wbg_adapter_74);
|
|
2634
2637
|
return addHeapObject(ret);
|
|
2635
2638
|
};
|
|
2636
2639
|
|
|
2637
|
-
export function
|
|
2638
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2640
|
+
export function __wbindgen_closure_wrapper5313(arg0, arg1, arg2) {
|
|
2641
|
+
const ret = makeMutClosure(arg0, arg1, 1761, __wbg_adapter_77);
|
|
2639
2642
|
return addHeapObject(ret);
|
|
2640
2643
|
};
|
|
2641
2644
|
|
|
2642
|
-
export function
|
|
2643
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2645
|
+
export function __wbindgen_closure_wrapper5366(arg0, arg1, arg2) {
|
|
2646
|
+
const ret = makeMutClosure(arg0, arg1, 1796, __wbg_adapter_80);
|
|
2644
2647
|
return addHeapObject(ret);
|
|
2645
2648
|
};
|
|
2646
2649
|
|
|
2647
|
-
export function
|
|
2648
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2650
|
+
export function __wbindgen_closure_wrapper5367(arg0, arg1, arg2) {
|
|
2651
|
+
const ret = makeMutClosure(arg0, arg1, 1796, __wbg_adapter_80);
|
|
2649
2652
|
return addHeapObject(ret);
|
|
2650
2653
|
};
|
|
2651
2654
|
|
|
2652
|
-
export function
|
|
2653
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2655
|
+
export function __wbindgen_closure_wrapper5368(arg0, arg1, arg2) {
|
|
2656
|
+
const ret = makeMutClosure(arg0, arg1, 1796, __wbg_adapter_80);
|
|
2654
2657
|
return addHeapObject(ret);
|
|
2655
2658
|
};
|
|
2656
2659
|
|
|
2657
|
-
export function
|
|
2658
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2660
|
+
export function __wbindgen_closure_wrapper7609(arg0, arg1, arg2) {
|
|
2661
|
+
const ret = makeMutClosure(arg0, arg1, 2442, __wbg_adapter_87);
|
|
2659
2662
|
return addHeapObject(ret);
|
|
2660
2663
|
};
|
|
2661
2664
|
|
|
2662
|
-
export function
|
|
2663
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2665
|
+
export function __wbindgen_closure_wrapper7717(arg0, arg1, arg2) {
|
|
2666
|
+
const ret = makeMutClosure(arg0, arg1, 2502, __wbg_adapter_90);
|
|
2664
2667
|
return addHeapObject(ret);
|
|
2665
2668
|
};
|
|
2666
2669
|
|
package/lumina_node_wasm_bg.wasm
CHANGED
|
Binary file
|