saito-wasm 0.2.91 → 0.2.92

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.91"
3
+ version = "0.2.92"
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.91",
3
+ "version": "0.2.92",
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-f7efd141dd704c2a/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-2187a02a2c243eb8/js/msg_handler.js`);
5
5
  const { TextEncoder, TextDecoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -102,15 +102,6 @@ function getInt32Memory0() {
102
102
  return cachedInt32Memory0;
103
103
  }
104
104
 
105
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
106
-
107
- cachedTextDecoder.decode();
108
-
109
- function getStringFromWasm0(ptr, len) {
110
- ptr = ptr >>> 0;
111
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
112
- }
113
-
114
105
  function addHeapObject(obj) {
115
106
  if (heap_next === heap.length) heap.push(heap.length + 1);
116
107
  const idx = heap_next;
@@ -120,6 +111,15 @@ function addHeapObject(obj) {
120
111
  return idx;
121
112
  }
122
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() {
@@ -2531,8 +2531,13 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2531
2531
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2532
2532
  };
2533
2533
 
2534
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2535
- const ret = WasmPeer.__wrap(arg0);
2534
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2535
+ const ret = BigInt.asUintN(64, arg0);
2536
+ return addHeapObject(ret);
2537
+ };
2538
+
2539
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2540
+ const ret = WasmWalletSlip.__wrap(arg0);
2536
2541
  return addHeapObject(ret);
2537
2542
  };
2538
2543
 
@@ -2541,8 +2546,13 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2541
2546
  return addHeapObject(ret);
2542
2547
  };
2543
2548
 
2544
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2545
- const ret = BigInt.asUintN(64, arg0);
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);
2546
2556
  return addHeapObject(ret);
2547
2557
  };
2548
2558
 
@@ -2556,18 +2566,13 @@ module.exports.__wbg_wasmslip_new = function(arg0) {
2556
2566
  return addHeapObject(ret);
2557
2567
  };
2558
2568
 
2559
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2560
- const ret = WasmWalletSlip.__wrap(arg0);
2561
- return addHeapObject(ret);
2562
- };
2563
-
2564
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2565
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2569
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2570
+ const ret = WasmPeer.__wrap(arg0);
2566
2571
  return addHeapObject(ret);
2567
2572
  };
2568
2573
 
2569
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2570
- const ret = WasmWallet.__wrap(arg0);
2574
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2575
+ const ret = WasmBlockchain.__wrap(arg0);
2571
2576
  return addHeapObject(ret);
2572
2577
  };
2573
2578
 
@@ -2576,13 +2581,8 @@ module.exports.__wbg_wasmnft_new = function(arg0) {
2576
2581
  return addHeapObject(ret);
2577
2582
  };
2578
2583
 
2579
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2580
- const ret = WasmBlockchain.__wrap(arg0);
2581
- return addHeapObject(ret);
2582
- };
2583
-
2584
- module.exports.__wbg_wasmblock_new = function(arg0) {
2585
- const ret = WasmBlock.__wrap(arg0);
2584
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2585
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2586
2586
  return addHeapObject(ret);
2587
2587
  };
2588
2588
 
@@ -2602,15 +2602,15 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2602
2602
  return ret;
2603
2603
  };
2604
2604
 
2605
- module.exports.__wbg_sendmessage_bcb69449949ecf5f = function(arg0, arg1) {
2605
+ module.exports.__wbg_sendmessage_2cc72e00fc0278a0 = function(arg0, arg1) {
2606
2606
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2607
2607
  };
2608
2608
 
2609
- module.exports.__wbg_sendmessagetoall_8de3636330a1ae14 = function(arg0, arg1) {
2609
+ module.exports.__wbg_sendmessagetoall_fba609cb2d495b08 = function(arg0, arg1) {
2610
2610
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2611
2611
  };
2612
2612
 
2613
- module.exports.__wbg_connecttopeer_f0aa249c0cb260bb = function() { return handleError(function (arg0, arg1, arg2) {
2613
+ module.exports.__wbg_connecttopeer_554f3f15077ac031 = function() { return handleError(function (arg0, arg1, arg2) {
2614
2614
  let deferred0_0;
2615
2615
  let deferred0_1;
2616
2616
  try {
@@ -2623,12 +2623,12 @@ module.exports.__wbg_connecttopeer_f0aa249c0cb260bb = function() { return handle
2623
2623
  }
2624
2624
  }, arguments) };
2625
2625
 
2626
- module.exports.__wbg_disconnectfrompeer_370fae8ec2368aa9 = function() { return handleError(function (arg0) {
2626
+ module.exports.__wbg_disconnectfrompeer_a7c0dd6a4b663eeb = function() { return handleError(function (arg0) {
2627
2627
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2628
2628
  return addHeapObject(ret);
2629
2629
  }, arguments) };
2630
2630
 
2631
- module.exports.__wbg_fetchblockfrompeer_446802cc5a0e8f24 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2631
+ module.exports.__wbg_fetchblockfrompeer_68f9851b4d8c62e1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2632
2632
  let deferred0_0;
2633
2633
  let deferred0_1;
2634
2634
  try {
@@ -2641,7 +2641,7 @@ module.exports.__wbg_fetchblockfrompeer_446802cc5a0e8f24 = function() { return h
2641
2641
  }
2642
2642
  }, arguments) };
2643
2643
 
2644
- module.exports.__wbg_writevalue_7f197a2c14d6ffad = function(arg0, arg1, arg2) {
2644
+ module.exports.__wbg_writevalue_f0b1a47707b585ee = function(arg0, arg1, arg2) {
2645
2645
  let deferred0_0;
2646
2646
  let deferred0_1;
2647
2647
  try {
@@ -2653,7 +2653,7 @@ module.exports.__wbg_writevalue_7f197a2c14d6ffad = function(arg0, arg1, arg2) {
2653
2653
  }
2654
2654
  };
2655
2655
 
2656
- module.exports.__wbg_appendvalue_8121a88094f3f7a8 = function(arg0, arg1, arg2) {
2656
+ module.exports.__wbg_appendvalue_43a03b7f6e8bc3f8 = function(arg0, arg1, arg2) {
2657
2657
  let deferred0_0;
2658
2658
  let deferred0_1;
2659
2659
  try {
@@ -2665,7 +2665,7 @@ module.exports.__wbg_appendvalue_8121a88094f3f7a8 = function(arg0, arg1, arg2) {
2665
2665
  }
2666
2666
  };
2667
2667
 
2668
- module.exports.__wbg_flushdata_2b2068dbe003e2b6 = function(arg0, arg1) {
2668
+ module.exports.__wbg_flushdata_a22719b1de10fae6 = function(arg0, arg1) {
2669
2669
  let deferred0_0;
2670
2670
  let deferred0_1;
2671
2671
  try {
@@ -2677,7 +2677,7 @@ module.exports.__wbg_flushdata_2b2068dbe003e2b6 = function(arg0, arg1) {
2677
2677
  }
2678
2678
  };
2679
2679
 
2680
- module.exports.__wbg_readvalue_b21d23088be046b6 = function() { return handleError(function (arg0, arg1) {
2680
+ module.exports.__wbg_readvalue_8ca3ec0ce9fa23f1 = function() { return handleError(function (arg0, arg1) {
2681
2681
  let deferred0_0;
2682
2682
  let deferred0_1;
2683
2683
  try {
@@ -2690,12 +2690,12 @@ module.exports.__wbg_readvalue_b21d23088be046b6 = function() { return handleErro
2690
2690
  }
2691
2691
  }, arguments) };
2692
2692
 
2693
- module.exports.__wbg_loadblockfilelist_06fd87ff516e9b04 = function() { return handleError(function () {
2693
+ module.exports.__wbg_loadblockfilelist_f0af0b056e92c1d0 = function() { return handleError(function () {
2694
2694
  const ret = MsgHandler.load_block_file_list();
2695
2695
  return addHeapObject(ret);
2696
2696
  }, arguments) };
2697
2697
 
2698
- module.exports.__wbg_isexistingfile_f6d46fc85bf42315 = function() { return handleError(function (arg0, arg1) {
2698
+ module.exports.__wbg_isexistingfile_ed62cf41d8c1c005 = function() { return handleError(function (arg0, arg1) {
2699
2699
  let deferred0_0;
2700
2700
  let deferred0_1;
2701
2701
  try {
@@ -2708,7 +2708,7 @@ module.exports.__wbg_isexistingfile_f6d46fc85bf42315 = function() { return handl
2708
2708
  }
2709
2709
  }, arguments) };
2710
2710
 
2711
- module.exports.__wbg_removevalue_fed69886decc678c = function() { return handleError(function (arg0, arg1) {
2711
+ module.exports.__wbg_removevalue_263995812850f622 = function() { return handleError(function (arg0, arg1) {
2712
2712
  let deferred0_0;
2713
2713
  let deferred0_1;
2714
2714
  try {
@@ -2721,7 +2721,7 @@ module.exports.__wbg_removevalue_fed69886decc678c = function() { return handleEr
2721
2721
  }
2722
2722
  }, arguments) };
2723
2723
 
2724
- module.exports.__wbg_ensureblockdirectoryexists_2fabac0174f39885 = function() { return handleError(function (arg0, arg1) {
2724
+ module.exports.__wbg_ensureblockdirectoryexists_77220afe98751872 = function() { return handleError(function (arg0, arg1) {
2725
2725
  let deferred0_0;
2726
2726
  let deferred0_1;
2727
2727
  try {
@@ -2733,19 +2733,19 @@ module.exports.__wbg_ensureblockdirectoryexists_2fabac0174f39885 = function() {
2733
2733
  }
2734
2734
  }, arguments) };
2735
2735
 
2736
- module.exports.__wbg_processapicall_4c22e8bc8bacc81b = function(arg0, arg1, arg2) {
2736
+ module.exports.__wbg_processapicall_5bccc2dc9bc579b9 = function(arg0, arg1, arg2) {
2737
2737
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2738
2738
  };
2739
2739
 
2740
- module.exports.__wbg_processapisuccess_3eb33d090d75d7d6 = function(arg0, arg1, arg2) {
2740
+ module.exports.__wbg_processapisuccess_6886f4216fa3311d = function(arg0, arg1, arg2) {
2741
2741
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2742
2742
  };
2743
2743
 
2744
- module.exports.__wbg_processapierror_9b116ad739ee81b9 = function(arg0, arg1, arg2) {
2744
+ module.exports.__wbg_processapierror_1cdcf499edb234f7 = function(arg0, arg1, arg2) {
2745
2745
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2746
2746
  };
2747
2747
 
2748
- module.exports.__wbg_sendinterfaceevent_74088ba4c3a6770e = function(arg0, arg1, arg2, arg3, arg4) {
2748
+ module.exports.__wbg_sendinterfaceevent_51d8868cedc4e09c = function(arg0, arg1, arg2, arg3, arg4) {
2749
2749
  let deferred0_0;
2750
2750
  let deferred0_1;
2751
2751
  let deferred1_0;
@@ -2762,7 +2762,7 @@ module.exports.__wbg_sendinterfaceevent_74088ba4c3a6770e = function(arg0, arg1,
2762
2762
  }
2763
2763
  };
2764
2764
 
2765
- module.exports.__wbg_sendblocksuccess_59aa6c448defd85b = function(arg0, arg1, arg2) {
2765
+ module.exports.__wbg_sendblocksuccess_931806c4c27c7e84 = function(arg0, arg1, arg2) {
2766
2766
  let deferred0_0;
2767
2767
  let deferred0_1;
2768
2768
  try {
@@ -2774,11 +2774,11 @@ module.exports.__wbg_sendblocksuccess_59aa6c448defd85b = function(arg0, arg1, ar
2774
2774
  }
2775
2775
  };
2776
2776
 
2777
- module.exports.__wbg_sendwalletupdate_294efd44c64954db = function() {
2777
+ module.exports.__wbg_sendwalletupdate_65cd49d6fc1fcf12 = function() {
2778
2778
  MsgHandler.send_wallet_update();
2779
2779
  };
2780
2780
 
2781
- module.exports.__wbg_sendnewversionalert_3d8a016478a008a8 = function(arg0, arg1, arg2) {
2781
+ module.exports.__wbg_sendnewversionalert_da233e41694eb1a7 = function(arg0, arg1, arg2) {
2782
2782
  let deferred0_0;
2783
2783
  let deferred0_1;
2784
2784
  try {
@@ -2790,19 +2790,19 @@ module.exports.__wbg_sendnewversionalert_3d8a016478a008a8 = function(arg0, arg1,
2790
2790
  }
2791
2791
  };
2792
2792
 
2793
- module.exports.__wbg_sendblockfetchstatusevent_88a23787c102103b = function(arg0) {
2793
+ module.exports.__wbg_sendblockfetchstatusevent_dc67bd546a91a3b6 = function(arg0) {
2794
2794
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2795
2795
  };
2796
2796
 
2797
- module.exports.__wbg_savewallet_b8dcef91791f45a0 = function() {
2797
+ module.exports.__wbg_savewallet_6e9051fdef7a5ecd = function() {
2798
2798
  MsgHandler.save_wallet();
2799
2799
  };
2800
2800
 
2801
- module.exports.__wbg_loadwallet_4420613b5d56134a = function() {
2801
+ module.exports.__wbg_loadwallet_38972e37f58f9dba = function() {
2802
2802
  MsgHandler.load_wallet();
2803
2803
  };
2804
2804
 
2805
- module.exports.__wbg_getmyservices_70704d160a1a8c49 = function() {
2805
+ module.exports.__wbg_getmyservices_7c865ca0017a4b1c = function() {
2806
2806
  const ret = MsgHandler.get_my_services();
2807
2807
  _assertClass(ret, WasmPeerServiceList);
2808
2808
  var ptr1 = ret.__destroy_into_raw();
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.91",
3
+ "version": "0.2.92",
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-f7efd141dd704c2a/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-2187a02a2c243eb8/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -100,15 +100,6 @@ function getInt32Memory0() {
100
100
  return cachedInt32Memory0;
101
101
  }
102
102
 
103
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
104
-
105
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
106
-
107
- function getStringFromWasm0(ptr, len) {
108
- ptr = ptr >>> 0;
109
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
110
- }
111
-
112
103
  function addHeapObject(obj) {
113
104
  if (heap_next === heap.length) heap.push(heap.length + 1);
114
105
  const idx = heap_next;
@@ -118,6 +109,15 @@ function addHeapObject(obj) {
118
109
  return idx;
119
110
  }
120
111
 
112
+ const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
113
+
114
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
115
+
116
+ function getStringFromWasm0(ptr, len) {
117
+ ptr = ptr >>> 0;
118
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
119
+ }
120
+
121
121
  let cachedFloat64Memory0 = null;
122
122
 
123
123
  function getFloat64Memory0() {
@@ -2546,16 +2546,24 @@ function __wbg_get_imports() {
2546
2546
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2547
2547
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2548
2548
  };
2549
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2550
- const ret = WasmPeer.__wrap(arg0);
2549
+ imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2550
+ const ret = BigInt.asUintN(64, arg0);
2551
+ return addHeapObject(ret);
2552
+ };
2553
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2554
+ const ret = WasmWalletSlip.__wrap(arg0);
2551
2555
  return addHeapObject(ret);
2552
2556
  };
2553
2557
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2554
2558
  const ret = getStringFromWasm0(arg0, arg1);
2555
2559
  return addHeapObject(ret);
2556
2560
  };
2557
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2558
- const ret = BigInt.asUintN(64, arg0);
2561
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2562
+ const ret = WasmWallet.__wrap(arg0);
2563
+ return addHeapObject(ret);
2564
+ };
2565
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2566
+ const ret = WasmBlock.__wrap(arg0);
2559
2567
  return addHeapObject(ret);
2560
2568
  };
2561
2569
  imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
@@ -2566,28 +2574,20 @@ function __wbg_get_imports() {
2566
2574
  const ret = WasmSlip.__wrap(arg0);
2567
2575
  return addHeapObject(ret);
2568
2576
  };
2569
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2570
- const ret = WasmWalletSlip.__wrap(arg0);
2571
- return addHeapObject(ret);
2572
- };
2573
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2574
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2577
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2578
+ const ret = WasmPeer.__wrap(arg0);
2575
2579
  return addHeapObject(ret);
2576
2580
  };
2577
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2578
- const ret = WasmWallet.__wrap(arg0);
2581
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2582
+ const ret = WasmBlockchain.__wrap(arg0);
2579
2583
  return addHeapObject(ret);
2580
2584
  };
2581
2585
  imports.wbg.__wbg_wasmnft_new = function(arg0) {
2582
2586
  const ret = WasmNFT.__wrap(arg0);
2583
2587
  return addHeapObject(ret);
2584
2588
  };
2585
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2586
- const ret = WasmBlockchain.__wrap(arg0);
2587
- return addHeapObject(ret);
2588
- };
2589
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2590
- const ret = WasmBlock.__wrap(arg0);
2589
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2590
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2591
2591
  return addHeapObject(ret);
2592
2592
  };
2593
2593
  imports.wbg.__wbindgen_is_object = function(arg0) {
@@ -2603,13 +2603,13 @@ function __wbg_get_imports() {
2603
2603
  const ret = getObject(arg0) in getObject(arg1);
2604
2604
  return ret;
2605
2605
  };
2606
- imports.wbg.__wbg_sendmessage_bcb69449949ecf5f = function(arg0, arg1) {
2606
+ imports.wbg.__wbg_sendmessage_2cc72e00fc0278a0 = function(arg0, arg1) {
2607
2607
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2608
2608
  };
2609
- imports.wbg.__wbg_sendmessagetoall_8de3636330a1ae14 = function(arg0, arg1) {
2609
+ imports.wbg.__wbg_sendmessagetoall_fba609cb2d495b08 = function(arg0, arg1) {
2610
2610
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2611
2611
  };
2612
- imports.wbg.__wbg_connecttopeer_f0aa249c0cb260bb = function() { return handleError(function (arg0, arg1, arg2) {
2612
+ imports.wbg.__wbg_connecttopeer_554f3f15077ac031 = function() { return handleError(function (arg0, arg1, arg2) {
2613
2613
  let deferred0_0;
2614
2614
  let deferred0_1;
2615
2615
  try {
@@ -2621,11 +2621,11 @@ function __wbg_get_imports() {
2621
2621
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2622
2622
  }
2623
2623
  }, arguments) };
2624
- imports.wbg.__wbg_disconnectfrompeer_370fae8ec2368aa9 = function() { return handleError(function (arg0) {
2624
+ imports.wbg.__wbg_disconnectfrompeer_a7c0dd6a4b663eeb = function() { return handleError(function (arg0) {
2625
2625
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2626
2626
  return addHeapObject(ret);
2627
2627
  }, arguments) };
2628
- imports.wbg.__wbg_fetchblockfrompeer_446802cc5a0e8f24 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2628
+ imports.wbg.__wbg_fetchblockfrompeer_68f9851b4d8c62e1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2629
2629
  let deferred0_0;
2630
2630
  let deferred0_1;
2631
2631
  try {
@@ -2637,7 +2637,7 @@ function __wbg_get_imports() {
2637
2637
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2638
2638
  }
2639
2639
  }, arguments) };
2640
- imports.wbg.__wbg_writevalue_7f197a2c14d6ffad = function(arg0, arg1, arg2) {
2640
+ imports.wbg.__wbg_writevalue_f0b1a47707b585ee = function(arg0, arg1, arg2) {
2641
2641
  let deferred0_0;
2642
2642
  let deferred0_1;
2643
2643
  try {
@@ -2648,7 +2648,7 @@ function __wbg_get_imports() {
2648
2648
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2649
2649
  }
2650
2650
  };
2651
- imports.wbg.__wbg_appendvalue_8121a88094f3f7a8 = function(arg0, arg1, arg2) {
2651
+ imports.wbg.__wbg_appendvalue_43a03b7f6e8bc3f8 = function(arg0, arg1, arg2) {
2652
2652
  let deferred0_0;
2653
2653
  let deferred0_1;
2654
2654
  try {
@@ -2659,7 +2659,7 @@ function __wbg_get_imports() {
2659
2659
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2660
2660
  }
2661
2661
  };
2662
- imports.wbg.__wbg_flushdata_2b2068dbe003e2b6 = function(arg0, arg1) {
2662
+ imports.wbg.__wbg_flushdata_a22719b1de10fae6 = function(arg0, arg1) {
2663
2663
  let deferred0_0;
2664
2664
  let deferred0_1;
2665
2665
  try {
@@ -2670,7 +2670,7 @@ function __wbg_get_imports() {
2670
2670
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2671
2671
  }
2672
2672
  };
2673
- imports.wbg.__wbg_readvalue_b21d23088be046b6 = function() { return handleError(function (arg0, arg1) {
2673
+ imports.wbg.__wbg_readvalue_8ca3ec0ce9fa23f1 = function() { return handleError(function (arg0, arg1) {
2674
2674
  let deferred0_0;
2675
2675
  let deferred0_1;
2676
2676
  try {
@@ -2682,11 +2682,11 @@ function __wbg_get_imports() {
2682
2682
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2683
2683
  }
2684
2684
  }, arguments) };
2685
- imports.wbg.__wbg_loadblockfilelist_06fd87ff516e9b04 = function() { return handleError(function () {
2685
+ imports.wbg.__wbg_loadblockfilelist_f0af0b056e92c1d0 = function() { return handleError(function () {
2686
2686
  const ret = MsgHandler.load_block_file_list();
2687
2687
  return addHeapObject(ret);
2688
2688
  }, arguments) };
2689
- imports.wbg.__wbg_isexistingfile_f6d46fc85bf42315 = function() { return handleError(function (arg0, arg1) {
2689
+ imports.wbg.__wbg_isexistingfile_ed62cf41d8c1c005 = function() { return handleError(function (arg0, arg1) {
2690
2690
  let deferred0_0;
2691
2691
  let deferred0_1;
2692
2692
  try {
@@ -2698,7 +2698,7 @@ function __wbg_get_imports() {
2698
2698
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2699
2699
  }
2700
2700
  }, arguments) };
2701
- imports.wbg.__wbg_removevalue_fed69886decc678c = function() { return handleError(function (arg0, arg1) {
2701
+ imports.wbg.__wbg_removevalue_263995812850f622 = function() { return handleError(function (arg0, arg1) {
2702
2702
  let deferred0_0;
2703
2703
  let deferred0_1;
2704
2704
  try {
@@ -2710,7 +2710,7 @@ function __wbg_get_imports() {
2710
2710
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2711
2711
  }
2712
2712
  }, arguments) };
2713
- imports.wbg.__wbg_ensureblockdirectoryexists_2fabac0174f39885 = function() { return handleError(function (arg0, arg1) {
2713
+ imports.wbg.__wbg_ensureblockdirectoryexists_77220afe98751872 = function() { return handleError(function (arg0, arg1) {
2714
2714
  let deferred0_0;
2715
2715
  let deferred0_1;
2716
2716
  try {
@@ -2721,16 +2721,16 @@ function __wbg_get_imports() {
2721
2721
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2722
2722
  }
2723
2723
  }, arguments) };
2724
- imports.wbg.__wbg_processapicall_4c22e8bc8bacc81b = function(arg0, arg1, arg2) {
2724
+ imports.wbg.__wbg_processapicall_5bccc2dc9bc579b9 = function(arg0, arg1, arg2) {
2725
2725
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2726
2726
  };
2727
- imports.wbg.__wbg_processapisuccess_3eb33d090d75d7d6 = function(arg0, arg1, arg2) {
2727
+ imports.wbg.__wbg_processapisuccess_6886f4216fa3311d = function(arg0, arg1, arg2) {
2728
2728
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2729
2729
  };
2730
- imports.wbg.__wbg_processapierror_9b116ad739ee81b9 = function(arg0, arg1, arg2) {
2730
+ imports.wbg.__wbg_processapierror_1cdcf499edb234f7 = function(arg0, arg1, arg2) {
2731
2731
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2732
2732
  };
2733
- imports.wbg.__wbg_sendinterfaceevent_74088ba4c3a6770e = function(arg0, arg1, arg2, arg3, arg4) {
2733
+ imports.wbg.__wbg_sendinterfaceevent_51d8868cedc4e09c = function(arg0, arg1, arg2, arg3, arg4) {
2734
2734
  let deferred0_0;
2735
2735
  let deferred0_1;
2736
2736
  let deferred1_0;
@@ -2746,7 +2746,7 @@ function __wbg_get_imports() {
2746
2746
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2747
2747
  }
2748
2748
  };
2749
- imports.wbg.__wbg_sendblocksuccess_59aa6c448defd85b = function(arg0, arg1, arg2) {
2749
+ imports.wbg.__wbg_sendblocksuccess_931806c4c27c7e84 = function(arg0, arg1, arg2) {
2750
2750
  let deferred0_0;
2751
2751
  let deferred0_1;
2752
2752
  try {
@@ -2757,10 +2757,10 @@ function __wbg_get_imports() {
2757
2757
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2758
2758
  }
2759
2759
  };
2760
- imports.wbg.__wbg_sendwalletupdate_294efd44c64954db = function() {
2760
+ imports.wbg.__wbg_sendwalletupdate_65cd49d6fc1fcf12 = function() {
2761
2761
  MsgHandler.send_wallet_update();
2762
2762
  };
2763
- imports.wbg.__wbg_sendnewversionalert_3d8a016478a008a8 = function(arg0, arg1, arg2) {
2763
+ imports.wbg.__wbg_sendnewversionalert_da233e41694eb1a7 = function(arg0, arg1, arg2) {
2764
2764
  let deferred0_0;
2765
2765
  let deferred0_1;
2766
2766
  try {
@@ -2771,16 +2771,16 @@ function __wbg_get_imports() {
2771
2771
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2772
2772
  }
2773
2773
  };
2774
- imports.wbg.__wbg_sendblockfetchstatusevent_88a23787c102103b = function(arg0) {
2774
+ imports.wbg.__wbg_sendblockfetchstatusevent_dc67bd546a91a3b6 = function(arg0) {
2775
2775
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2776
2776
  };
2777
- imports.wbg.__wbg_savewallet_b8dcef91791f45a0 = function() {
2777
+ imports.wbg.__wbg_savewallet_6e9051fdef7a5ecd = function() {
2778
2778
  MsgHandler.save_wallet();
2779
2779
  };
2780
- imports.wbg.__wbg_loadwallet_4420613b5d56134a = function() {
2780
+ imports.wbg.__wbg_loadwallet_38972e37f58f9dba = function() {
2781
2781
  MsgHandler.load_wallet();
2782
2782
  };
2783
- imports.wbg.__wbg_getmyservices_70704d160a1a8c49 = function() {
2783
+ imports.wbg.__wbg_getmyservices_7c865ca0017a4b1c = function() {
2784
2784
  const ret = MsgHandler.get_my_services();
2785
2785
  _assertClass(ret, WasmPeerServiceList);
2786
2786
  var ptr1 = ret.__destroy_into_raw();
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.91",
3
+ "version": "0.2.92",
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
- "node-fetch": "^3.3.0",
16
- "cross-env": "^7.0.3"
15
+ "cross-env": "^7.0.3",
16
+ "node-fetch": "^3.3.0"
17
17
  }
18
18
  }