lumina-node-wasm 0.5.2 → 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.
@@ -321,6 +321,11 @@ export class NodeConfig {
321
321
  */
322
322
  bootnodes: (string)[];
323
323
  /**
324
+ * Syncing window size, defines maximum age of headers considered for syncing and sampling.
325
+ * Headers older than syncing window by more than an hour are eligible for pruning.
326
+ */
327
+ custom_syncing_window_secs?: number;
328
+ /**
324
329
  * A network to connect to.
325
330
  */
326
331
  network: Network;
@@ -24,15 +24,6 @@ function takeObject(idx) {
24
24
  return ret;
25
25
  }
26
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
27
  const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
37
28
 
38
29
  let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
@@ -53,6 +44,15 @@ function getStringFromWasm0(ptr, len) {
53
44
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
54
45
  }
55
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
56
  let WASM_VECTOR_LEN = 0;
57
57
 
58
58
  const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
@@ -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__h02e234f86d9f3d17(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__h8d5b436c3a0a35fa(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__ha1b7b75b44edb51a(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) {
@@ -276,6 +276,13 @@ function __wbg_adapter_90(arg0, arg1) {
276
276
  wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfd7b3dc357ad0445(arg0, arg1);
277
277
  }
278
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();
284
+ }
285
+
279
286
  function getArrayJsValueFromWasm0(ptr, len) {
280
287
  ptr = ptr >>> 0;
281
288
  const mem = getDataViewMemory0();
@@ -310,12 +317,6 @@ function handleError(f, args) {
310
317
  wasm.__wbindgen_exn_store(addHeapObject(e));
311
318
  }
312
319
  }
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
- }
319
320
 
320
321
  function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
321
322
 
@@ -323,7 +324,7 @@ function getArrayU8FromWasm0(ptr, len) {
323
324
  ptr = ptr >>> 0;
324
325
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
325
326
  }
326
- function __wbg_adapter_552(arg0, arg1, arg2, arg3) {
327
+ function __wbg_adapter_554(arg0, arg1, arg2, arg3) {
327
328
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h8c5038aa1a0c3164(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
328
329
  }
329
330
 
@@ -958,6 +959,7 @@ export class NodeConfig {
958
959
  return {
959
960
  network: this.network,
960
961
  bootnodes: this.bootnodes,
962
+ custom_syncing_window_secs: this.custom_syncing_window_secs,
961
963
  };
962
964
  }
963
965
 
@@ -1018,6 +1020,30 @@ export class NodeConfig {
1018
1020
  wasm.__wbg_set_nodeconfig_bootnodes(this.__wbg_ptr, ptr0, len0);
1019
1021
  }
1020
1022
  /**
1023
+ * Syncing window size, defines maximum age of headers considered for syncing and sampling.
1024
+ * Headers older than syncing window by more than an hour are eligible for pruning.
1025
+ * @returns {number | undefined}
1026
+ */
1027
+ get custom_syncing_window_secs() {
1028
+ try {
1029
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1030
+ wasm.__wbg_get_nodeconfig_custom_syncing_window_secs(retptr, this.__wbg_ptr);
1031
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1032
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1033
+ return r0 === 0 ? undefined : r1 >>> 0;
1034
+ } finally {
1035
+ wasm.__wbindgen_add_to_stack_pointer(16);
1036
+ }
1037
+ }
1038
+ /**
1039
+ * Syncing window size, defines maximum age of headers considered for syncing and sampling.
1040
+ * Headers older than syncing window by more than an hour are eligible for pruning.
1041
+ * @param {number | undefined} [arg0]
1042
+ */
1043
+ set custom_syncing_window_secs(arg0) {
1044
+ wasm.__wbg_set_nodeconfig_custom_syncing_window_secs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
1045
+ }
1046
+ /**
1021
1047
  * Get the configuration with default bootnodes for provided network
1022
1048
  * @param {Network} network
1023
1049
  * @returns {NodeConfig}
@@ -1215,17 +1241,17 @@ export class SyncingInfoSnapshot {
1215
1241
  }
1216
1242
  }
1217
1243
 
1218
- export function __wbindgen_as_number(arg0) {
1219
- const ret = +getObject(arg0);
1220
- return ret;
1221
- };
1222
-
1223
1244
  export function __wbindgen_object_drop_ref(arg0) {
1224
1245
  takeObject(arg0);
1225
1246
  };
1226
1247
 
1227
- export function __wbindgen_object_clone_ref(arg0) {
1228
- const ret = getObject(arg0);
1248
+ export function __wbindgen_string_new(arg0, arg1) {
1249
+ const ret = getStringFromWasm0(arg0, arg1);
1250
+ return addHeapObject(ret);
1251
+ };
1252
+
1253
+ export function __wbg_nodeclient_new(arg0) {
1254
+ const ret = NodeClient.__wrap(arg0);
1229
1255
  return addHeapObject(ret);
1230
1256
  };
1231
1257
 
@@ -1234,14 +1260,35 @@ export function __wbg_networkinfosnapshot_new(arg0) {
1234
1260
  return addHeapObject(ret);
1235
1261
  };
1236
1262
 
1237
- export function __wbg_peertrackerinfosnapshot_new(arg0) {
1238
- const ret = PeerTrackerInfoSnapshot.__wrap(arg0);
1239
- return addHeapObject(ret);
1263
+ export function __wbindgen_string_get(arg0, arg1) {
1264
+ const obj = getObject(arg1);
1265
+ const ret = typeof(obj) === 'string' ? obj : undefined;
1266
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1267
+ var len1 = WASM_VECTOR_LEN;
1268
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1269
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1240
1270
  };
1241
1271
 
1242
- export function __wbg_blockrange_new(arg0) {
1243
- const ret = BlockRange.__wrap(arg0);
1244
- return addHeapObject(ret);
1272
+ export function __wbindgen_cb_drop(arg0) {
1273
+ const obj = takeObject(arg0).original;
1274
+ if (obj.cnt-- == 1) {
1275
+ obj.a = 0;
1276
+ return true;
1277
+ }
1278
+ const ret = false;
1279
+ return ret;
1280
+ };
1281
+
1282
+ export function __wbindgen_is_falsy(arg0) {
1283
+ const ret = !getObject(arg0);
1284
+ return ret;
1285
+ };
1286
+
1287
+ export function __wbindgen_number_get(arg0, arg1) {
1288
+ const obj = getObject(arg1);
1289
+ const ret = typeof(obj) === 'number' ? obj : undefined;
1290
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1291
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1245
1292
  };
1246
1293
 
1247
1294
  export function __wbindgen_number_new(arg0) {
@@ -1249,14 +1296,24 @@ export function __wbindgen_number_new(arg0) {
1249
1296
  return addHeapObject(ret);
1250
1297
  };
1251
1298
 
1252
- export function __wbg_syncinginfosnapshot_new(arg0) {
1253
- const ret = SyncingInfoSnapshot.__wrap(arg0);
1299
+ export function __wbindgen_as_number(arg0) {
1300
+ const ret = +getObject(arg0);
1301
+ return ret;
1302
+ };
1303
+
1304
+ export function __wbindgen_object_clone_ref(arg0) {
1305
+ const ret = getObject(arg0);
1254
1306
  return addHeapObject(ret);
1255
1307
  };
1256
1308
 
1257
- export function __wbindgen_is_string(arg0) {
1258
- const ret = typeof(getObject(arg0)) === 'string';
1259
- return ret;
1309
+ export function __wbg_fetch_05b7a49a7cb3b99e(arg0) {
1310
+ const ret = fetch(getObject(arg0));
1311
+ return addHeapObject(ret);
1312
+ };
1313
+
1314
+ export function __wbindgen_typeof(arg0) {
1315
+ const ret = typeof getObject(arg0);
1316
+ return addHeapObject(ret);
1260
1317
  };
1261
1318
 
1262
1319
  export function __wbindgen_error_new(arg0, arg1) {
@@ -1264,38 +1321,28 @@ export function __wbindgen_error_new(arg0, arg1) {
1264
1321
  return addHeapObject(ret);
1265
1322
  };
1266
1323
 
1267
- export function __wbindgen_cb_drop(arg0) {
1268
- const obj = takeObject(arg0).original;
1269
- if (obj.cnt-- == 1) {
1270
- obj.a = 0;
1271
- return true;
1272
- }
1273
- const ret = false;
1274
- return ret;
1275
- };
1324
+ export function __wbg_postMessage_cd0c0907a60ebc3d() { return handleError(function (arg0, arg1) {
1325
+ getObject(arg0).postMessage(getObject(arg1));
1326
+ }, arguments) };
1276
1327
 
1277
- export function __wbindgen_is_array(arg0) {
1278
- const ret = Array.isArray(getObject(arg0));
1328
+ export function __wbg_blockrange_unwrap(arg0) {
1329
+ const ret = BlockRange.__unwrap(takeObject(arg0));
1279
1330
  return ret;
1280
1331
  };
1281
1332
 
1282
- export function __wbindgen_is_undefined(arg0) {
1283
- const ret = getObject(arg0) === undefined;
1284
- return ret;
1333
+ export function __wbg_blockrange_new(arg0) {
1334
+ const ret = BlockRange.__wrap(arg0);
1335
+ return addHeapObject(ret);
1285
1336
  };
1286
1337
 
1287
- export function __wbg_nodeclient_new(arg0) {
1288
- const ret = NodeClient.__wrap(arg0);
1338
+ export function __wbg_peertrackerinfosnapshot_new(arg0) {
1339
+ const ret = PeerTrackerInfoSnapshot.__wrap(arg0);
1289
1340
  return addHeapObject(ret);
1290
1341
  };
1291
1342
 
1292
- export function __wbindgen_string_get(arg0, arg1) {
1293
- const obj = getObject(arg1);
1294
- const ret = typeof(obj) === 'string' ? obj : undefined;
1295
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1296
- var len1 = WASM_VECTOR_LEN;
1297
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1298
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1343
+ export function __wbg_syncinginfosnapshot_new(arg0) {
1344
+ const ret = SyncingInfoSnapshot.__wrap(arg0);
1345
+ return addHeapObject(ret);
1299
1346
  };
1300
1347
 
1301
1348
  export function __wbindgen_is_object(arg0) {
@@ -1304,38 +1351,17 @@ export function __wbindgen_is_object(arg0) {
1304
1351
  return ret;
1305
1352
  };
1306
1353
 
1307
- export function __wbg_postMessage_aeb9de3275c03486() { return handleError(function (arg0, arg1) {
1308
- getObject(arg0).postMessage(getObject(arg1));
1309
- }, arguments) };
1310
-
1311
- export function __wbindgen_string_new(arg0, arg1) {
1312
- const ret = getStringFromWasm0(arg0, arg1);
1313
- return addHeapObject(ret);
1314
- };
1315
-
1316
1354
  export function __wbindgen_boolean_get(arg0) {
1317
1355
  const v = getObject(arg0);
1318
1356
  const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1319
1357
  return ret;
1320
1358
  };
1321
1359
 
1322
- export function __wbindgen_typeof(arg0) {
1323
- const ret = typeof getObject(arg0);
1324
- return addHeapObject(ret);
1325
- };
1326
-
1327
1360
  export function __wbindgen_is_bigint(arg0) {
1328
1361
  const ret = typeof(getObject(arg0)) === 'bigint';
1329
1362
  return ret;
1330
1363
  };
1331
1364
 
1332
- export function __wbindgen_number_get(arg0, arg1) {
1333
- const obj = getObject(arg1);
1334
- const ret = typeof(obj) === 'number' ? obj : undefined;
1335
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1336
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1337
- };
1338
-
1339
1365
  export function __wbindgen_in(arg0, arg1) {
1340
1366
  const ret = getObject(arg0) in getObject(arg1);
1341
1367
  return ret;
@@ -1356,28 +1382,28 @@ export function __wbindgen_bigint_from_u64(arg0) {
1356
1382
  return addHeapObject(ret);
1357
1383
  };
1358
1384
 
1359
- export function __wbindgen_is_function(arg0) {
1360
- const ret = typeof(getObject(arg0)) === 'function';
1385
+ export function __wbindgen_is_string(arg0) {
1386
+ const ret = typeof(getObject(arg0)) === 'string';
1361
1387
  return ret;
1362
1388
  };
1363
1389
 
1364
- export function __wbg_postMessage_bcd61e7fb741ea21() { return handleError(function (arg0, arg1, arg2) {
1365
- getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
1366
- }, arguments) };
1367
-
1368
- export function __wbg_blockrange_unwrap(arg0) {
1369
- const ret = BlockRange.__unwrap(takeObject(arg0));
1390
+ export function __wbindgen_is_undefined(arg0) {
1391
+ const ret = getObject(arg0) === undefined;
1370
1392
  return ret;
1371
1393
  };
1372
1394
 
1373
- export function __wbindgen_is_falsy(arg0) {
1374
- const ret = !getObject(arg0);
1395
+ export function __wbindgen_is_function(arg0) {
1396
+ const ret = typeof(getObject(arg0)) === 'function';
1375
1397
  return ret;
1376
1398
  };
1377
1399
 
1378
- export function __wbg_fetch_d5e57b9b8f8a2994(arg0) {
1379
- const ret = fetch(getObject(arg0));
1380
- return addHeapObject(ret);
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;
1381
1407
  };
1382
1408
 
1383
1409
  export function __wbg_new_abda76e883ba8a5f() {
@@ -1405,9 +1431,9 @@ export function __wbg_error_f851667af71bcfc6(arg0, arg1) {
1405
1431
  }
1406
1432
  };
1407
1433
 
1408
- export const __wbg_clearTimeout_dcd8af0d51e990da = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
1434
+ export const __wbg_clearTimeout_77d17409d32367b8 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
1409
1435
 
1410
- export function __wbg_setTimeout_7a10a7e4d1273797(arg0, arg1) {
1436
+ export function __wbg_setTimeout_1b72fc83f0fed9e8(arg0, arg1) {
1411
1437
  const ret = setTimeout(getObject(arg0), arg1 >>> 0);
1412
1438
  return ret;
1413
1439
  };
@@ -2445,7 +2471,7 @@ export function __wbg_new_b85e72ed1bfd57f9(arg0, arg1) {
2445
2471
  const a = state0.a;
2446
2472
  state0.a = 0;
2447
2473
  try {
2448
- return __wbg_adapter_552(a, state0.b, arg0, arg1);
2474
+ return __wbg_adapter_554(a, state0.b, arg0, arg1);
2449
2475
  } finally {
2450
2476
  state0.a = a;
2451
2477
  }
@@ -2573,68 +2599,68 @@ export function __wbindgen_memory() {
2573
2599
  return addHeapObject(ret);
2574
2600
  };
2575
2601
 
2576
- export function __wbindgen_closure_wrapper1235(arg0, arg1, arg2) {
2577
- const ret = makeMutClosure(arg0, arg1, 381, __wbg_adapter_58);
2602
+ export function __wbindgen_closure_wrapper1415(arg0, arg1, arg2) {
2603
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2578
2604
  return addHeapObject(ret);
2579
2605
  };
2580
2606
 
2581
- export function __wbindgen_closure_wrapper1236(arg0, arg1, arg2) {
2582
- const ret = makeClosure(arg0, arg1, 381, __wbg_adapter_61);
2607
+ export function __wbindgen_closure_wrapper1416(arg0, arg1, arg2) {
2608
+ const ret = makeClosure(arg0, arg1, 417, __wbg_adapter_61);
2583
2609
  return addHeapObject(ret);
2584
2610
  };
2585
2611
 
2586
- export function __wbindgen_closure_wrapper1237(arg0, arg1, arg2) {
2587
- const ret = makeMutClosure(arg0, arg1, 381, __wbg_adapter_64);
2612
+ export function __wbindgen_closure_wrapper1417(arg0, arg1, arg2) {
2613
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_64);
2588
2614
  return addHeapObject(ret);
2589
2615
  };
2590
2616
 
2591
- export function __wbindgen_closure_wrapper1241(arg0, arg1, arg2) {
2592
- const ret = makeMutClosure(arg0, arg1, 381, __wbg_adapter_58);
2617
+ export function __wbindgen_closure_wrapper1419(arg0, arg1, arg2) {
2618
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2593
2619
  return addHeapObject(ret);
2594
2620
  };
2595
2621
 
2596
- export function __wbindgen_closure_wrapper1243(arg0, arg1, arg2) {
2597
- const ret = makeMutClosure(arg0, arg1, 381, __wbg_adapter_58);
2622
+ export function __wbindgen_closure_wrapper1421(arg0, arg1, arg2) {
2623
+ const ret = makeMutClosure(arg0, arg1, 417, __wbg_adapter_58);
2598
2624
  return addHeapObject(ret);
2599
2625
  };
2600
2626
 
2601
- export function __wbindgen_closure_wrapper4493(arg0, arg1, arg2) {
2602
- const ret = makeMutClosure(arg0, arg1, 1486, __wbg_adapter_71);
2627
+ export function __wbindgen_closure_wrapper4509(arg0, arg1, arg2) {
2628
+ const ret = makeMutClosure(arg0, arg1, 1484, __wbg_adapter_71);
2603
2629
  return addHeapObject(ret);
2604
2630
  };
2605
2631
 
2606
- export function __wbindgen_closure_wrapper4547(arg0, arg1, arg2) {
2607
- const ret = makeMutClosure(arg0, arg1, 1491, __wbg_adapter_74);
2632
+ export function __wbindgen_closure_wrapper4563(arg0, arg1, arg2) {
2633
+ const ret = makeMutClosure(arg0, arg1, 1489, __wbg_adapter_74);
2608
2634
  return addHeapObject(ret);
2609
2635
  };
2610
2636
 
2611
- export function __wbindgen_closure_wrapper5374(arg0, arg1, arg2) {
2612
- const ret = makeMutClosure(arg0, arg1, 1844, __wbg_adapter_77);
2637
+ export function __wbindgen_closure_wrapper5390(arg0, arg1, arg2) {
2638
+ const ret = makeMutClosure(arg0, arg1, 1842, __wbg_adapter_77);
2613
2639
  return addHeapObject(ret);
2614
2640
  };
2615
2641
 
2616
- export function __wbindgen_closure_wrapper5441(arg0, arg1, arg2) {
2617
- const ret = makeMutClosure(arg0, arg1, 1885, __wbg_adapter_80);
2642
+ export function __wbindgen_closure_wrapper5457(arg0, arg1, arg2) {
2643
+ const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2618
2644
  return addHeapObject(ret);
2619
2645
  };
2620
2646
 
2621
- export function __wbindgen_closure_wrapper5442(arg0, arg1, arg2) {
2622
- const ret = makeMutClosure(arg0, arg1, 1885, __wbg_adapter_80);
2647
+ export function __wbindgen_closure_wrapper5458(arg0, arg1, arg2) {
2648
+ const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2623
2649
  return addHeapObject(ret);
2624
2650
  };
2625
2651
 
2626
- export function __wbindgen_closure_wrapper5443(arg0, arg1, arg2) {
2627
- const ret = makeMutClosure(arg0, arg1, 1885, __wbg_adapter_80);
2652
+ export function __wbindgen_closure_wrapper5459(arg0, arg1, arg2) {
2653
+ const ret = makeMutClosure(arg0, arg1, 1883, __wbg_adapter_80);
2628
2654
  return addHeapObject(ret);
2629
2655
  };
2630
2656
 
2631
- export function __wbindgen_closure_wrapper7675(arg0, arg1, arg2) {
2632
- const ret = makeMutClosure(arg0, arg1, 2524, __wbg_adapter_87);
2657
+ export function __wbindgen_closure_wrapper7691(arg0, arg1, arg2) {
2658
+ const ret = makeMutClosure(arg0, arg1, 2522, __wbg_adapter_87);
2633
2659
  return addHeapObject(ret);
2634
2660
  };
2635
2661
 
2636
- export function __wbindgen_closure_wrapper7783(arg0, arg1, arg2) {
2637
- const ret = makeMutClosure(arg0, arg1, 2584, __wbg_adapter_90);
2662
+ export function __wbindgen_closure_wrapper7799(arg0, arg1, arg2) {
2663
+ const ret = makeMutClosure(arg0, arg1, 2582, __wbg_adapter_90);
2638
2664
  return addHeapObject(ret);
2639
2665
  };
2640
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.5.2",
8
+ "version": "0.6.1",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",