saito-wasm 0.2.106 → 0.2.107

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.106"
3
+ version = "0.2.107"
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.106",
3
+ "version": "0.2.107",
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-2805e956c09ad1ef/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-305451b3cd025a23/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2612,8 +2612,13 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
2612
2612
  takeObject(arg0);
2613
2613
  };
2614
2614
 
2615
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2616
- const ret = WasmPeer.__wrap(arg0);
2615
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2616
+ const ret = WasmBlockchain.__wrap(arg0);
2617
+ return addHeapObject(ret);
2618
+ };
2619
+
2620
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2621
+ const ret = WasmWalletSlip.__wrap(arg0);
2617
2622
  return addHeapObject(ret);
2618
2623
  };
2619
2624
 
@@ -2622,18 +2627,14 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2622
2627
  return addHeapObject(ret);
2623
2628
  };
2624
2629
 
2625
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2626
- const ret = WasmTransaction.__wrap(arg0);
2630
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2631
+ const ret = WasmBlock.__wrap(arg0);
2627
2632
  return addHeapObject(ret);
2628
2633
  };
2629
2634
 
2630
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
2631
- const obj = getObject(arg1);
2632
- const ret = typeof(obj) === 'string' ? obj : undefined;
2633
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2634
- var len1 = WASM_VECTOR_LEN;
2635
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2636
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2635
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2636
+ const ret = WasmTransaction.__wrap(arg0);
2637
+ return addHeapObject(ret);
2637
2638
  };
2638
2639
 
2639
2640
  module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
@@ -2641,23 +2642,22 @@ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2641
2642
  return addHeapObject(ret);
2642
2643
  };
2643
2644
 
2644
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2645
- const ret = WasmBlockchain.__wrap(arg0);
2646
- return addHeapObject(ret);
2647
- };
2648
-
2649
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2650
- const ret = WasmWalletSlip.__wrap(arg0);
2645
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2646
+ const ret = WasmPeer.__wrap(arg0);
2651
2647
  return addHeapObject(ret);
2652
2648
  };
2653
2649
 
2654
- module.exports.__wbg_wasmblock_new = function(arg0) {
2655
- const ret = WasmBlock.__wrap(arg0);
2656
- return addHeapObject(ret);
2650
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2651
+ const obj = getObject(arg1);
2652
+ const ret = typeof(obj) === 'string' ? obj : undefined;
2653
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2654
+ var len1 = WASM_VECTOR_LEN;
2655
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2656
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2657
2657
  };
2658
2658
 
2659
- module.exports.__wbg_wasmnft_new = function(arg0) {
2660
- const ret = WasmNFT.__wrap(arg0);
2659
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2660
+ const ret = WasmWallet.__wrap(arg0);
2661
2661
  return addHeapObject(ret);
2662
2662
  };
2663
2663
 
@@ -2666,8 +2666,8 @@ module.exports.__wbg_wasmslip_new = function(arg0) {
2666
2666
  return addHeapObject(ret);
2667
2667
  };
2668
2668
 
2669
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2670
- const ret = WasmWallet.__wrap(arg0);
2669
+ module.exports.__wbg_wasmnft_new = function(arg0) {
2670
+ const ret = WasmNFT.__wrap(arg0);
2671
2671
  return addHeapObject(ret);
2672
2672
  };
2673
2673
 
@@ -2687,15 +2687,15 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2687
2687
  return ret;
2688
2688
  };
2689
2689
 
2690
- module.exports.__wbg_sendmessage_8e073e608202bb44 = function(arg0, arg1) {
2690
+ module.exports.__wbg_sendmessage_8b1e9aa9e612be29 = function(arg0, arg1) {
2691
2691
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2692
2692
  };
2693
2693
 
2694
- module.exports.__wbg_sendmessagetoall_270db390550791f4 = function(arg0, arg1) {
2694
+ module.exports.__wbg_sendmessagetoall_cbd4706fa3cc1e57 = function(arg0, arg1) {
2695
2695
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2696
2696
  };
2697
2697
 
2698
- module.exports.__wbg_connecttopeer_ade73de98feaac19 = function() { return handleError(function (arg0, arg1, arg2) {
2698
+ module.exports.__wbg_connecttopeer_adf10607e373b70c = function() { return handleError(function (arg0, arg1, arg2) {
2699
2699
  let deferred0_0;
2700
2700
  let deferred0_1;
2701
2701
  try {
@@ -2708,12 +2708,12 @@ module.exports.__wbg_connecttopeer_ade73de98feaac19 = function() { return handle
2708
2708
  }
2709
2709
  }, arguments) };
2710
2710
 
2711
- module.exports.__wbg_disconnectfrompeer_2dc7af1e5ee5229f = function() { return handleError(function (arg0) {
2711
+ module.exports.__wbg_disconnectfrompeer_44163717bbed0bc9 = function() { return handleError(function (arg0) {
2712
2712
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2713
2713
  return addHeapObject(ret);
2714
2714
  }, arguments) };
2715
2715
 
2716
- module.exports.__wbg_fetchblockfrompeer_1b6c49d11c7dcb4e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2716
+ module.exports.__wbg_fetchblockfrompeer_4d74a17671d2d274 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2717
2717
  let deferred0_0;
2718
2718
  let deferred0_1;
2719
2719
  try {
@@ -2726,7 +2726,7 @@ module.exports.__wbg_fetchblockfrompeer_1b6c49d11c7dcb4e = function() { return h
2726
2726
  }
2727
2727
  }, arguments) };
2728
2728
 
2729
- module.exports.__wbg_writevalue_890f7c57d1bd34c4 = function(arg0, arg1, arg2) {
2729
+ module.exports.__wbg_writevalue_c35c4beb924dce12 = function(arg0, arg1, arg2) {
2730
2730
  let deferred0_0;
2731
2731
  let deferred0_1;
2732
2732
  try {
@@ -2738,7 +2738,7 @@ module.exports.__wbg_writevalue_890f7c57d1bd34c4 = function(arg0, arg1, arg2) {
2738
2738
  }
2739
2739
  };
2740
2740
 
2741
- module.exports.__wbg_appendvalue_11f880c58403b043 = function(arg0, arg1, arg2) {
2741
+ module.exports.__wbg_appendvalue_09b55b297c0109f0 = function(arg0, arg1, arg2) {
2742
2742
  let deferred0_0;
2743
2743
  let deferred0_1;
2744
2744
  try {
@@ -2750,7 +2750,7 @@ module.exports.__wbg_appendvalue_11f880c58403b043 = function(arg0, arg1, arg2) {
2750
2750
  }
2751
2751
  };
2752
2752
 
2753
- module.exports.__wbg_flushdata_79d5d86f6d2eac1e = function(arg0, arg1) {
2753
+ module.exports.__wbg_flushdata_a029b0d7cdf228df = function(arg0, arg1) {
2754
2754
  let deferred0_0;
2755
2755
  let deferred0_1;
2756
2756
  try {
@@ -2762,7 +2762,7 @@ module.exports.__wbg_flushdata_79d5d86f6d2eac1e = function(arg0, arg1) {
2762
2762
  }
2763
2763
  };
2764
2764
 
2765
- module.exports.__wbg_readvalue_1bebd1631a20e2fd = function() { return handleError(function (arg0, arg1) {
2765
+ module.exports.__wbg_readvalue_cf76a61a1a788e48 = function() { return handleError(function (arg0, arg1) {
2766
2766
  let deferred0_0;
2767
2767
  let deferred0_1;
2768
2768
  try {
@@ -2775,12 +2775,12 @@ module.exports.__wbg_readvalue_1bebd1631a20e2fd = function() { return handleErro
2775
2775
  }
2776
2776
  }, arguments) };
2777
2777
 
2778
- module.exports.__wbg_loadblockfilelist_a6458b564ee5f7a2 = function() { return handleError(function () {
2778
+ module.exports.__wbg_loadblockfilelist_f7e699a8d6c8a6b5 = function() { return handleError(function () {
2779
2779
  const ret = MsgHandler.load_block_file_list();
2780
2780
  return addHeapObject(ret);
2781
2781
  }, arguments) };
2782
2782
 
2783
- module.exports.__wbg_isexistingfile_0162f89b2109dda7 = function() { return handleError(function (arg0, arg1) {
2783
+ module.exports.__wbg_isexistingfile_22ee29c86e4f1ec8 = function() { return handleError(function (arg0, arg1) {
2784
2784
  let deferred0_0;
2785
2785
  let deferred0_1;
2786
2786
  try {
@@ -2793,7 +2793,7 @@ module.exports.__wbg_isexistingfile_0162f89b2109dda7 = function() { return handl
2793
2793
  }
2794
2794
  }, arguments) };
2795
2795
 
2796
- module.exports.__wbg_removevalue_a1735712d7914abc = function() { return handleError(function (arg0, arg1) {
2796
+ module.exports.__wbg_removevalue_8ba4d237912233b5 = function() { return handleError(function (arg0, arg1) {
2797
2797
  let deferred0_0;
2798
2798
  let deferred0_1;
2799
2799
  try {
@@ -2806,7 +2806,7 @@ module.exports.__wbg_removevalue_a1735712d7914abc = function() { return handleEr
2806
2806
  }
2807
2807
  }, arguments) };
2808
2808
 
2809
- module.exports.__wbg_ensureblockdirectoryexists_afae652a6586249f = function() { return handleError(function (arg0, arg1) {
2809
+ module.exports.__wbg_ensureblockdirectoryexists_092c14797fa3c252 = function() { return handleError(function (arg0, arg1) {
2810
2810
  let deferred0_0;
2811
2811
  let deferred0_1;
2812
2812
  try {
@@ -2818,19 +2818,19 @@ module.exports.__wbg_ensureblockdirectoryexists_afae652a6586249f = function() {
2818
2818
  }
2819
2819
  }, arguments) };
2820
2820
 
2821
- module.exports.__wbg_processapicall_24cb1fb059750f36 = function(arg0, arg1, arg2) {
2821
+ module.exports.__wbg_processapicall_a1e76c9cb37ff7ee = function(arg0, arg1, arg2) {
2822
2822
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2823
2823
  };
2824
2824
 
2825
- module.exports.__wbg_processapisuccess_622bfa80a0d0262e = function(arg0, arg1, arg2) {
2825
+ module.exports.__wbg_processapisuccess_7c4a1caec7df8b6d = function(arg0, arg1, arg2) {
2826
2826
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2827
2827
  };
2828
2828
 
2829
- module.exports.__wbg_processapierror_b2ecfa356bcb3f07 = function(arg0, arg1, arg2) {
2829
+ module.exports.__wbg_processapierror_5cde3f3b2c4d928c = function(arg0, arg1, arg2) {
2830
2830
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2831
2831
  };
2832
2832
 
2833
- module.exports.__wbg_sendinterfaceevent_c5907c1eb42295f0 = function(arg0, arg1, arg2, arg3, arg4) {
2833
+ module.exports.__wbg_sendinterfaceevent_fb908b9d176d00ca = function(arg0, arg1, arg2, arg3, arg4) {
2834
2834
  let deferred0_0;
2835
2835
  let deferred0_1;
2836
2836
  let deferred1_0;
@@ -2847,7 +2847,7 @@ module.exports.__wbg_sendinterfaceevent_c5907c1eb42295f0 = function(arg0, arg1,
2847
2847
  }
2848
2848
  };
2849
2849
 
2850
- module.exports.__wbg_sendblocksuccess_d50d7c9dccff8db4 = function(arg0, arg1, arg2) {
2850
+ module.exports.__wbg_sendblocksuccess_d2b33cf92e299609 = function(arg0, arg1, arg2) {
2851
2851
  let deferred0_0;
2852
2852
  let deferred0_1;
2853
2853
  try {
@@ -2859,11 +2859,11 @@ module.exports.__wbg_sendblocksuccess_d50d7c9dccff8db4 = function(arg0, arg1, ar
2859
2859
  }
2860
2860
  };
2861
2861
 
2862
- module.exports.__wbg_sendwalletupdate_5e93269a4281810f = function() {
2862
+ module.exports.__wbg_sendwalletupdate_8963a34aa8f6790d = function() {
2863
2863
  MsgHandler.send_wallet_update();
2864
2864
  };
2865
2865
 
2866
- module.exports.__wbg_sendnewversionalert_0e2faaee8b01a901 = function(arg0, arg1, arg2) {
2866
+ module.exports.__wbg_sendnewversionalert_f8d1d9bd1b23b694 = function(arg0, arg1, arg2) {
2867
2867
  let deferred0_0;
2868
2868
  let deferred0_1;
2869
2869
  try {
@@ -2875,19 +2875,19 @@ module.exports.__wbg_sendnewversionalert_0e2faaee8b01a901 = function(arg0, arg1,
2875
2875
  }
2876
2876
  };
2877
2877
 
2878
- module.exports.__wbg_sendblockfetchstatusevent_3dd7d6a6baf8164f = function(arg0) {
2878
+ module.exports.__wbg_sendblockfetchstatusevent_6acfa2fdfbbefbf8 = function(arg0) {
2879
2879
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2880
2880
  };
2881
2881
 
2882
- module.exports.__wbg_savewallet_a2e500d98a041672 = function() {
2882
+ module.exports.__wbg_savewallet_9809cbe22a9ccffc = function() {
2883
2883
  MsgHandler.save_wallet();
2884
2884
  };
2885
2885
 
2886
- module.exports.__wbg_loadwallet_8e500f8607fc5cea = function() {
2886
+ module.exports.__wbg_loadwallet_6897da224a7a145a = function() {
2887
2887
  MsgHandler.load_wallet();
2888
2888
  };
2889
2889
 
2890
- module.exports.__wbg_getmyservices_02b5d2c1eeedbf7e = function() {
2890
+ module.exports.__wbg_getmyservices_c5ab4e2406009d82 = function() {
2891
2891
  const ret = MsgHandler.get_my_services();
2892
2892
  _assertClass(ret, WasmPeerServiceList);
2893
2893
  var ptr1 = ret.__destroy_into_raw();
@@ -3275,7 +3275,7 @@ module.exports.__wbindgen_memory = function() {
3275
3275
  return addHeapObject(ret);
3276
3276
  };
3277
3277
 
3278
- module.exports.__wbindgen_closure_wrapper1509 = function(arg0, arg1, arg2) {
3278
+ module.exports.__wbindgen_closure_wrapper1510 = function(arg0, arg1, arg2) {
3279
3279
  const ret = makeMutClosure(arg0, arg1, 541, __wbg_adapter_38);
3280
3280
  return addHeapObject(ret);
3281
3281
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.106",
3
+ "version": "0.2.107",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
package/pkg/web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { MsgHandler } from './snippets/saito-wasm-2805e956c09ad1ef/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-305451b3cd025a23/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2626,18 +2626,34 @@ function __wbg_get_imports() {
2626
2626
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2627
2627
  takeObject(arg0);
2628
2628
  };
2629
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2630
- const ret = WasmPeer.__wrap(arg0);
2629
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2630
+ const ret = WasmBlockchain.__wrap(arg0);
2631
+ return addHeapObject(ret);
2632
+ };
2633
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2634
+ const ret = WasmWalletSlip.__wrap(arg0);
2631
2635
  return addHeapObject(ret);
2632
2636
  };
2633
2637
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2634
2638
  const ret = getStringFromWasm0(arg0, arg1);
2635
2639
  return addHeapObject(ret);
2636
2640
  };
2641
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2642
+ const ret = WasmBlock.__wrap(arg0);
2643
+ return addHeapObject(ret);
2644
+ };
2637
2645
  imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2638
2646
  const ret = WasmTransaction.__wrap(arg0);
2639
2647
  return addHeapObject(ret);
2640
2648
  };
2649
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2650
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2651
+ return addHeapObject(ret);
2652
+ };
2653
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2654
+ const ret = WasmPeer.__wrap(arg0);
2655
+ return addHeapObject(ret);
2656
+ };
2641
2657
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2642
2658
  const obj = getObject(arg1);
2643
2659
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -2646,32 +2662,16 @@ function __wbg_get_imports() {
2646
2662
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2647
2663
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2648
2664
  };
2649
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2650
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2651
- return addHeapObject(ret);
2652
- };
2653
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2654
- const ret = WasmBlockchain.__wrap(arg0);
2655
- return addHeapObject(ret);
2656
- };
2657
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2658
- const ret = WasmWalletSlip.__wrap(arg0);
2659
- return addHeapObject(ret);
2660
- };
2661
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2662
- const ret = WasmBlock.__wrap(arg0);
2663
- return addHeapObject(ret);
2664
- };
2665
- imports.wbg.__wbg_wasmnft_new = function(arg0) {
2666
- const ret = WasmNFT.__wrap(arg0);
2665
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2666
+ const ret = WasmWallet.__wrap(arg0);
2667
2667
  return addHeapObject(ret);
2668
2668
  };
2669
2669
  imports.wbg.__wbg_wasmslip_new = function(arg0) {
2670
2670
  const ret = WasmSlip.__wrap(arg0);
2671
2671
  return addHeapObject(ret);
2672
2672
  };
2673
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2674
- const ret = WasmWallet.__wrap(arg0);
2673
+ imports.wbg.__wbg_wasmnft_new = function(arg0) {
2674
+ const ret = WasmNFT.__wrap(arg0);
2675
2675
  return addHeapObject(ret);
2676
2676
  };
2677
2677
  imports.wbg.__wbindgen_is_object = function(arg0) {
@@ -2687,13 +2687,13 @@ function __wbg_get_imports() {
2687
2687
  const ret = getObject(arg0) in getObject(arg1);
2688
2688
  return ret;
2689
2689
  };
2690
- imports.wbg.__wbg_sendmessage_8e073e608202bb44 = function(arg0, arg1) {
2690
+ imports.wbg.__wbg_sendmessage_8b1e9aa9e612be29 = function(arg0, arg1) {
2691
2691
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2692
2692
  };
2693
- imports.wbg.__wbg_sendmessagetoall_270db390550791f4 = function(arg0, arg1) {
2693
+ imports.wbg.__wbg_sendmessagetoall_cbd4706fa3cc1e57 = function(arg0, arg1) {
2694
2694
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2695
2695
  };
2696
- imports.wbg.__wbg_connecttopeer_ade73de98feaac19 = function() { return handleError(function (arg0, arg1, arg2) {
2696
+ imports.wbg.__wbg_connecttopeer_adf10607e373b70c = function() { return handleError(function (arg0, arg1, arg2) {
2697
2697
  let deferred0_0;
2698
2698
  let deferred0_1;
2699
2699
  try {
@@ -2705,11 +2705,11 @@ function __wbg_get_imports() {
2705
2705
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2706
2706
  }
2707
2707
  }, arguments) };
2708
- imports.wbg.__wbg_disconnectfrompeer_2dc7af1e5ee5229f = function() { return handleError(function (arg0) {
2708
+ imports.wbg.__wbg_disconnectfrompeer_44163717bbed0bc9 = function() { return handleError(function (arg0) {
2709
2709
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2710
2710
  return addHeapObject(ret);
2711
2711
  }, arguments) };
2712
- imports.wbg.__wbg_fetchblockfrompeer_1b6c49d11c7dcb4e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2712
+ imports.wbg.__wbg_fetchblockfrompeer_4d74a17671d2d274 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2713
2713
  let deferred0_0;
2714
2714
  let deferred0_1;
2715
2715
  try {
@@ -2721,7 +2721,7 @@ function __wbg_get_imports() {
2721
2721
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2722
2722
  }
2723
2723
  }, arguments) };
2724
- imports.wbg.__wbg_writevalue_890f7c57d1bd34c4 = function(arg0, arg1, arg2) {
2724
+ imports.wbg.__wbg_writevalue_c35c4beb924dce12 = function(arg0, arg1, arg2) {
2725
2725
  let deferred0_0;
2726
2726
  let deferred0_1;
2727
2727
  try {
@@ -2732,7 +2732,7 @@ function __wbg_get_imports() {
2732
2732
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2733
2733
  }
2734
2734
  };
2735
- imports.wbg.__wbg_appendvalue_11f880c58403b043 = function(arg0, arg1, arg2) {
2735
+ imports.wbg.__wbg_appendvalue_09b55b297c0109f0 = function(arg0, arg1, arg2) {
2736
2736
  let deferred0_0;
2737
2737
  let deferred0_1;
2738
2738
  try {
@@ -2743,7 +2743,7 @@ function __wbg_get_imports() {
2743
2743
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2744
2744
  }
2745
2745
  };
2746
- imports.wbg.__wbg_flushdata_79d5d86f6d2eac1e = function(arg0, arg1) {
2746
+ imports.wbg.__wbg_flushdata_a029b0d7cdf228df = function(arg0, arg1) {
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_readvalue_1bebd1631a20e2fd = function() { return handleError(function (arg0, arg1) {
2757
+ imports.wbg.__wbg_readvalue_cf76a61a1a788e48 = function() { return handleError(function (arg0, arg1) {
2758
2758
  let deferred0_0;
2759
2759
  let deferred0_1;
2760
2760
  try {
@@ -2766,11 +2766,11 @@ function __wbg_get_imports() {
2766
2766
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2767
2767
  }
2768
2768
  }, arguments) };
2769
- imports.wbg.__wbg_loadblockfilelist_a6458b564ee5f7a2 = function() { return handleError(function () {
2769
+ imports.wbg.__wbg_loadblockfilelist_f7e699a8d6c8a6b5 = function() { return handleError(function () {
2770
2770
  const ret = MsgHandler.load_block_file_list();
2771
2771
  return addHeapObject(ret);
2772
2772
  }, arguments) };
2773
- imports.wbg.__wbg_isexistingfile_0162f89b2109dda7 = function() { return handleError(function (arg0, arg1) {
2773
+ imports.wbg.__wbg_isexistingfile_22ee29c86e4f1ec8 = 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_removevalue_a1735712d7914abc = function() { return handleError(function (arg0, arg1) {
2785
+ imports.wbg.__wbg_removevalue_8ba4d237912233b5 = function() { return handleError(function (arg0, arg1) {
2786
2786
  let deferred0_0;
2787
2787
  let deferred0_1;
2788
2788
  try {
@@ -2794,7 +2794,7 @@ function __wbg_get_imports() {
2794
2794
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2795
2795
  }
2796
2796
  }, arguments) };
2797
- imports.wbg.__wbg_ensureblockdirectoryexists_afae652a6586249f = function() { return handleError(function (arg0, arg1) {
2797
+ imports.wbg.__wbg_ensureblockdirectoryexists_092c14797fa3c252 = function() { return handleError(function (arg0, arg1) {
2798
2798
  let deferred0_0;
2799
2799
  let deferred0_1;
2800
2800
  try {
@@ -2805,16 +2805,16 @@ function __wbg_get_imports() {
2805
2805
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2806
2806
  }
2807
2807
  }, arguments) };
2808
- imports.wbg.__wbg_processapicall_24cb1fb059750f36 = function(arg0, arg1, arg2) {
2808
+ imports.wbg.__wbg_processapicall_a1e76c9cb37ff7ee = function(arg0, arg1, arg2) {
2809
2809
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2810
2810
  };
2811
- imports.wbg.__wbg_processapisuccess_622bfa80a0d0262e = function(arg0, arg1, arg2) {
2811
+ imports.wbg.__wbg_processapisuccess_7c4a1caec7df8b6d = function(arg0, arg1, arg2) {
2812
2812
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2813
2813
  };
2814
- imports.wbg.__wbg_processapierror_b2ecfa356bcb3f07 = function(arg0, arg1, arg2) {
2814
+ imports.wbg.__wbg_processapierror_5cde3f3b2c4d928c = function(arg0, arg1, arg2) {
2815
2815
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2816
2816
  };
2817
- imports.wbg.__wbg_sendinterfaceevent_c5907c1eb42295f0 = function(arg0, arg1, arg2, arg3, arg4) {
2817
+ imports.wbg.__wbg_sendinterfaceevent_fb908b9d176d00ca = function(arg0, arg1, arg2, arg3, arg4) {
2818
2818
  let deferred0_0;
2819
2819
  let deferred0_1;
2820
2820
  let deferred1_0;
@@ -2830,7 +2830,7 @@ function __wbg_get_imports() {
2830
2830
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2831
2831
  }
2832
2832
  };
2833
- imports.wbg.__wbg_sendblocksuccess_d50d7c9dccff8db4 = function(arg0, arg1, arg2) {
2833
+ imports.wbg.__wbg_sendblocksuccess_d2b33cf92e299609 = function(arg0, arg1, arg2) {
2834
2834
  let deferred0_0;
2835
2835
  let deferred0_1;
2836
2836
  try {
@@ -2841,10 +2841,10 @@ function __wbg_get_imports() {
2841
2841
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2842
2842
  }
2843
2843
  };
2844
- imports.wbg.__wbg_sendwalletupdate_5e93269a4281810f = function() {
2844
+ imports.wbg.__wbg_sendwalletupdate_8963a34aa8f6790d = function() {
2845
2845
  MsgHandler.send_wallet_update();
2846
2846
  };
2847
- imports.wbg.__wbg_sendnewversionalert_0e2faaee8b01a901 = function(arg0, arg1, arg2) {
2847
+ imports.wbg.__wbg_sendnewversionalert_f8d1d9bd1b23b694 = function(arg0, arg1, arg2) {
2848
2848
  let deferred0_0;
2849
2849
  let deferred0_1;
2850
2850
  try {
@@ -2855,16 +2855,16 @@ function __wbg_get_imports() {
2855
2855
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2856
2856
  }
2857
2857
  };
2858
- imports.wbg.__wbg_sendblockfetchstatusevent_3dd7d6a6baf8164f = function(arg0) {
2858
+ imports.wbg.__wbg_sendblockfetchstatusevent_6acfa2fdfbbefbf8 = function(arg0) {
2859
2859
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2860
2860
  };
2861
- imports.wbg.__wbg_savewallet_a2e500d98a041672 = function() {
2861
+ imports.wbg.__wbg_savewallet_9809cbe22a9ccffc = function() {
2862
2862
  MsgHandler.save_wallet();
2863
2863
  };
2864
- imports.wbg.__wbg_loadwallet_8e500f8607fc5cea = function() {
2864
+ imports.wbg.__wbg_loadwallet_6897da224a7a145a = function() {
2865
2865
  MsgHandler.load_wallet();
2866
2866
  };
2867
- imports.wbg.__wbg_getmyservices_02b5d2c1eeedbf7e = function() {
2867
+ imports.wbg.__wbg_getmyservices_c5ab4e2406009d82 = function() {
2868
2868
  const ret = MsgHandler.get_my_services();
2869
2869
  _assertClass(ret, WasmPeerServiceList);
2870
2870
  var ptr1 = ret.__destroy_into_raw();
@@ -3182,7 +3182,7 @@ function __wbg_get_imports() {
3182
3182
  const ret = wasm.memory;
3183
3183
  return addHeapObject(ret);
3184
3184
  };
3185
- imports.wbg.__wbindgen_closure_wrapper1509 = function(arg0, arg1, arg2) {
3185
+ imports.wbg.__wbindgen_closure_wrapper1510 = function(arg0, arg1, arg2) {
3186
3186
  const ret = makeMutClosure(arg0, arg1, 541, __wbg_adapter_38);
3187
3187
  return addHeapObject(ret);
3188
3188
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.106",
3
+ "version": "0.2.107",
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
  }