lumina-node-wasm 0.6.0 → 0.6.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.
@@ -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._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbfd81b5c794bf63e(arg0, arg1, addHeapObject(arg2));
223
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8c4716d8682f25a0(arg0, arg1, addHeapObject(arg2));
224
224
  }
225
225
 
226
226
  function makeClosure(arg0, arg1, dtor, f) {
@@ -245,11 +245,11 @@ function makeClosure(arg0, arg1, dtor, f) {
245
245
  return real;
246
246
  }
247
247
  function __wbg_adapter_61(arg0, arg1, arg2) {
248
- wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hde48d2ad8cb59180(arg0, arg1, addHeapObject(arg2));
248
+ wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf6edfb69323f578f(arg0, arg1, addHeapObject(arg2));
249
249
  }
250
250
 
251
251
  function __wbg_adapter_64(arg0, arg1) {
252
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1f290ae18a2749d4(arg0, arg1);
252
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdc3034e24a77735b(arg0, arg1);
253
253
  }
254
254
 
255
255
  function __wbg_adapter_71(arg0, arg1, arg2) {
@@ -1250,13 +1250,13 @@ export function __wbindgen_string_new(arg0, arg1) {
1250
1250
  return addHeapObject(ret);
1251
1251
  };
1252
1252
 
1253
- export function __wbg_networkinfosnapshot_new(arg0) {
1254
- const ret = NetworkInfoSnapshot.__wrap(arg0);
1253
+ export function __wbg_nodeclient_new(arg0) {
1254
+ const ret = NodeClient.__wrap(arg0);
1255
1255
  return addHeapObject(ret);
1256
1256
  };
1257
1257
 
1258
- export function __wbg_nodeclient_new(arg0) {
1259
- const ret = NodeClient.__wrap(arg0);
1258
+ export function __wbg_networkinfosnapshot_new(arg0) {
1259
+ const ret = NetworkInfoSnapshot.__wrap(arg0);
1260
1260
  return addHeapObject(ret);
1261
1261
  };
1262
1262
 
@@ -1269,11 +1269,6 @@ export function __wbindgen_string_get(arg0, arg1) {
1269
1269
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1270
1270
  };
1271
1271
 
1272
- export function __wbindgen_is_falsy(arg0) {
1273
- const ret = !getObject(arg0);
1274
- return ret;
1275
- };
1276
-
1277
1272
  export function __wbindgen_cb_drop(arg0) {
1278
1273
  const obj = takeObject(arg0).original;
1279
1274
  if (obj.cnt-- == 1) {
@@ -1284,6 +1279,11 @@ export function __wbindgen_cb_drop(arg0) {
1284
1279
  return ret;
1285
1280
  };
1286
1281
 
1282
+ export function __wbindgen_is_falsy(arg0) {
1283
+ const ret = !getObject(arg0);
1284
+ return ret;
1285
+ };
1286
+
1287
1287
  export function __wbindgen_number_get(arg0, arg1) {
1288
1288
  const obj = getObject(arg1);
1289
1289
  const ret = typeof(obj) === 'number' ? obj : undefined;
@@ -1306,76 +1306,57 @@ export function __wbindgen_object_clone_ref(arg0) {
1306
1306
  return addHeapObject(ret);
1307
1307
  };
1308
1308
 
1309
- export function __wbg_fetch_33a1be9f1d2bd1a3(arg0) {
1309
+ export function __wbg_fetch_05b7a49a7cb3b99e(arg0) {
1310
1310
  const ret = fetch(getObject(arg0));
1311
1311
  return addHeapObject(ret);
1312
1312
  };
1313
1313
 
1314
- export function __wbg_syncinginfosnapshot_new(arg0) {
1315
- const ret = SyncingInfoSnapshot.__wrap(arg0);
1316
- return addHeapObject(ret);
1317
- };
1318
-
1319
- export function __wbg_peertrackerinfosnapshot_new(arg0) {
1320
- const ret = PeerTrackerInfoSnapshot.__wrap(arg0);
1321
- return addHeapObject(ret);
1322
- };
1323
-
1324
- export function __wbg_blockrange_new(arg0) {
1325
- const ret = BlockRange.__wrap(arg0);
1314
+ export function __wbindgen_typeof(arg0) {
1315
+ const ret = typeof getObject(arg0);
1326
1316
  return addHeapObject(ret);
1327
1317
  };
1328
1318
 
1329
- export function __wbindgen_is_object(arg0) {
1330
- const val = getObject(arg0);
1331
- const ret = typeof(val) === 'object' && val !== null;
1332
- return ret;
1333
- };
1334
-
1335
1319
  export function __wbindgen_error_new(arg0, arg1) {
1336
1320
  const ret = new Error(getStringFromWasm0(arg0, arg1));
1337
1321
  return addHeapObject(ret);
1338
1322
  };
1339
1323
 
1340
- export function __wbindgen_boolean_get(arg0) {
1341
- const v = getObject(arg0);
1342
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1324
+ export function __wbg_postMessage_cd0c0907a60ebc3d() { return handleError(function (arg0, arg1) {
1325
+ getObject(arg0).postMessage(getObject(arg1));
1326
+ }, arguments) };
1327
+
1328
+ export function __wbg_blockrange_unwrap(arg0) {
1329
+ const ret = BlockRange.__unwrap(takeObject(arg0));
1343
1330
  return ret;
1344
1331
  };
1345
1332
 
1346
- export function __wbindgen_typeof(arg0) {
1347
- const ret = typeof getObject(arg0);
1333
+ export function __wbg_blockrange_new(arg0) {
1334
+ const ret = BlockRange.__wrap(arg0);
1348
1335
  return addHeapObject(ret);
1349
1336
  };
1350
1337
 
1351
- export function __wbindgen_is_string(arg0) {
1352
- const ret = typeof(getObject(arg0)) === 'string';
1353
- return ret;
1338
+ export function __wbg_peertrackerinfosnapshot_new(arg0) {
1339
+ const ret = PeerTrackerInfoSnapshot.__wrap(arg0);
1340
+ return addHeapObject(ret);
1354
1341
  };
1355
1342
 
1356
- export function __wbindgen_is_array(arg0) {
1357
- const ret = Array.isArray(getObject(arg0));
1358
- return ret;
1343
+ export function __wbg_syncinginfosnapshot_new(arg0) {
1344
+ const ret = SyncingInfoSnapshot.__wrap(arg0);
1345
+ return addHeapObject(ret);
1359
1346
  };
1360
1347
 
1361
- export function __wbindgen_is_undefined(arg0) {
1362
- const ret = getObject(arg0) === undefined;
1348
+ export function __wbindgen_is_object(arg0) {
1349
+ const val = getObject(arg0);
1350
+ const ret = typeof(val) === 'object' && val !== null;
1363
1351
  return ret;
1364
1352
  };
1365
1353
 
1366
- export function __wbg_blockrange_unwrap(arg0) {
1367
- const ret = BlockRange.__unwrap(takeObject(arg0));
1354
+ export function __wbindgen_boolean_get(arg0) {
1355
+ const v = getObject(arg0);
1356
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1368
1357
  return ret;
1369
1358
  };
1370
1359
 
1371
- export function __wbg_postMessage_b3c0c3ade48a5b45() { return handleError(function (arg0, arg1, arg2) {
1372
- getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
1373
- }, arguments) };
1374
-
1375
- export function __wbg_postMessage_d48889bd7f9a3ccf() { return handleError(function (arg0, arg1) {
1376
- getObject(arg0).postMessage(getObject(arg1));
1377
- }, arguments) };
1378
-
1379
1360
  export function __wbindgen_is_bigint(arg0) {
1380
1361
  const ret = typeof(getObject(arg0)) === 'bigint';
1381
1362
  return ret;
@@ -1401,11 +1382,30 @@ export function __wbindgen_bigint_from_u64(arg0) {
1401
1382
  return addHeapObject(ret);
1402
1383
  };
1403
1384
 
1385
+ export function __wbindgen_is_string(arg0) {
1386
+ const ret = typeof(getObject(arg0)) === 'string';
1387
+ return ret;
1388
+ };
1389
+
1390
+ export function __wbindgen_is_undefined(arg0) {
1391
+ const ret = getObject(arg0) === undefined;
1392
+ return ret;
1393
+ };
1394
+
1404
1395
  export function __wbindgen_is_function(arg0) {
1405
1396
  const ret = typeof(getObject(arg0)) === 'function';
1406
1397
  return ret;
1407
1398
  };
1408
1399
 
1400
+ export function __wbg_postMessage_39bc17bc10e98844() { return handleError(function (arg0, arg1, arg2) {
1401
+ getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
1402
+ }, arguments) };
1403
+
1404
+ export function __wbindgen_is_array(arg0) {
1405
+ const ret = Array.isArray(getObject(arg0));
1406
+ return ret;
1407
+ };
1408
+
1409
1409
  export function __wbg_new_abda76e883ba8a5f() {
1410
1410
  const ret = new Error();
1411
1411
  return addHeapObject(ret);
@@ -1431,9 +1431,9 @@ export function __wbg_error_f851667af71bcfc6(arg0, arg1) {
1431
1431
  }
1432
1432
  };
1433
1433
 
1434
- export const __wbg_clearTimeout_f5326e407f6fe147 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
1434
+ export const __wbg_clearTimeout_77d17409d32367b8 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
1435
1435
 
1436
- export function __wbg_setTimeout_c6fae422f0e60db3(arg0, arg1) {
1436
+ export function __wbg_setTimeout_1b72fc83f0fed9e8(arg0, arg1) {
1437
1437
  const ret = setTimeout(getObject(arg0), arg1 >>> 0);
1438
1438
  return ret;
1439
1439
  };
@@ -2599,68 +2599,68 @@ export function __wbindgen_memory() {
2599
2599
  return addHeapObject(ret);
2600
2600
  };
2601
2601
 
2602
- export function __wbindgen_closure_wrapper2662(arg0, arg1, arg2) {
2603
- const ret = makeMutClosure(arg0, arg1, 797, __wbg_adapter_58);
2602
+ export function __wbindgen_closure_wrapper1415(arg0, arg1, arg2) {
2603
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2604
2604
  return addHeapObject(ret);
2605
2605
  };
2606
2606
 
2607
- export function __wbindgen_closure_wrapper2663(arg0, arg1, arg2) {
2608
- const ret = makeClosure(arg0, arg1, 797, __wbg_adapter_61);
2607
+ export function __wbindgen_closure_wrapper1416(arg0, arg1, arg2) {
2608
+ const ret = makeClosure(arg0, arg1, 417, __wbg_adapter_61);
2609
2609
  return addHeapObject(ret);
2610
2610
  };
2611
2611
 
2612
- export function __wbindgen_closure_wrapper2664(arg0, arg1, arg2) {
2613
- const ret = makeMutClosure(arg0, arg1, 797, __wbg_adapter_64);
2612
+ export function __wbindgen_closure_wrapper1417(arg0, arg1, arg2) {
2613
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_64);
2614
2614
  return addHeapObject(ret);
2615
2615
  };
2616
2616
 
2617
- export function __wbindgen_closure_wrapper2665(arg0, arg1, arg2) {
2618
- const ret = makeMutClosure(arg0, arg1, 797, __wbg_adapter_58);
2617
+ export function __wbindgen_closure_wrapper1419(arg0, arg1, arg2) {
2618
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2619
2619
  return addHeapObject(ret);
2620
2620
  };
2621
2621
 
2622
- export function __wbindgen_closure_wrapper2667(arg0, arg1, arg2) {
2623
- const ret = makeMutClosure(arg0, arg1, 797, __wbg_adapter_58);
2622
+ export function __wbindgen_closure_wrapper1421(arg0, arg1, arg2) {
2623
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2624
2624
  return addHeapObject(ret);
2625
2625
  };
2626
2626
 
2627
- export function __wbindgen_closure_wrapper4522(arg0, arg1, arg2) {
2628
- const ret = makeMutClosure(arg0, arg1, 1481, __wbg_adapter_71);
2627
+ export function __wbindgen_closure_wrapper4509(arg0, arg1, arg2) {
2628
+ const ret = makeMutClosure(arg0, arg1, 1484, __wbg_adapter_71);
2629
2629
  return addHeapObject(ret);
2630
2630
  };
2631
2631
 
2632
- export function __wbindgen_closure_wrapper4576(arg0, arg1, arg2) {
2633
- const ret = makeMutClosure(arg0, arg1, 1486, __wbg_adapter_74);
2632
+ export function __wbindgen_closure_wrapper4563(arg0, arg1, arg2) {
2633
+ const ret = makeMutClosure(arg0, arg1, 1489, __wbg_adapter_74);
2634
2634
  return addHeapObject(ret);
2635
2635
  };
2636
2636
 
2637
- export function __wbindgen_closure_wrapper5403(arg0, arg1, arg2) {
2638
- const ret = makeMutClosure(arg0, arg1, 1839, __wbg_adapter_77);
2637
+ export function __wbindgen_closure_wrapper5390(arg0, arg1, arg2) {
2638
+ const ret = makeMutClosure(arg0, arg1, 1842, __wbg_adapter_77);
2639
2639
  return addHeapObject(ret);
2640
2640
  };
2641
2641
 
2642
- export function __wbindgen_closure_wrapper5470(arg0, arg1, arg2) {
2643
- const ret = makeMutClosure(arg0, arg1, 1880, __wbg_adapter_80);
2642
+ export function __wbindgen_closure_wrapper5457(arg0, arg1, arg2) {
2643
+ const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2644
2644
  return addHeapObject(ret);
2645
2645
  };
2646
2646
 
2647
- export function __wbindgen_closure_wrapper5471(arg0, arg1, arg2) {
2648
- const ret = makeMutClosure(arg0, arg1, 1880, __wbg_adapter_80);
2647
+ export function __wbindgen_closure_wrapper5458(arg0, arg1, arg2) {
2648
+ const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2649
2649
  return addHeapObject(ret);
2650
2650
  };
2651
2651
 
2652
- export function __wbindgen_closure_wrapper5472(arg0, arg1, arg2) {
2653
- const ret = makeMutClosure(arg0, arg1, 1880, __wbg_adapter_80);
2652
+ export function __wbindgen_closure_wrapper5459(arg0, arg1, arg2) {
2653
+ const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2654
2654
  return addHeapObject(ret);
2655
2655
  };
2656
2656
 
2657
- export function __wbindgen_closure_wrapper7704(arg0, arg1, arg2) {
2658
- const ret = makeMutClosure(arg0, arg1, 2519, __wbg_adapter_87);
2657
+ export function __wbindgen_closure_wrapper7691(arg0, arg1, arg2) {
2658
+ const ret = makeMutClosure(arg0, arg1, 2522, __wbg_adapter_87);
2659
2659
  return addHeapObject(ret);
2660
2660
  };
2661
2661
 
2662
- export function __wbindgen_closure_wrapper7812(arg0, arg1, arg2) {
2663
- const ret = makeMutClosure(arg0, arg1, 2579, __wbg_adapter_90);
2662
+ export function __wbindgen_closure_wrapper7799(arg0, arg1, arg2) {
2663
+ const ret = makeMutClosure(arg0, arg1, 2582, __wbg_adapter_90);
2664
2664
  return addHeapObject(ret);
2665
2665
  };
2666
2666
 
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Eiger <hello@eiger.co>"
6
6
  ],
7
7
  "description": "Browser compatibility layer for the Lumina node",
8
- "version": "0.6.0",
8
+ "version": "0.6.1",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",