saito-wasm 0.2.122 → 0.2.124

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.122"
3
+ version = "0.2.124"
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.122",
3
+ "version": "0.2.124",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
package/pkg/node/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-de06124b8847c7f1/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-c58a7113d5509f38/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2613,28 +2613,28 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2613
2613
  return addHeapObject(ret);
2614
2614
  };
2615
2615
 
2616
- module.exports.__wbg_wasmslip_new = function(arg0) {
2617
- const ret = WasmSlip.__wrap(arg0);
2616
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2617
+ const ret = WasmTransaction.__wrap(arg0);
2618
2618
  return addHeapObject(ret);
2619
2619
  };
2620
2620
 
2621
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2622
- const ret = BigInt.asUintN(64, arg0);
2621
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2622
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2623
2623
  return addHeapObject(ret);
2624
2624
  };
2625
2625
 
2626
- module.exports.__wbg_wasmblock_new = function(arg0) {
2627
- const ret = WasmBlock.__wrap(arg0);
2626
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2627
+ const ret = WasmBlockchain.__wrap(arg0);
2628
2628
  return addHeapObject(ret);
2629
2629
  };
2630
2630
 
2631
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2632
- const ret = WasmWalletSlip.__wrap(arg0);
2631
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2632
+ const ret = BigInt.asUintN(64, arg0);
2633
2633
  return addHeapObject(ret);
2634
2634
  };
2635
2635
 
2636
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2637
- const ret = WasmPeer.__wrap(arg0);
2636
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2637
+ const ret = WasmSlip.__wrap(arg0);
2638
2638
  return addHeapObject(ret);
2639
2639
  };
2640
2640
 
@@ -2647,40 +2647,40 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2647
2647
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2648
2648
  };
2649
2649
 
2650
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2651
- const ret = WasmTransaction.__wrap(arg0);
2650
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2651
+ const ret = WasmWalletSlip.__wrap(arg0);
2652
2652
  return addHeapObject(ret);
2653
2653
  };
2654
2654
 
2655
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2656
- const ret = WasmWallet.__wrap(arg0);
2655
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2656
+ const ret = WasmBlock.__wrap(arg0);
2657
2657
  return addHeapObject(ret);
2658
2658
  };
2659
2659
 
2660
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2661
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2660
+ module.exports.__wbg_wasmnft_new = function(arg0) {
2661
+ const ret = WasmNFT.__wrap(arg0);
2662
2662
  return addHeapObject(ret);
2663
2663
  };
2664
2664
 
2665
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2666
- const ret = WasmBlockchain.__wrap(arg0);
2665
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2666
+ const ret = WasmWallet.__wrap(arg0);
2667
2667
  return addHeapObject(ret);
2668
2668
  };
2669
2669
 
2670
- module.exports.__wbg_wasmnft_new = function(arg0) {
2671
- const ret = WasmNFT.__wrap(arg0);
2670
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2671
+ const ret = WasmPeer.__wrap(arg0);
2672
2672
  return addHeapObject(ret);
2673
2673
  };
2674
2674
 
2675
- module.exports.__wbg_sendmessage_31acc22bc696d4fe = function(arg0, arg1) {
2675
+ module.exports.__wbg_sendmessage_660ad5fd642e002e = function(arg0, arg1) {
2676
2676
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2677
2677
  };
2678
2678
 
2679
- module.exports.__wbg_sendmessagetoall_96d9be2f0e5dc8be = function(arg0, arg1) {
2679
+ module.exports.__wbg_sendmessagetoall_4bf518fcaf8477d4 = function(arg0, arg1) {
2680
2680
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2681
2681
  };
2682
2682
 
2683
- module.exports.__wbg_connecttopeer_7728b613899d5a70 = function() { return handleError(function (arg0, arg1, arg2) {
2683
+ module.exports.__wbg_connecttopeer_d027e67c63079296 = function() { return handleError(function (arg0, arg1, arg2) {
2684
2684
  let deferred0_0;
2685
2685
  let deferred0_1;
2686
2686
  try {
@@ -2693,12 +2693,12 @@ module.exports.__wbg_connecttopeer_7728b613899d5a70 = function() { return handle
2693
2693
  }
2694
2694
  }, arguments) };
2695
2695
 
2696
- module.exports.__wbg_disconnectfrompeer_15339cc10c0c3610 = function() { return handleError(function (arg0) {
2696
+ module.exports.__wbg_disconnectfrompeer_6224398cf1de9d21 = function() { return handleError(function (arg0) {
2697
2697
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2698
2698
  return addHeapObject(ret);
2699
2699
  }, arguments) };
2700
2700
 
2701
- module.exports.__wbg_fetchblockfrompeer_a330a3656ddfc64d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2701
+ module.exports.__wbg_fetchblockfrompeer_25d29f1a093554c4 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2702
2702
  let deferred0_0;
2703
2703
  let deferred0_1;
2704
2704
  try {
@@ -2711,7 +2711,7 @@ module.exports.__wbg_fetchblockfrompeer_a330a3656ddfc64d = function() { return h
2711
2711
  }
2712
2712
  }, arguments) };
2713
2713
 
2714
- module.exports.__wbg_writevalue_6970f258bcd8ebbd = function(arg0, arg1, arg2) {
2714
+ module.exports.__wbg_writevalue_467d3c9871786972 = function(arg0, arg1, arg2) {
2715
2715
  let deferred0_0;
2716
2716
  let deferred0_1;
2717
2717
  try {
@@ -2723,7 +2723,7 @@ module.exports.__wbg_writevalue_6970f258bcd8ebbd = function(arg0, arg1, arg2) {
2723
2723
  }
2724
2724
  };
2725
2725
 
2726
- module.exports.__wbg_appendvalue_57e435dd744988a7 = function(arg0, arg1, arg2) {
2726
+ module.exports.__wbg_appendvalue_71c91970b2c3b4f4 = function(arg0, arg1, arg2) {
2727
2727
  let deferred0_0;
2728
2728
  let deferred0_1;
2729
2729
  try {
@@ -2735,7 +2735,7 @@ module.exports.__wbg_appendvalue_57e435dd744988a7 = function(arg0, arg1, arg2) {
2735
2735
  }
2736
2736
  };
2737
2737
 
2738
- module.exports.__wbg_flushdata_b64aa822e7e1d365 = function(arg0, arg1) {
2738
+ module.exports.__wbg_flushdata_37859c5ee930341a = function(arg0, arg1) {
2739
2739
  let deferred0_0;
2740
2740
  let deferred0_1;
2741
2741
  try {
@@ -2747,7 +2747,7 @@ module.exports.__wbg_flushdata_b64aa822e7e1d365 = function(arg0, arg1) {
2747
2747
  }
2748
2748
  };
2749
2749
 
2750
- module.exports.__wbg_readvalue_0fbb19bda1f6f82d = function() { return handleError(function (arg0, arg1) {
2750
+ module.exports.__wbg_readvalue_61416743a63c3daa = function() { return handleError(function (arg0, arg1) {
2751
2751
  let deferred0_0;
2752
2752
  let deferred0_1;
2753
2753
  try {
@@ -2760,12 +2760,12 @@ module.exports.__wbg_readvalue_0fbb19bda1f6f82d = function() { return handleErro
2760
2760
  }
2761
2761
  }, arguments) };
2762
2762
 
2763
- module.exports.__wbg_loadblockfilelist_ee0c39f91015cbe2 = function() { return handleError(function () {
2763
+ module.exports.__wbg_loadblockfilelist_874ce69949fd0900 = function() { return handleError(function () {
2764
2764
  const ret = MsgHandler.load_block_file_list();
2765
2765
  return addHeapObject(ret);
2766
2766
  }, arguments) };
2767
2767
 
2768
- module.exports.__wbg_isexistingfile_b113cb249db1e81f = function() { return handleError(function (arg0, arg1) {
2768
+ module.exports.__wbg_isexistingfile_4c691dce62d3ca98 = function() { return handleError(function (arg0, arg1) {
2769
2769
  let deferred0_0;
2770
2770
  let deferred0_1;
2771
2771
  try {
@@ -2778,7 +2778,7 @@ module.exports.__wbg_isexistingfile_b113cb249db1e81f = function() { return handl
2778
2778
  }
2779
2779
  }, arguments) };
2780
2780
 
2781
- module.exports.__wbg_removevalue_53f084db3c1387b1 = function() { return handleError(function (arg0, arg1) {
2781
+ module.exports.__wbg_removevalue_dd32906c71e1c142 = function() { return handleError(function (arg0, arg1) {
2782
2782
  let deferred0_0;
2783
2783
  let deferred0_1;
2784
2784
  try {
@@ -2791,7 +2791,7 @@ module.exports.__wbg_removevalue_53f084db3c1387b1 = function() { return handleEr
2791
2791
  }
2792
2792
  }, arguments) };
2793
2793
 
2794
- module.exports.__wbg_ensureblockdirectoryexists_454cce0dd0cf3aa3 = function() { return handleError(function (arg0, arg1) {
2794
+ module.exports.__wbg_ensureblockdirectoryexists_aa9064b183c336d7 = function() { return handleError(function (arg0, arg1) {
2795
2795
  let deferred0_0;
2796
2796
  let deferred0_1;
2797
2797
  try {
@@ -2803,19 +2803,19 @@ module.exports.__wbg_ensureblockdirectoryexists_454cce0dd0cf3aa3 = function() {
2803
2803
  }
2804
2804
  }, arguments) };
2805
2805
 
2806
- module.exports.__wbg_processapicall_c3c71ab7cf295051 = function(arg0, arg1, arg2) {
2806
+ module.exports.__wbg_processapicall_e25a09bd514b07a7 = function(arg0, arg1, arg2) {
2807
2807
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2808
2808
  };
2809
2809
 
2810
- module.exports.__wbg_processapisuccess_af426b2baa096097 = function(arg0, arg1, arg2) {
2810
+ module.exports.__wbg_processapisuccess_e17cfc867b32d195 = function(arg0, arg1, arg2) {
2811
2811
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2812
2812
  };
2813
2813
 
2814
- module.exports.__wbg_processapierror_4d2c3a00514c012f = function(arg0, arg1, arg2) {
2814
+ module.exports.__wbg_processapierror_f80ba1e04707f871 = function(arg0, arg1, arg2) {
2815
2815
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2816
2816
  };
2817
2817
 
2818
- module.exports.__wbg_sendinterfaceevent_296920f35554aa94 = function(arg0, arg1, arg2, arg3, arg4) {
2818
+ module.exports.__wbg_sendinterfaceevent_bf4c22691d21c9b4 = function(arg0, arg1, arg2, arg3, arg4) {
2819
2819
  let deferred0_0;
2820
2820
  let deferred0_1;
2821
2821
  let deferred1_0;
@@ -2832,7 +2832,7 @@ module.exports.__wbg_sendinterfaceevent_296920f35554aa94 = function(arg0, arg1,
2832
2832
  }
2833
2833
  };
2834
2834
 
2835
- module.exports.__wbg_sendblocksuccess_ee120de2cc51d570 = function(arg0, arg1, arg2) {
2835
+ module.exports.__wbg_sendblocksuccess_52410b520e1cd77a = function(arg0, arg1, arg2) {
2836
2836
  let deferred0_0;
2837
2837
  let deferred0_1;
2838
2838
  try {
@@ -2844,11 +2844,11 @@ module.exports.__wbg_sendblocksuccess_ee120de2cc51d570 = function(arg0, arg1, ar
2844
2844
  }
2845
2845
  };
2846
2846
 
2847
- module.exports.__wbg_sendwalletupdate_42b2307832c11898 = function() {
2847
+ module.exports.__wbg_sendwalletupdate_ad912cec5d14b18e = function() {
2848
2848
  MsgHandler.send_wallet_update();
2849
2849
  };
2850
2850
 
2851
- module.exports.__wbg_sendnewversionalert_647f409f720e3fd4 = function(arg0, arg1, arg2) {
2851
+ module.exports.__wbg_sendnewversionalert_06d7491d8057ec28 = function(arg0, arg1, arg2) {
2852
2852
  let deferred0_0;
2853
2853
  let deferred0_1;
2854
2854
  try {
@@ -2860,23 +2860,23 @@ module.exports.__wbg_sendnewversionalert_647f409f720e3fd4 = function(arg0, arg1,
2860
2860
  }
2861
2861
  };
2862
2862
 
2863
- module.exports.__wbg_sendblockfetchstatusevent_65780f52e6e7206d = function(arg0) {
2863
+ module.exports.__wbg_sendblockfetchstatusevent_df6648206d31a701 = function(arg0) {
2864
2864
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2865
2865
  };
2866
2866
 
2867
- module.exports.__wbg_sendnewchaindetectedevent_2daaab7a3d1154dd = function() {
2867
+ module.exports.__wbg_sendnewchaindetectedevent_0d61c49c6f633274 = function() {
2868
2868
  MsgHandler.send_new_chain_detected_event();
2869
2869
  };
2870
2870
 
2871
- module.exports.__wbg_savewallet_19b0b506fca754ad = function() {
2871
+ module.exports.__wbg_savewallet_845fbd2ebb238830 = function() {
2872
2872
  MsgHandler.save_wallet();
2873
2873
  };
2874
2874
 
2875
- module.exports.__wbg_loadwallet_7a7b37c0f72a618b = function() {
2875
+ module.exports.__wbg_loadwallet_d2a11b8ebd65769b = function() {
2876
2876
  MsgHandler.load_wallet();
2877
2877
  };
2878
2878
 
2879
- module.exports.__wbg_getmyservices_435d5e7e2ecc4857 = function() {
2879
+ module.exports.__wbg_getmyservices_29ea39421d0c0126 = function() {
2880
2880
  const ret = MsgHandler.get_my_services();
2881
2881
  _assertClass(ret, WasmPeerServiceList);
2882
2882
  var ptr1 = ret.__destroy_into_raw();
@@ -3280,8 +3280,8 @@ module.exports.__wbindgen_memory = function() {
3280
3280
  return addHeapObject(ret);
3281
3281
  };
3282
3282
 
3283
- module.exports.__wbindgen_closure_wrapper1511 = function(arg0, arg1, arg2) {
3284
- const ret = makeMutClosure(arg0, arg1, 536, __wbg_adapter_38);
3283
+ module.exports.__wbindgen_closure_wrapper1518 = function(arg0, arg1, arg2) {
3284
+ const ret = makeMutClosure(arg0, arg1, 543, __wbg_adapter_38);
3285
3285
  return addHeapObject(ret);
3286
3286
  };
3287
3287
 
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.122",
3
+ "version": "0.2.124",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
@@ -9,7 +9,7 @@
9
9
  "main": "index.js",
10
10
  "types": "index.d.ts",
11
11
  "dependencies": {
12
- "cross-env": "^7.0.3",
13
- "node-fetch": "^3.3.0"
12
+ "node-fetch": "^3.3.0",
13
+ "cross-env": "^7.0.3"
14
14
  }
15
15
  }
package/pkg/web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { MsgHandler } from './snippets/saito-wasm-de06124b8847c7f1/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-c58a7113d5509f38/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2627,24 +2627,24 @@ function __wbg_get_imports() {
2627
2627
  const ret = getStringFromWasm0(arg0, arg1);
2628
2628
  return addHeapObject(ret);
2629
2629
  };
2630
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2631
- const ret = WasmSlip.__wrap(arg0);
2630
+ imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2631
+ const ret = WasmTransaction.__wrap(arg0);
2632
2632
  return addHeapObject(ret);
2633
2633
  };
2634
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2635
- const ret = BigInt.asUintN(64, arg0);
2634
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2635
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2636
2636
  return addHeapObject(ret);
2637
2637
  };
2638
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2639
- const ret = WasmBlock.__wrap(arg0);
2638
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2639
+ const ret = WasmBlockchain.__wrap(arg0);
2640
2640
  return addHeapObject(ret);
2641
2641
  };
2642
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2643
- const ret = WasmWalletSlip.__wrap(arg0);
2642
+ imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2643
+ const ret = BigInt.asUintN(64, arg0);
2644
2644
  return addHeapObject(ret);
2645
2645
  };
2646
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2647
- const ret = WasmPeer.__wrap(arg0);
2646
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2647
+ const ret = WasmSlip.__wrap(arg0);
2648
2648
  return addHeapObject(ret);
2649
2649
  };
2650
2650
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
@@ -2655,33 +2655,33 @@ function __wbg_get_imports() {
2655
2655
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2656
2656
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2657
2657
  };
2658
- imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2659
- const ret = WasmTransaction.__wrap(arg0);
2658
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2659
+ const ret = WasmWalletSlip.__wrap(arg0);
2660
2660
  return addHeapObject(ret);
2661
2661
  };
2662
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2663
- const ret = WasmWallet.__wrap(arg0);
2662
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2663
+ const ret = WasmBlock.__wrap(arg0);
2664
2664
  return addHeapObject(ret);
2665
2665
  };
2666
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2667
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2666
+ imports.wbg.__wbg_wasmnft_new = function(arg0) {
2667
+ const ret = WasmNFT.__wrap(arg0);
2668
2668
  return addHeapObject(ret);
2669
2669
  };
2670
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2671
- const ret = WasmBlockchain.__wrap(arg0);
2670
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2671
+ const ret = WasmWallet.__wrap(arg0);
2672
2672
  return addHeapObject(ret);
2673
2673
  };
2674
- imports.wbg.__wbg_wasmnft_new = function(arg0) {
2675
- const ret = WasmNFT.__wrap(arg0);
2674
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2675
+ const ret = WasmPeer.__wrap(arg0);
2676
2676
  return addHeapObject(ret);
2677
2677
  };
2678
- imports.wbg.__wbg_sendmessage_31acc22bc696d4fe = function(arg0, arg1) {
2678
+ imports.wbg.__wbg_sendmessage_660ad5fd642e002e = function(arg0, arg1) {
2679
2679
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2680
2680
  };
2681
- imports.wbg.__wbg_sendmessagetoall_96d9be2f0e5dc8be = function(arg0, arg1) {
2681
+ imports.wbg.__wbg_sendmessagetoall_4bf518fcaf8477d4 = function(arg0, arg1) {
2682
2682
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2683
2683
  };
2684
- imports.wbg.__wbg_connecttopeer_7728b613899d5a70 = function() { return handleError(function (arg0, arg1, arg2) {
2684
+ imports.wbg.__wbg_connecttopeer_d027e67c63079296 = function() { return handleError(function (arg0, arg1, arg2) {
2685
2685
  let deferred0_0;
2686
2686
  let deferred0_1;
2687
2687
  try {
@@ -2693,11 +2693,11 @@ function __wbg_get_imports() {
2693
2693
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2694
2694
  }
2695
2695
  }, arguments) };
2696
- imports.wbg.__wbg_disconnectfrompeer_15339cc10c0c3610 = function() { return handleError(function (arg0) {
2696
+ imports.wbg.__wbg_disconnectfrompeer_6224398cf1de9d21 = function() { return handleError(function (arg0) {
2697
2697
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2698
2698
  return addHeapObject(ret);
2699
2699
  }, arguments) };
2700
- imports.wbg.__wbg_fetchblockfrompeer_a330a3656ddfc64d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2700
+ imports.wbg.__wbg_fetchblockfrompeer_25d29f1a093554c4 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2701
2701
  let deferred0_0;
2702
2702
  let deferred0_1;
2703
2703
  try {
@@ -2709,7 +2709,7 @@ function __wbg_get_imports() {
2709
2709
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2710
2710
  }
2711
2711
  }, arguments) };
2712
- imports.wbg.__wbg_writevalue_6970f258bcd8ebbd = function(arg0, arg1, arg2) {
2712
+ imports.wbg.__wbg_writevalue_467d3c9871786972 = function(arg0, arg1, arg2) {
2713
2713
  let deferred0_0;
2714
2714
  let deferred0_1;
2715
2715
  try {
@@ -2720,7 +2720,7 @@ function __wbg_get_imports() {
2720
2720
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2721
2721
  }
2722
2722
  };
2723
- imports.wbg.__wbg_appendvalue_57e435dd744988a7 = function(arg0, arg1, arg2) {
2723
+ imports.wbg.__wbg_appendvalue_71c91970b2c3b4f4 = function(arg0, arg1, arg2) {
2724
2724
  let deferred0_0;
2725
2725
  let deferred0_1;
2726
2726
  try {
@@ -2731,7 +2731,7 @@ function __wbg_get_imports() {
2731
2731
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2732
2732
  }
2733
2733
  };
2734
- imports.wbg.__wbg_flushdata_b64aa822e7e1d365 = function(arg0, arg1) {
2734
+ imports.wbg.__wbg_flushdata_37859c5ee930341a = function(arg0, arg1) {
2735
2735
  let deferred0_0;
2736
2736
  let deferred0_1;
2737
2737
  try {
@@ -2742,7 +2742,7 @@ function __wbg_get_imports() {
2742
2742
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2743
2743
  }
2744
2744
  };
2745
- imports.wbg.__wbg_readvalue_0fbb19bda1f6f82d = function() { return handleError(function (arg0, arg1) {
2745
+ imports.wbg.__wbg_readvalue_61416743a63c3daa = function() { return handleError(function (arg0, arg1) {
2746
2746
  let deferred0_0;
2747
2747
  let deferred0_1;
2748
2748
  try {
@@ -2754,11 +2754,11 @@ function __wbg_get_imports() {
2754
2754
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2755
2755
  }
2756
2756
  }, arguments) };
2757
- imports.wbg.__wbg_loadblockfilelist_ee0c39f91015cbe2 = function() { return handleError(function () {
2757
+ imports.wbg.__wbg_loadblockfilelist_874ce69949fd0900 = function() { return handleError(function () {
2758
2758
  const ret = MsgHandler.load_block_file_list();
2759
2759
  return addHeapObject(ret);
2760
2760
  }, arguments) };
2761
- imports.wbg.__wbg_isexistingfile_b113cb249db1e81f = function() { return handleError(function (arg0, arg1) {
2761
+ imports.wbg.__wbg_isexistingfile_4c691dce62d3ca98 = function() { return handleError(function (arg0, arg1) {
2762
2762
  let deferred0_0;
2763
2763
  let deferred0_1;
2764
2764
  try {
@@ -2770,7 +2770,7 @@ function __wbg_get_imports() {
2770
2770
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2771
2771
  }
2772
2772
  }, arguments) };
2773
- imports.wbg.__wbg_removevalue_53f084db3c1387b1 = function() { return handleError(function (arg0, arg1) {
2773
+ imports.wbg.__wbg_removevalue_dd32906c71e1c142 = function() { return handleError(function (arg0, arg1) {
2774
2774
  let deferred0_0;
2775
2775
  let deferred0_1;
2776
2776
  try {
@@ -2782,7 +2782,7 @@ function __wbg_get_imports() {
2782
2782
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2783
2783
  }
2784
2784
  }, arguments) };
2785
- imports.wbg.__wbg_ensureblockdirectoryexists_454cce0dd0cf3aa3 = function() { return handleError(function (arg0, arg1) {
2785
+ imports.wbg.__wbg_ensureblockdirectoryexists_aa9064b183c336d7 = function() { return handleError(function (arg0, arg1) {
2786
2786
  let deferred0_0;
2787
2787
  let deferred0_1;
2788
2788
  try {
@@ -2793,16 +2793,16 @@ function __wbg_get_imports() {
2793
2793
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2794
2794
  }
2795
2795
  }, arguments) };
2796
- imports.wbg.__wbg_processapicall_c3c71ab7cf295051 = function(arg0, arg1, arg2) {
2796
+ imports.wbg.__wbg_processapicall_e25a09bd514b07a7 = function(arg0, arg1, arg2) {
2797
2797
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2798
2798
  };
2799
- imports.wbg.__wbg_processapisuccess_af426b2baa096097 = function(arg0, arg1, arg2) {
2799
+ imports.wbg.__wbg_processapisuccess_e17cfc867b32d195 = function(arg0, arg1, arg2) {
2800
2800
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2801
2801
  };
2802
- imports.wbg.__wbg_processapierror_4d2c3a00514c012f = function(arg0, arg1, arg2) {
2802
+ imports.wbg.__wbg_processapierror_f80ba1e04707f871 = function(arg0, arg1, arg2) {
2803
2803
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2804
2804
  };
2805
- imports.wbg.__wbg_sendinterfaceevent_296920f35554aa94 = function(arg0, arg1, arg2, arg3, arg4) {
2805
+ imports.wbg.__wbg_sendinterfaceevent_bf4c22691d21c9b4 = function(arg0, arg1, arg2, arg3, arg4) {
2806
2806
  let deferred0_0;
2807
2807
  let deferred0_1;
2808
2808
  let deferred1_0;
@@ -2818,7 +2818,7 @@ function __wbg_get_imports() {
2818
2818
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2819
2819
  }
2820
2820
  };
2821
- imports.wbg.__wbg_sendblocksuccess_ee120de2cc51d570 = function(arg0, arg1, arg2) {
2821
+ imports.wbg.__wbg_sendblocksuccess_52410b520e1cd77a = function(arg0, arg1, arg2) {
2822
2822
  let deferred0_0;
2823
2823
  let deferred0_1;
2824
2824
  try {
@@ -2829,10 +2829,10 @@ function __wbg_get_imports() {
2829
2829
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2830
2830
  }
2831
2831
  };
2832
- imports.wbg.__wbg_sendwalletupdate_42b2307832c11898 = function() {
2832
+ imports.wbg.__wbg_sendwalletupdate_ad912cec5d14b18e = function() {
2833
2833
  MsgHandler.send_wallet_update();
2834
2834
  };
2835
- imports.wbg.__wbg_sendnewversionalert_647f409f720e3fd4 = function(arg0, arg1, arg2) {
2835
+ imports.wbg.__wbg_sendnewversionalert_06d7491d8057ec28 = function(arg0, arg1, arg2) {
2836
2836
  let deferred0_0;
2837
2837
  let deferred0_1;
2838
2838
  try {
@@ -2843,19 +2843,19 @@ function __wbg_get_imports() {
2843
2843
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2844
2844
  }
2845
2845
  };
2846
- imports.wbg.__wbg_sendblockfetchstatusevent_65780f52e6e7206d = function(arg0) {
2846
+ imports.wbg.__wbg_sendblockfetchstatusevent_df6648206d31a701 = function(arg0) {
2847
2847
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2848
2848
  };
2849
- imports.wbg.__wbg_sendnewchaindetectedevent_2daaab7a3d1154dd = function() {
2849
+ imports.wbg.__wbg_sendnewchaindetectedevent_0d61c49c6f633274 = function() {
2850
2850
  MsgHandler.send_new_chain_detected_event();
2851
2851
  };
2852
- imports.wbg.__wbg_savewallet_19b0b506fca754ad = function() {
2852
+ imports.wbg.__wbg_savewallet_845fbd2ebb238830 = function() {
2853
2853
  MsgHandler.save_wallet();
2854
2854
  };
2855
- imports.wbg.__wbg_loadwallet_7a7b37c0f72a618b = function() {
2855
+ imports.wbg.__wbg_loadwallet_d2a11b8ebd65769b = function() {
2856
2856
  MsgHandler.load_wallet();
2857
2857
  };
2858
- imports.wbg.__wbg_getmyservices_435d5e7e2ecc4857 = function() {
2858
+ imports.wbg.__wbg_getmyservices_29ea39421d0c0126 = function() {
2859
2859
  const ret = MsgHandler.get_my_services();
2860
2860
  _assertClass(ret, WasmPeerServiceList);
2861
2861
  var ptr1 = ret.__destroy_into_raw();
@@ -3186,8 +3186,8 @@ function __wbg_get_imports() {
3186
3186
  const ret = wasm.memory;
3187
3187
  return addHeapObject(ret);
3188
3188
  };
3189
- imports.wbg.__wbindgen_closure_wrapper1511 = function(arg0, arg1, arg2) {
3190
- const ret = makeMutClosure(arg0, arg1, 536, __wbg_adapter_38);
3189
+ imports.wbg.__wbindgen_closure_wrapper1518 = function(arg0, arg1, arg2) {
3190
+ const ret = makeMutClosure(arg0, arg1, 543, __wbg_adapter_38);
3191
3191
  return addHeapObject(ret);
3192
3192
  };
3193
3193
 
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.122",
3
+ "version": "0.2.124",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",