saito-wasm 0.2.92 → 0.2.94

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/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "saito-wasm"
3
- version = "0.2.92"
3
+ version = "0.2.94"
4
4
  edition = "2021"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.92",
3
+ "version": "0.2.94",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
@@ -239,6 +239,10 @@ export function produce_block_with_gt(): Promise<boolean>;
239
239
  */
240
240
  export function produce_block_without_gt(): Promise<boolean>;
241
241
  /**
242
+ * @returns {Promise<string>}
243
+ */
244
+ export function get_stats(): Promise<string>;
245
+ /**
242
246
  */
243
247
  export class SaitoWasm {
244
248
  free(): void;
@@ -699,6 +703,11 @@ export class WasmSlip {
699
703
  }
700
704
  /**
701
705
  */
706
+ export class WasmStats {
707
+ free(): void;
708
+ }
709
+ /**
710
+ */
702
711
  export class WasmTransaction {
703
712
  free(): void;
704
713
  /**
package/pkg/node/index.js CHANGED
@@ -1,17 +1,26 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-2187a02a2c243eb8/js/msg_handler.js`);
5
- const { TextEncoder, TextDecoder } = require(`util`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-c7a7e3d47d523d79/js/msg_handler.js`);
5
+ const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
8
8
 
9
9
  heap.push(undefined, null, true, false);
10
10
 
11
- function getObject(idx) { return heap[idx]; }
12
-
13
11
  let heap_next = heap.length;
14
12
 
13
+ function addHeapObject(obj) {
14
+ if (heap_next === heap.length) heap.push(heap.length + 1);
15
+ const idx = heap_next;
16
+ heap_next = heap[idx];
17
+
18
+ heap[idx] = obj;
19
+ return idx;
20
+ }
21
+
22
+ function getObject(idx) { return heap[idx]; }
23
+
15
24
  function dropObject(idx) {
16
25
  if (idx < 132) return;
17
26
  heap[idx] = heap_next;
@@ -24,7 +33,9 @@ function takeObject(idx) {
24
33
  return ret;
25
34
  }
26
35
 
27
- let WASM_VECTOR_LEN = 0;
36
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
37
+
38
+ cachedTextDecoder.decode();
28
39
 
29
40
  let cachedUint8Memory0 = null;
30
41
 
@@ -35,6 +46,13 @@ function getUint8Memory0() {
35
46
  return cachedUint8Memory0;
36
47
  }
37
48
 
49
+ function getStringFromWasm0(ptr, len) {
50
+ ptr = ptr >>> 0;
51
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
52
+ }
53
+
54
+ let WASM_VECTOR_LEN = 0;
55
+
38
56
  let cachedTextEncoder = new TextEncoder('utf-8');
39
57
 
40
58
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -102,24 +120,6 @@ function getInt32Memory0() {
102
120
  return cachedInt32Memory0;
103
121
  }
104
122
 
105
- function addHeapObject(obj) {
106
- if (heap_next === heap.length) heap.push(heap.length + 1);
107
- const idx = heap_next;
108
- heap_next = heap[idx];
109
-
110
- heap[idx] = obj;
111
- return idx;
112
- }
113
-
114
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
115
-
116
- cachedTextDecoder.decode();
117
-
118
- function getStringFromWasm0(ptr, len) {
119
- ptr = ptr >>> 0;
120
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
121
- }
122
-
123
123
  let cachedFloat64Memory0 = null;
124
124
 
125
125
  function getFloat64Memory0() {
@@ -228,12 +228,12 @@ function __wbg_adapter_38(arg0, arg1, arg2) {
228
228
  wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h575b308e3e106cb6(arg0, arg1, addHeapObject(arg2));
229
229
  }
230
230
 
231
- function handleError(f, args) {
232
- try {
233
- return f.apply(this, args);
234
- } catch (e) {
235
- wasm.__wbindgen_exn_store(addHeapObject(e));
236
- }
231
+ let stack_pointer = 128;
232
+
233
+ function addBorrowedObject(obj) {
234
+ if (stack_pointer == 1) throw new Error('out of js stack');
235
+ heap[--stack_pointer] = obj;
236
+ return stack_pointer;
237
237
  }
238
238
 
239
239
  function _assertClass(instance, klass) {
@@ -243,12 +243,12 @@ function _assertClass(instance, klass) {
243
243
  return instance.ptr;
244
244
  }
245
245
 
246
- let stack_pointer = 128;
247
-
248
- function addBorrowedObject(obj) {
249
- if (stack_pointer == 1) throw new Error('out of js stack');
250
- heap[--stack_pointer] = obj;
251
- return stack_pointer;
246
+ function handleError(f, args) {
247
+ try {
248
+ return f.apply(this, args);
249
+ } catch (e) {
250
+ wasm.__wbindgen_exn_store(addHeapObject(e));
251
+ }
252
252
  }
253
253
  /**
254
254
  * @param {string} json
@@ -681,7 +681,15 @@ module.exports.produce_block_without_gt = function() {
681
681
  return takeObject(ret);
682
682
  };
683
683
 
684
- function __wbg_adapter_418(arg0, arg1, arg2, arg3) {
684
+ /**
685
+ * @returns {Promise<string>}
686
+ */
687
+ module.exports.get_stats = function() {
688
+ const ret = wasm.get_stats();
689
+ return takeObject(ret);
690
+ };
691
+
692
+ function __wbg_adapter_419(arg0, arg1, arg2, arg3) {
685
693
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h1d2fe914d97897fe(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
686
694
  }
687
695
 
@@ -2048,6 +2056,27 @@ class WasmSlip {
2048
2056
  }
2049
2057
  module.exports.WasmSlip = WasmSlip;
2050
2058
 
2059
+ const WasmStatsFinalization = (typeof FinalizationRegistry === 'undefined')
2060
+ ? { register: () => {}, unregister: () => {} }
2061
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmstats_free(ptr >>> 0));
2062
+ /**
2063
+ */
2064
+ class WasmStats {
2065
+
2066
+ __destroy_into_raw() {
2067
+ const ptr = this.__wbg_ptr;
2068
+ this.__wbg_ptr = 0;
2069
+ WasmStatsFinalization.unregister(this);
2070
+ return ptr;
2071
+ }
2072
+
2073
+ free() {
2074
+ const ptr = this.__destroy_into_raw();
2075
+ wasm.__wbg_wasmstats_free(ptr);
2076
+ }
2077
+ }
2078
+ module.exports.WasmStats = WasmStats;
2079
+
2051
2080
  const WasmTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
2052
2081
  ? { register: () => {}, unregister: () => {} }
2053
2082
  : new FinalizationRegistry(ptr => wasm.__wbg_wasmtransaction_free(ptr >>> 0));
@@ -2518,26 +2547,22 @@ class WasmWalletSlip {
2518
2547
  }
2519
2548
  module.exports.WasmWalletSlip = WasmWalletSlip;
2520
2549
 
2521
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
2522
- takeObject(arg0);
2550
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2551
+ const ret = BigInt.asUintN(64, arg0);
2552
+ return addHeapObject(ret);
2523
2553
  };
2524
2554
 
2525
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
2526
- const obj = getObject(arg1);
2527
- const ret = typeof(obj) === 'string' ? obj : undefined;
2528
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2529
- var len1 = WASM_VECTOR_LEN;
2530
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2531
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2555
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2556
+ takeObject(arg0);
2532
2557
  };
2533
2558
 
2534
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2535
- const ret = BigInt.asUintN(64, arg0);
2559
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2560
+ const ret = WasmPeer.__wrap(arg0);
2536
2561
  return addHeapObject(ret);
2537
2562
  };
2538
2563
 
2539
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2540
- const ret = WasmWalletSlip.__wrap(arg0);
2564
+ module.exports.__wbg_wasmnft_new = function(arg0) {
2565
+ const ret = WasmNFT.__wrap(arg0);
2541
2566
  return addHeapObject(ret);
2542
2567
  };
2543
2568
 
@@ -2546,14 +2571,13 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2546
2571
  return addHeapObject(ret);
2547
2572
  };
2548
2573
 
2549
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2550
- const ret = WasmWallet.__wrap(arg0);
2551
- return addHeapObject(ret);
2552
- };
2553
-
2554
- module.exports.__wbg_wasmblock_new = function(arg0) {
2555
- const ret = WasmBlock.__wrap(arg0);
2556
- return addHeapObject(ret);
2574
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2575
+ const obj = getObject(arg1);
2576
+ const ret = typeof(obj) === 'string' ? obj : undefined;
2577
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2578
+ var len1 = WASM_VECTOR_LEN;
2579
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2580
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2557
2581
  };
2558
2582
 
2559
2583
  module.exports.__wbg_wasmtransaction_new = function(arg0) {
@@ -2561,13 +2585,13 @@ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2561
2585
  return addHeapObject(ret);
2562
2586
  };
2563
2587
 
2564
- module.exports.__wbg_wasmslip_new = function(arg0) {
2565
- const ret = WasmSlip.__wrap(arg0);
2588
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2589
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2566
2590
  return addHeapObject(ret);
2567
2591
  };
2568
2592
 
2569
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2570
- const ret = WasmPeer.__wrap(arg0);
2593
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2594
+ const ret = WasmWallet.__wrap(arg0);
2571
2595
  return addHeapObject(ret);
2572
2596
  };
2573
2597
 
@@ -2576,41 +2600,35 @@ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2576
2600
  return addHeapObject(ret);
2577
2601
  };
2578
2602
 
2579
- module.exports.__wbg_wasmnft_new = function(arg0) {
2580
- const ret = WasmNFT.__wrap(arg0);
2603
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2604
+ const ret = WasmSlip.__wrap(arg0);
2581
2605
  return addHeapObject(ret);
2582
2606
  };
2583
2607
 
2584
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2585
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2608
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2609
+ const ret = WasmWalletSlip.__wrap(arg0);
2586
2610
  return addHeapObject(ret);
2587
2611
  };
2588
2612
 
2589
- module.exports.__wbindgen_is_object = function(arg0) {
2590
- const val = getObject(arg0);
2591
- const ret = typeof(val) === 'object' && val !== null;
2592
- return ret;
2593
- };
2594
-
2595
- module.exports.__wbindgen_is_undefined = function(arg0) {
2596
- const ret = getObject(arg0) === undefined;
2597
- return ret;
2613
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2614
+ const ret = WasmBlock.__wrap(arg0);
2615
+ return addHeapObject(ret);
2598
2616
  };
2599
2617
 
2600
- module.exports.__wbindgen_in = function(arg0, arg1) {
2601
- const ret = getObject(arg0) in getObject(arg1);
2602
- return ret;
2618
+ module.exports.__wbg_wasmhop_new = function(arg0) {
2619
+ const ret = WasmHop.__wrap(arg0);
2620
+ return addHeapObject(ret);
2603
2621
  };
2604
2622
 
2605
- module.exports.__wbg_sendmessage_2cc72e00fc0278a0 = function(arg0, arg1) {
2623
+ module.exports.__wbg_sendmessage_594d795106eb02f5 = function(arg0, arg1) {
2606
2624
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2607
2625
  };
2608
2626
 
2609
- module.exports.__wbg_sendmessagetoall_fba609cb2d495b08 = function(arg0, arg1) {
2627
+ module.exports.__wbg_sendmessagetoall_4e076ead1eedc2da = function(arg0, arg1) {
2610
2628
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2611
2629
  };
2612
2630
 
2613
- module.exports.__wbg_connecttopeer_554f3f15077ac031 = function() { return handleError(function (arg0, arg1, arg2) {
2631
+ module.exports.__wbg_connecttopeer_1f47b54f99b99d4c = function() { return handleError(function (arg0, arg1, arg2) {
2614
2632
  let deferred0_0;
2615
2633
  let deferred0_1;
2616
2634
  try {
@@ -2623,12 +2641,12 @@ module.exports.__wbg_connecttopeer_554f3f15077ac031 = function() { return handle
2623
2641
  }
2624
2642
  }, arguments) };
2625
2643
 
2626
- module.exports.__wbg_disconnectfrompeer_a7c0dd6a4b663eeb = function() { return handleError(function (arg0) {
2644
+ module.exports.__wbg_disconnectfrompeer_53c5b29f2f9c0dc7 = function() { return handleError(function (arg0) {
2627
2645
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2628
2646
  return addHeapObject(ret);
2629
2647
  }, arguments) };
2630
2648
 
2631
- module.exports.__wbg_fetchblockfrompeer_68f9851b4d8c62e1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2649
+ module.exports.__wbg_fetchblockfrompeer_e6b499e0b479aae2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2632
2650
  let deferred0_0;
2633
2651
  let deferred0_1;
2634
2652
  try {
@@ -2641,7 +2659,7 @@ module.exports.__wbg_fetchblockfrompeer_68f9851b4d8c62e1 = function() { return h
2641
2659
  }
2642
2660
  }, arguments) };
2643
2661
 
2644
- module.exports.__wbg_writevalue_f0b1a47707b585ee = function(arg0, arg1, arg2) {
2662
+ module.exports.__wbg_writevalue_7e12e50eb8cb94c6 = function(arg0, arg1, arg2) {
2645
2663
  let deferred0_0;
2646
2664
  let deferred0_1;
2647
2665
  try {
@@ -2653,7 +2671,7 @@ module.exports.__wbg_writevalue_f0b1a47707b585ee = function(arg0, arg1, arg2) {
2653
2671
  }
2654
2672
  };
2655
2673
 
2656
- module.exports.__wbg_appendvalue_43a03b7f6e8bc3f8 = function(arg0, arg1, arg2) {
2674
+ module.exports.__wbg_appendvalue_f3179a17f42ac7f3 = function(arg0, arg1, arg2) {
2657
2675
  let deferred0_0;
2658
2676
  let deferred0_1;
2659
2677
  try {
@@ -2665,7 +2683,7 @@ module.exports.__wbg_appendvalue_43a03b7f6e8bc3f8 = function(arg0, arg1, arg2) {
2665
2683
  }
2666
2684
  };
2667
2685
 
2668
- module.exports.__wbg_flushdata_a22719b1de10fae6 = function(arg0, arg1) {
2686
+ module.exports.__wbg_flushdata_1fe851fa7a3d6a55 = function(arg0, arg1) {
2669
2687
  let deferred0_0;
2670
2688
  let deferred0_1;
2671
2689
  try {
@@ -2677,7 +2695,7 @@ module.exports.__wbg_flushdata_a22719b1de10fae6 = function(arg0, arg1) {
2677
2695
  }
2678
2696
  };
2679
2697
 
2680
- module.exports.__wbg_readvalue_8ca3ec0ce9fa23f1 = function() { return handleError(function (arg0, arg1) {
2698
+ module.exports.__wbg_readvalue_2eeaa4ac144d96ce = function() { return handleError(function (arg0, arg1) {
2681
2699
  let deferred0_0;
2682
2700
  let deferred0_1;
2683
2701
  try {
@@ -2690,12 +2708,12 @@ module.exports.__wbg_readvalue_8ca3ec0ce9fa23f1 = function() { return handleErro
2690
2708
  }
2691
2709
  }, arguments) };
2692
2710
 
2693
- module.exports.__wbg_loadblockfilelist_f0af0b056e92c1d0 = function() { return handleError(function () {
2711
+ module.exports.__wbg_loadblockfilelist_60262eab3d6ae9a5 = function() { return handleError(function () {
2694
2712
  const ret = MsgHandler.load_block_file_list();
2695
2713
  return addHeapObject(ret);
2696
2714
  }, arguments) };
2697
2715
 
2698
- module.exports.__wbg_isexistingfile_ed62cf41d8c1c005 = function() { return handleError(function (arg0, arg1) {
2716
+ module.exports.__wbg_isexistingfile_a94137c422d0b257 = function() { return handleError(function (arg0, arg1) {
2699
2717
  let deferred0_0;
2700
2718
  let deferred0_1;
2701
2719
  try {
@@ -2708,7 +2726,7 @@ module.exports.__wbg_isexistingfile_ed62cf41d8c1c005 = function() { return handl
2708
2726
  }
2709
2727
  }, arguments) };
2710
2728
 
2711
- module.exports.__wbg_removevalue_263995812850f622 = function() { return handleError(function (arg0, arg1) {
2729
+ module.exports.__wbg_removevalue_a29f2712d8f8bd61 = function() { return handleError(function (arg0, arg1) {
2712
2730
  let deferred0_0;
2713
2731
  let deferred0_1;
2714
2732
  try {
@@ -2721,7 +2739,7 @@ module.exports.__wbg_removevalue_263995812850f622 = function() { return handleEr
2721
2739
  }
2722
2740
  }, arguments) };
2723
2741
 
2724
- module.exports.__wbg_ensureblockdirectoryexists_77220afe98751872 = function() { return handleError(function (arg0, arg1) {
2742
+ module.exports.__wbg_ensureblockdirectoryexists_b2308c9956a4a01b = function() { return handleError(function (arg0, arg1) {
2725
2743
  let deferred0_0;
2726
2744
  let deferred0_1;
2727
2745
  try {
@@ -2733,19 +2751,19 @@ module.exports.__wbg_ensureblockdirectoryexists_77220afe98751872 = function() {
2733
2751
  }
2734
2752
  }, arguments) };
2735
2753
 
2736
- module.exports.__wbg_processapicall_5bccc2dc9bc579b9 = function(arg0, arg1, arg2) {
2754
+ module.exports.__wbg_processapicall_6318c6fc130808b0 = function(arg0, arg1, arg2) {
2737
2755
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2738
2756
  };
2739
2757
 
2740
- module.exports.__wbg_processapisuccess_6886f4216fa3311d = function(arg0, arg1, arg2) {
2758
+ module.exports.__wbg_processapisuccess_f4c10a64b78a61e8 = function(arg0, arg1, arg2) {
2741
2759
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2742
2760
  };
2743
2761
 
2744
- module.exports.__wbg_processapierror_1cdcf499edb234f7 = function(arg0, arg1, arg2) {
2762
+ module.exports.__wbg_processapierror_08bec5e66ee65020 = function(arg0, arg1, arg2) {
2745
2763
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2746
2764
  };
2747
2765
 
2748
- module.exports.__wbg_sendinterfaceevent_51d8868cedc4e09c = function(arg0, arg1, arg2, arg3, arg4) {
2766
+ module.exports.__wbg_sendinterfaceevent_03afdbff74417764 = function(arg0, arg1, arg2, arg3, arg4) {
2749
2767
  let deferred0_0;
2750
2768
  let deferred0_1;
2751
2769
  let deferred1_0;
@@ -2762,7 +2780,7 @@ module.exports.__wbg_sendinterfaceevent_51d8868cedc4e09c = function(arg0, arg1,
2762
2780
  }
2763
2781
  };
2764
2782
 
2765
- module.exports.__wbg_sendblocksuccess_931806c4c27c7e84 = function(arg0, arg1, arg2) {
2783
+ module.exports.__wbg_sendblocksuccess_227879f53a50c589 = function(arg0, arg1, arg2) {
2766
2784
  let deferred0_0;
2767
2785
  let deferred0_1;
2768
2786
  try {
@@ -2774,11 +2792,11 @@ module.exports.__wbg_sendblocksuccess_931806c4c27c7e84 = function(arg0, arg1, ar
2774
2792
  }
2775
2793
  };
2776
2794
 
2777
- module.exports.__wbg_sendwalletupdate_65cd49d6fc1fcf12 = function() {
2795
+ module.exports.__wbg_sendwalletupdate_41f426cbfcca9be9 = function() {
2778
2796
  MsgHandler.send_wallet_update();
2779
2797
  };
2780
2798
 
2781
- module.exports.__wbg_sendnewversionalert_da233e41694eb1a7 = function(arg0, arg1, arg2) {
2799
+ module.exports.__wbg_sendnewversionalert_8543261301353529 = function(arg0, arg1, arg2) {
2782
2800
  let deferred0_0;
2783
2801
  let deferred0_1;
2784
2802
  try {
@@ -2790,19 +2808,19 @@ module.exports.__wbg_sendnewversionalert_da233e41694eb1a7 = function(arg0, arg1,
2790
2808
  }
2791
2809
  };
2792
2810
 
2793
- module.exports.__wbg_sendblockfetchstatusevent_dc67bd546a91a3b6 = function(arg0) {
2811
+ module.exports.__wbg_sendblockfetchstatusevent_c3abe52d61c9767d = function(arg0) {
2794
2812
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2795
2813
  };
2796
2814
 
2797
- module.exports.__wbg_savewallet_6e9051fdef7a5ecd = function() {
2815
+ module.exports.__wbg_savewallet_aa6ffa02ce1cade9 = function() {
2798
2816
  MsgHandler.save_wallet();
2799
2817
  };
2800
2818
 
2801
- module.exports.__wbg_loadwallet_38972e37f58f9dba = function() {
2819
+ module.exports.__wbg_loadwallet_2593e9c936f7b019 = function() {
2802
2820
  MsgHandler.load_wallet();
2803
2821
  };
2804
2822
 
2805
- module.exports.__wbg_getmyservices_7c865ca0017a4b1c = function() {
2823
+ module.exports.__wbg_getmyservices_ec00e680c8c9a316 = function() {
2806
2824
  const ret = MsgHandler.get_my_services();
2807
2825
  _assertClass(ret, WasmPeerServiceList);
2808
2826
  var ptr1 = ret.__destroy_into_raw();
@@ -2814,9 +2832,20 @@ module.exports.__wbg_wasmpeerservice_new = function(arg0) {
2814
2832
  return addHeapObject(ret);
2815
2833
  };
2816
2834
 
2817
- module.exports.__wbg_wasmhop_new = function(arg0) {
2818
- const ret = WasmHop.__wrap(arg0);
2819
- return addHeapObject(ret);
2835
+ module.exports.__wbindgen_is_object = function(arg0) {
2836
+ const val = getObject(arg0);
2837
+ const ret = typeof(val) === 'object' && val !== null;
2838
+ return ret;
2839
+ };
2840
+
2841
+ module.exports.__wbindgen_is_undefined = function(arg0) {
2842
+ const ret = getObject(arg0) === undefined;
2843
+ return ret;
2844
+ };
2845
+
2846
+ module.exports.__wbindgen_in = function(arg0, arg1) {
2847
+ const ret = getObject(arg0) in getObject(arg1);
2848
+ return ret;
2820
2849
  };
2821
2850
 
2822
2851
  module.exports.__wbindgen_error_new = function(arg0, arg1) {
@@ -3092,7 +3121,7 @@ module.exports.__wbg_new_81740750da40724f = function(arg0, arg1) {
3092
3121
  const a = state0.a;
3093
3122
  state0.a = 0;
3094
3123
  try {
3095
- return __wbg_adapter_418(a, state0.b, arg0, arg1);
3124
+ return __wbg_adapter_419(a, state0.b, arg0, arg1);
3096
3125
  } finally {
3097
3126
  state0.a = a;
3098
3127
  }
@@ -3190,8 +3219,8 @@ module.exports.__wbindgen_memory = function() {
3190
3219
  return addHeapObject(ret);
3191
3220
  };
3192
3221
 
3193
- module.exports.__wbindgen_closure_wrapper1345 = function(arg0, arg1, arg2) {
3194
- const ret = makeMutClosure(arg0, arg1, 482, __wbg_adapter_38);
3222
+ module.exports.__wbindgen_closure_wrapper1365 = function(arg0, arg1, arg2) {
3223
+ const ret = makeMutClosure(arg0, arg1, 484, __wbg_adapter_38);
3195
3224
  return addHeapObject(ret);
3196
3225
  };
3197
3226
 
Binary file