saito-wasm 0.2.156 → 0.2.158

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.156"
3
+ version = "0.2.158"
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.156",
3
+ "version": "0.2.158",
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-eb83d05fba136b5b/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-d5a803e2dbdc91de/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2643,13 +2643,8 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2643
2643
  return addHeapObject(ret);
2644
2644
  };
2645
2645
 
2646
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2647
- const ret = WasmTransaction.__wrap(arg0);
2648
- return addHeapObject(ret);
2649
- };
2650
-
2651
- module.exports.__wbg_wasmslip_new = function(arg0) {
2652
- const ret = WasmSlip.__wrap(arg0);
2646
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2647
+ const ret = WasmWalletSlip.__wrap(arg0);
2653
2648
  return addHeapObject(ret);
2654
2649
  };
2655
2650
 
@@ -2658,18 +2653,18 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2658
2653
  return addHeapObject(ret);
2659
2654
  };
2660
2655
 
2661
- module.exports.__wbg_wasmblock_new = function(arg0) {
2662
- const ret = WasmBlock.__wrap(arg0);
2656
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2657
+ const ret = WasmSlip.__wrap(arg0);
2663
2658
  return addHeapObject(ret);
2664
2659
  };
2665
2660
 
2666
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2667
- const ret = WasmWallet.__wrap(arg0);
2661
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2662
+ const ret = WasmTransaction.__wrap(arg0);
2668
2663
  return addHeapObject(ret);
2669
2664
  };
2670
2665
 
2671
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2672
- const ret = WasmPeer.__wrap(arg0);
2666
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2667
+ const ret = WasmWallet.__wrap(arg0);
2673
2668
  return addHeapObject(ret);
2674
2669
  };
2675
2670
 
@@ -2682,8 +2677,8 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2682
2677
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2683
2678
  };
2684
2679
 
2685
- module.exports.__wbg_wasmnft_new = function(arg0) {
2686
- const ret = WasmNFT.__wrap(arg0);
2680
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2681
+ const ret = WasmPeer.__wrap(arg0);
2687
2682
  return addHeapObject(ret);
2688
2683
  };
2689
2684
 
@@ -2692,13 +2687,13 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
2692
2687
  return addHeapObject(ret);
2693
2688
  };
2694
2689
 
2695
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2696
- const ret = WasmBlockchain.__wrap(arg0);
2690
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2691
+ const ret = WasmBlock.__wrap(arg0);
2697
2692
  return addHeapObject(ret);
2698
2693
  };
2699
2694
 
2700
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2701
- const ret = WasmWalletSlip.__wrap(arg0);
2695
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2696
+ const ret = WasmBlockchain.__wrap(arg0);
2702
2697
  return addHeapObject(ret);
2703
2698
  };
2704
2699
 
@@ -2707,15 +2702,20 @@ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2707
2702
  return addHeapObject(ret);
2708
2703
  };
2709
2704
 
2710
- module.exports.__wbg_sendmessage_d40c0efee7e7b535 = function(arg0, arg1) {
2705
+ module.exports.__wbg_wasmnft_new = function(arg0) {
2706
+ const ret = WasmNFT.__wrap(arg0);
2707
+ return addHeapObject(ret);
2708
+ };
2709
+
2710
+ module.exports.__wbg_sendmessage_8492c3e4aa185fa3 = function(arg0, arg1) {
2711
2711
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2712
2712
  };
2713
2713
 
2714
- module.exports.__wbg_sendmessagetoall_459e53f3850da9b7 = function(arg0, arg1) {
2714
+ module.exports.__wbg_sendmessagetoall_9ac80c9d805abfe5 = function(arg0, arg1) {
2715
2715
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2716
2716
  };
2717
2717
 
2718
- module.exports.__wbg_connecttopeer_5c5de9553b4bb50d = function() { return handleError(function (arg0, arg1, arg2) {
2718
+ module.exports.__wbg_connecttopeer_be7964f6f8f5d454 = function() { return handleError(function (arg0, arg1, arg2) {
2719
2719
  let deferred0_0;
2720
2720
  let deferred0_1;
2721
2721
  try {
@@ -2728,12 +2728,12 @@ module.exports.__wbg_connecttopeer_5c5de9553b4bb50d = function() { return handle
2728
2728
  }
2729
2729
  }, arguments) };
2730
2730
 
2731
- module.exports.__wbg_disconnectfrompeer_2286bc0eb43e6609 = function() { return handleError(function (arg0) {
2731
+ module.exports.__wbg_disconnectfrompeer_f023a23d185b5ad5 = function() { return handleError(function (arg0) {
2732
2732
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2733
2733
  return addHeapObject(ret);
2734
2734
  }, arguments) };
2735
2735
 
2736
- module.exports.__wbg_fetchblockfrompeer_3aa81e3a2441e649 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2736
+ module.exports.__wbg_fetchblockfrompeer_58abbae56bdeef30 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2737
2737
  let deferred0_0;
2738
2738
  let deferred0_1;
2739
2739
  try {
@@ -2746,7 +2746,7 @@ module.exports.__wbg_fetchblockfrompeer_3aa81e3a2441e649 = function() { return h
2746
2746
  }
2747
2747
  }, arguments) };
2748
2748
 
2749
- module.exports.__wbg_writevalue_63e132851967c4cf = function(arg0, arg1, arg2) {
2749
+ module.exports.__wbg_writevalue_4d3a2278395da6aa = function(arg0, arg1, arg2) {
2750
2750
  let deferred0_0;
2751
2751
  let deferred0_1;
2752
2752
  try {
@@ -2758,7 +2758,7 @@ module.exports.__wbg_writevalue_63e132851967c4cf = function(arg0, arg1, arg2) {
2758
2758
  }
2759
2759
  };
2760
2760
 
2761
- module.exports.__wbg_appendvalue_00db9bb1936742e4 = function(arg0, arg1, arg2) {
2761
+ module.exports.__wbg_appendvalue_febe2e1a24fac187 = function(arg0, arg1, arg2) {
2762
2762
  let deferred0_0;
2763
2763
  let deferred0_1;
2764
2764
  try {
@@ -2770,7 +2770,7 @@ module.exports.__wbg_appendvalue_00db9bb1936742e4 = function(arg0, arg1, arg2) {
2770
2770
  }
2771
2771
  };
2772
2772
 
2773
- module.exports.__wbg_flushdata_e331e22ca335c21a = function(arg0, arg1) {
2773
+ module.exports.__wbg_flushdata_9e4bb72a629e5e49 = function(arg0, arg1) {
2774
2774
  let deferred0_0;
2775
2775
  let deferred0_1;
2776
2776
  try {
@@ -2782,7 +2782,7 @@ module.exports.__wbg_flushdata_e331e22ca335c21a = function(arg0, arg1) {
2782
2782
  }
2783
2783
  };
2784
2784
 
2785
- module.exports.__wbg_readvalue_0d0477402dead4a1 = function() { return handleError(function (arg0, arg1) {
2785
+ module.exports.__wbg_readvalue_c4c06a5f1455e95c = function() { return handleError(function (arg0, arg1) {
2786
2786
  let deferred0_0;
2787
2787
  let deferred0_1;
2788
2788
  try {
@@ -2795,12 +2795,12 @@ module.exports.__wbg_readvalue_0d0477402dead4a1 = function() { return handleErro
2795
2795
  }
2796
2796
  }, arguments) };
2797
2797
 
2798
- module.exports.__wbg_loadblockfilelist_c413ba45063f4641 = function() { return handleError(function () {
2798
+ module.exports.__wbg_loadblockfilelist_f168073fad329fa9 = function() { return handleError(function () {
2799
2799
  const ret = MsgHandler.load_block_file_list();
2800
2800
  return addHeapObject(ret);
2801
2801
  }, arguments) };
2802
2802
 
2803
- module.exports.__wbg_isexistingfile_6ee4bf5317cc269b = function() { return handleError(function (arg0, arg1) {
2803
+ module.exports.__wbg_isexistingfile_cbf92029eea88603 = function() { return handleError(function (arg0, arg1) {
2804
2804
  let deferred0_0;
2805
2805
  let deferred0_1;
2806
2806
  try {
@@ -2813,7 +2813,7 @@ module.exports.__wbg_isexistingfile_6ee4bf5317cc269b = function() { return handl
2813
2813
  }
2814
2814
  }, arguments) };
2815
2815
 
2816
- module.exports.__wbg_removevalue_16eb84e4c7ab14dd = function() { return handleError(function (arg0, arg1) {
2816
+ module.exports.__wbg_removevalue_bf610bb899bf33fe = function() { return handleError(function (arg0, arg1) {
2817
2817
  let deferred0_0;
2818
2818
  let deferred0_1;
2819
2819
  try {
@@ -2826,7 +2826,7 @@ module.exports.__wbg_removevalue_16eb84e4c7ab14dd = function() { return handleEr
2826
2826
  }
2827
2827
  }, arguments) };
2828
2828
 
2829
- module.exports.__wbg_ensureblockdirectoryexists_fab14dec16187364 = function() { return handleError(function (arg0, arg1) {
2829
+ module.exports.__wbg_ensureblockdirectoryexists_e9adff8f8b7d0fe5 = function() { return handleError(function (arg0, arg1) {
2830
2830
  let deferred0_0;
2831
2831
  let deferred0_1;
2832
2832
  try {
@@ -2838,19 +2838,19 @@ module.exports.__wbg_ensureblockdirectoryexists_fab14dec16187364 = function() {
2838
2838
  }
2839
2839
  }, arguments) };
2840
2840
 
2841
- module.exports.__wbg_processapicall_c46a3cea3900e424 = function(arg0, arg1, arg2) {
2841
+ module.exports.__wbg_processapicall_026c9081668b55fc = function(arg0, arg1, arg2) {
2842
2842
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2843
2843
  };
2844
2844
 
2845
- module.exports.__wbg_processapisuccess_5df52c7cfca162f0 = function(arg0, arg1, arg2) {
2845
+ module.exports.__wbg_processapisuccess_a8655d0f4e759e16 = function(arg0, arg1, arg2) {
2846
2846
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2847
2847
  };
2848
2848
 
2849
- module.exports.__wbg_processapierror_2e5743601a9dab32 = function(arg0, arg1, arg2) {
2849
+ module.exports.__wbg_processapierror_5cd2da24ed748812 = function(arg0, arg1, arg2) {
2850
2850
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2851
2851
  };
2852
2852
 
2853
- module.exports.__wbg_sendinterfaceevent_252edf0697c7dbce = function(arg0, arg1, arg2, arg3, arg4) {
2853
+ module.exports.__wbg_sendinterfaceevent_13a6962c186c4a9b = function(arg0, arg1, arg2, arg3, arg4) {
2854
2854
  let deferred0_0;
2855
2855
  let deferred0_1;
2856
2856
  let deferred1_0;
@@ -2867,7 +2867,7 @@ module.exports.__wbg_sendinterfaceevent_252edf0697c7dbce = function(arg0, arg1,
2867
2867
  }
2868
2868
  };
2869
2869
 
2870
- module.exports.__wbg_sendblocksuccess_9556bb881a56d303 = function(arg0, arg1, arg2) {
2870
+ module.exports.__wbg_sendblocksuccess_bfd04ffd50101843 = function(arg0, arg1, arg2) {
2871
2871
  let deferred0_0;
2872
2872
  let deferred0_1;
2873
2873
  try {
@@ -2879,11 +2879,11 @@ module.exports.__wbg_sendblocksuccess_9556bb881a56d303 = function(arg0, arg1, ar
2879
2879
  }
2880
2880
  };
2881
2881
 
2882
- module.exports.__wbg_sendwalletupdate_a1cc68a9ca0e2ac2 = function() {
2882
+ module.exports.__wbg_sendwalletupdate_f33737db532bf578 = function() {
2883
2883
  MsgHandler.send_wallet_update();
2884
2884
  };
2885
2885
 
2886
- module.exports.__wbg_sendnewversionalert_f4a34017aec4703b = function(arg0, arg1, arg2) {
2886
+ module.exports.__wbg_sendnewversionalert_af63b965d7013acc = function(arg0, arg1, arg2) {
2887
2887
  let deferred0_0;
2888
2888
  let deferred0_1;
2889
2889
  try {
@@ -2895,23 +2895,23 @@ module.exports.__wbg_sendnewversionalert_f4a34017aec4703b = function(arg0, arg1,
2895
2895
  }
2896
2896
  };
2897
2897
 
2898
- module.exports.__wbg_sendblockfetchstatusevent_32e8fb92658f3ff4 = function(arg0) {
2898
+ module.exports.__wbg_sendblockfetchstatusevent_9d3a145663c07256 = function(arg0) {
2899
2899
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2900
2900
  };
2901
2901
 
2902
- module.exports.__wbg_sendnewchaindetectedevent_3a37ce6901a92746 = function() {
2902
+ module.exports.__wbg_sendnewchaindetectedevent_f6cf318561647c90 = function() {
2903
2903
  MsgHandler.send_new_chain_detected_event();
2904
2904
  };
2905
2905
 
2906
- module.exports.__wbg_savewallet_38a352c2c3b4349f = function() {
2906
+ module.exports.__wbg_savewallet_7831820e16d75c9a = function() {
2907
2907
  MsgHandler.save_wallet();
2908
2908
  };
2909
2909
 
2910
- module.exports.__wbg_loadwallet_96e9db6e5f85b038 = function() {
2910
+ module.exports.__wbg_loadwallet_5a930ae438b8ac5a = function() {
2911
2911
  MsgHandler.load_wallet();
2912
2912
  };
2913
2913
 
2914
- module.exports.__wbg_getmyservices_026c2b379ed04d32 = function() {
2914
+ module.exports.__wbg_getmyservices_a6c1b19069ba5f61 = function() {
2915
2915
  const ret = MsgHandler.get_my_services();
2916
2916
  _assertClass(ret, WasmPeerServiceList);
2917
2917
  var ptr1 = ret.__destroy_into_raw();
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.156",
3
+ "version": "0.2.158",
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-eb83d05fba136b5b/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-d5a803e2dbdc91de/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2657,28 +2657,24 @@ function __wbg_get_imports() {
2657
2657
  const ret = getStringFromWasm0(arg0, arg1);
2658
2658
  return addHeapObject(ret);
2659
2659
  };
2660
- imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2661
- const ret = WasmTransaction.__wrap(arg0);
2662
- return addHeapObject(ret);
2663
- };
2664
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2665
- const ret = WasmSlip.__wrap(arg0);
2660
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2661
+ const ret = WasmWalletSlip.__wrap(arg0);
2666
2662
  return addHeapObject(ret);
2667
2663
  };
2668
2664
  imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2669
2665
  const ret = BigInt.asUintN(64, arg0);
2670
2666
  return addHeapObject(ret);
2671
2667
  };
2672
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2673
- const ret = WasmBlock.__wrap(arg0);
2668
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2669
+ const ret = WasmSlip.__wrap(arg0);
2674
2670
  return addHeapObject(ret);
2675
2671
  };
2676
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2677
- const ret = WasmWallet.__wrap(arg0);
2672
+ imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2673
+ const ret = WasmTransaction.__wrap(arg0);
2678
2674
  return addHeapObject(ret);
2679
2675
  };
2680
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2681
- const ret = WasmPeer.__wrap(arg0);
2676
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2677
+ const ret = WasmWallet.__wrap(arg0);
2682
2678
  return addHeapObject(ret);
2683
2679
  };
2684
2680
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
@@ -2689,33 +2685,37 @@ function __wbg_get_imports() {
2689
2685
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2690
2686
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2691
2687
  };
2692
- imports.wbg.__wbg_wasmnft_new = function(arg0) {
2693
- const ret = WasmNFT.__wrap(arg0);
2688
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2689
+ const ret = WasmPeer.__wrap(arg0);
2694
2690
  return addHeapObject(ret);
2695
2691
  };
2696
2692
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
2697
2693
  const ret = getObject(arg0);
2698
2694
  return addHeapObject(ret);
2699
2695
  };
2700
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2701
- const ret = WasmBlockchain.__wrap(arg0);
2696
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2697
+ const ret = WasmBlock.__wrap(arg0);
2702
2698
  return addHeapObject(ret);
2703
2699
  };
2704
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2705
- const ret = WasmWalletSlip.__wrap(arg0);
2700
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2701
+ const ret = WasmBlockchain.__wrap(arg0);
2706
2702
  return addHeapObject(ret);
2707
2703
  };
2708
2704
  imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2709
2705
  const ret = WasmBalanceSnapshot.__wrap(arg0);
2710
2706
  return addHeapObject(ret);
2711
2707
  };
2712
- imports.wbg.__wbg_sendmessage_d40c0efee7e7b535 = function(arg0, arg1) {
2708
+ imports.wbg.__wbg_wasmnft_new = function(arg0) {
2709
+ const ret = WasmNFT.__wrap(arg0);
2710
+ return addHeapObject(ret);
2711
+ };
2712
+ imports.wbg.__wbg_sendmessage_8492c3e4aa185fa3 = function(arg0, arg1) {
2713
2713
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2714
2714
  };
2715
- imports.wbg.__wbg_sendmessagetoall_459e53f3850da9b7 = function(arg0, arg1) {
2715
+ imports.wbg.__wbg_sendmessagetoall_9ac80c9d805abfe5 = function(arg0, arg1) {
2716
2716
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2717
2717
  };
2718
- imports.wbg.__wbg_connecttopeer_5c5de9553b4bb50d = function() { return handleError(function (arg0, arg1, arg2) {
2718
+ imports.wbg.__wbg_connecttopeer_be7964f6f8f5d454 = function() { return handleError(function (arg0, arg1, arg2) {
2719
2719
  let deferred0_0;
2720
2720
  let deferred0_1;
2721
2721
  try {
@@ -2727,11 +2727,11 @@ function __wbg_get_imports() {
2727
2727
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2728
2728
  }
2729
2729
  }, arguments) };
2730
- imports.wbg.__wbg_disconnectfrompeer_2286bc0eb43e6609 = function() { return handleError(function (arg0) {
2730
+ imports.wbg.__wbg_disconnectfrompeer_f023a23d185b5ad5 = function() { return handleError(function (arg0) {
2731
2731
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2732
2732
  return addHeapObject(ret);
2733
2733
  }, arguments) };
2734
- imports.wbg.__wbg_fetchblockfrompeer_3aa81e3a2441e649 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2734
+ imports.wbg.__wbg_fetchblockfrompeer_58abbae56bdeef30 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2735
2735
  let deferred0_0;
2736
2736
  let deferred0_1;
2737
2737
  try {
@@ -2743,7 +2743,7 @@ function __wbg_get_imports() {
2743
2743
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2744
2744
  }
2745
2745
  }, arguments) };
2746
- imports.wbg.__wbg_writevalue_63e132851967c4cf = function(arg0, arg1, arg2) {
2746
+ imports.wbg.__wbg_writevalue_4d3a2278395da6aa = function(arg0, arg1, arg2) {
2747
2747
  let deferred0_0;
2748
2748
  let deferred0_1;
2749
2749
  try {
@@ -2754,7 +2754,7 @@ function __wbg_get_imports() {
2754
2754
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2755
2755
  }
2756
2756
  };
2757
- imports.wbg.__wbg_appendvalue_00db9bb1936742e4 = function(arg0, arg1, arg2) {
2757
+ imports.wbg.__wbg_appendvalue_febe2e1a24fac187 = function(arg0, arg1, arg2) {
2758
2758
  let deferred0_0;
2759
2759
  let deferred0_1;
2760
2760
  try {
@@ -2765,7 +2765,7 @@ function __wbg_get_imports() {
2765
2765
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2766
2766
  }
2767
2767
  };
2768
- imports.wbg.__wbg_flushdata_e331e22ca335c21a = function(arg0, arg1) {
2768
+ imports.wbg.__wbg_flushdata_9e4bb72a629e5e49 = function(arg0, arg1) {
2769
2769
  let deferred0_0;
2770
2770
  let deferred0_1;
2771
2771
  try {
@@ -2776,7 +2776,7 @@ function __wbg_get_imports() {
2776
2776
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2777
2777
  }
2778
2778
  };
2779
- imports.wbg.__wbg_readvalue_0d0477402dead4a1 = function() { return handleError(function (arg0, arg1) {
2779
+ imports.wbg.__wbg_readvalue_c4c06a5f1455e95c = function() { return handleError(function (arg0, arg1) {
2780
2780
  let deferred0_0;
2781
2781
  let deferred0_1;
2782
2782
  try {
@@ -2788,11 +2788,11 @@ function __wbg_get_imports() {
2788
2788
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2789
2789
  }
2790
2790
  }, arguments) };
2791
- imports.wbg.__wbg_loadblockfilelist_c413ba45063f4641 = function() { return handleError(function () {
2791
+ imports.wbg.__wbg_loadblockfilelist_f168073fad329fa9 = function() { return handleError(function () {
2792
2792
  const ret = MsgHandler.load_block_file_list();
2793
2793
  return addHeapObject(ret);
2794
2794
  }, arguments) };
2795
- imports.wbg.__wbg_isexistingfile_6ee4bf5317cc269b = function() { return handleError(function (arg0, arg1) {
2795
+ imports.wbg.__wbg_isexistingfile_cbf92029eea88603 = function() { return handleError(function (arg0, arg1) {
2796
2796
  let deferred0_0;
2797
2797
  let deferred0_1;
2798
2798
  try {
@@ -2804,7 +2804,7 @@ function __wbg_get_imports() {
2804
2804
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2805
2805
  }
2806
2806
  }, arguments) };
2807
- imports.wbg.__wbg_removevalue_16eb84e4c7ab14dd = function() { return handleError(function (arg0, arg1) {
2807
+ imports.wbg.__wbg_removevalue_bf610bb899bf33fe = function() { return handleError(function (arg0, arg1) {
2808
2808
  let deferred0_0;
2809
2809
  let deferred0_1;
2810
2810
  try {
@@ -2816,7 +2816,7 @@ function __wbg_get_imports() {
2816
2816
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2817
2817
  }
2818
2818
  }, arguments) };
2819
- imports.wbg.__wbg_ensureblockdirectoryexists_fab14dec16187364 = function() { return handleError(function (arg0, arg1) {
2819
+ imports.wbg.__wbg_ensureblockdirectoryexists_e9adff8f8b7d0fe5 = function() { return handleError(function (arg0, arg1) {
2820
2820
  let deferred0_0;
2821
2821
  let deferred0_1;
2822
2822
  try {
@@ -2827,16 +2827,16 @@ function __wbg_get_imports() {
2827
2827
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2828
2828
  }
2829
2829
  }, arguments) };
2830
- imports.wbg.__wbg_processapicall_c46a3cea3900e424 = function(arg0, arg1, arg2) {
2830
+ imports.wbg.__wbg_processapicall_026c9081668b55fc = function(arg0, arg1, arg2) {
2831
2831
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2832
2832
  };
2833
- imports.wbg.__wbg_processapisuccess_5df52c7cfca162f0 = function(arg0, arg1, arg2) {
2833
+ imports.wbg.__wbg_processapisuccess_a8655d0f4e759e16 = function(arg0, arg1, arg2) {
2834
2834
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2835
2835
  };
2836
- imports.wbg.__wbg_processapierror_2e5743601a9dab32 = function(arg0, arg1, arg2) {
2836
+ imports.wbg.__wbg_processapierror_5cd2da24ed748812 = function(arg0, arg1, arg2) {
2837
2837
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2838
2838
  };
2839
- imports.wbg.__wbg_sendinterfaceevent_252edf0697c7dbce = function(arg0, arg1, arg2, arg3, arg4) {
2839
+ imports.wbg.__wbg_sendinterfaceevent_13a6962c186c4a9b = function(arg0, arg1, arg2, arg3, arg4) {
2840
2840
  let deferred0_0;
2841
2841
  let deferred0_1;
2842
2842
  let deferred1_0;
@@ -2852,7 +2852,7 @@ function __wbg_get_imports() {
2852
2852
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2853
2853
  }
2854
2854
  };
2855
- imports.wbg.__wbg_sendblocksuccess_9556bb881a56d303 = function(arg0, arg1, arg2) {
2855
+ imports.wbg.__wbg_sendblocksuccess_bfd04ffd50101843 = function(arg0, arg1, arg2) {
2856
2856
  let deferred0_0;
2857
2857
  let deferred0_1;
2858
2858
  try {
@@ -2863,10 +2863,10 @@ function __wbg_get_imports() {
2863
2863
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2864
2864
  }
2865
2865
  };
2866
- imports.wbg.__wbg_sendwalletupdate_a1cc68a9ca0e2ac2 = function() {
2866
+ imports.wbg.__wbg_sendwalletupdate_f33737db532bf578 = function() {
2867
2867
  MsgHandler.send_wallet_update();
2868
2868
  };
2869
- imports.wbg.__wbg_sendnewversionalert_f4a34017aec4703b = function(arg0, arg1, arg2) {
2869
+ imports.wbg.__wbg_sendnewversionalert_af63b965d7013acc = function(arg0, arg1, arg2) {
2870
2870
  let deferred0_0;
2871
2871
  let deferred0_1;
2872
2872
  try {
@@ -2877,19 +2877,19 @@ function __wbg_get_imports() {
2877
2877
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2878
2878
  }
2879
2879
  };
2880
- imports.wbg.__wbg_sendblockfetchstatusevent_32e8fb92658f3ff4 = function(arg0) {
2880
+ imports.wbg.__wbg_sendblockfetchstatusevent_9d3a145663c07256 = function(arg0) {
2881
2881
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2882
2882
  };
2883
- imports.wbg.__wbg_sendnewchaindetectedevent_3a37ce6901a92746 = function() {
2883
+ imports.wbg.__wbg_sendnewchaindetectedevent_f6cf318561647c90 = function() {
2884
2884
  MsgHandler.send_new_chain_detected_event();
2885
2885
  };
2886
- imports.wbg.__wbg_savewallet_38a352c2c3b4349f = function() {
2886
+ imports.wbg.__wbg_savewallet_7831820e16d75c9a = function() {
2887
2887
  MsgHandler.save_wallet();
2888
2888
  };
2889
- imports.wbg.__wbg_loadwallet_96e9db6e5f85b038 = function() {
2889
+ imports.wbg.__wbg_loadwallet_5a930ae438b8ac5a = function() {
2890
2890
  MsgHandler.load_wallet();
2891
2891
  };
2892
- imports.wbg.__wbg_getmyservices_026c2b379ed04d32 = function() {
2892
+ imports.wbg.__wbg_getmyservices_a6c1b19069ba5f61 = function() {
2893
2893
  const ret = MsgHandler.get_my_services();
2894
2894
  _assertClass(ret, WasmPeerServiceList);
2895
2895
  var ptr1 = ret.__destroy_into_raw();
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.156",
3
+ "version": "0.2.158",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
@@ -12,7 +12,7 @@
12
12
  "./snippets/*"
13
13
  ],
14
14
  "dependencies": {
15
- "cross-env": "7.0.3",
16
- "node-fetch": "3.3.0"
15
+ "node-fetch": "3.3.0",
16
+ "cross-env": "7.0.3"
17
17
  }
18
18
  }