saito-wasm 0.2.87 → 0.2.89

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.87"
3
+ version = "0.2.89"
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.87",
3
+ "version": "0.2.89",
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-f6c7343a081e66df/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-09a1c4534e5b725f/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2469,27 +2469,12 @@ class WasmWalletSlip {
2469
2469
  }
2470
2470
  module.exports.WasmWalletSlip = WasmWalletSlip;
2471
2471
 
2472
- module.exports.__wbg_wasmpeer_new = function(arg0) {
2473
- const ret = WasmPeer.__wrap(arg0);
2474
- return addHeapObject(ret);
2475
- };
2476
-
2477
2472
  module.exports.__wbindgen_object_drop_ref = function(arg0) {
2478
2473
  takeObject(arg0);
2479
2474
  };
2480
2475
 
2481
- module.exports.__wbg_wasmnft_new = function(arg0) {
2482
- const ret = WasmNFT.__wrap(arg0);
2483
- return addHeapObject(ret);
2484
- };
2485
-
2486
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2487
- const ret = WasmWallet.__wrap(arg0);
2488
- return addHeapObject(ret);
2489
- };
2490
-
2491
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2492
- const ret = WasmWalletSlip.__wrap(arg0);
2476
+ module.exports.__wbg_wasmpeer_new = function(arg0) {
2477
+ const ret = WasmPeer.__wrap(arg0);
2493
2478
  return addHeapObject(ret);
2494
2479
  };
2495
2480
 
@@ -2498,8 +2483,8 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2498
2483
  return addHeapObject(ret);
2499
2484
  };
2500
2485
 
2501
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2502
- const ret = WasmBlockchain.__wrap(arg0);
2486
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2487
+ const ret = WasmTransaction.__wrap(arg0);
2503
2488
  return addHeapObject(ret);
2504
2489
  };
2505
2490
 
@@ -2508,6 +2493,11 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2508
2493
  return addHeapObject(ret);
2509
2494
  };
2510
2495
 
2496
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2497
+ const ret = WasmWallet.__wrap(arg0);
2498
+ return addHeapObject(ret);
2499
+ };
2500
+
2511
2501
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
2512
2502
  const obj = getObject(arg1);
2513
2503
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -2517,18 +2507,18 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2517
2507
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2518
2508
  };
2519
2509
 
2520
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2521
- const ret = WasmTransaction.__wrap(arg0);
2510
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2511
+ const ret = WasmBlock.__wrap(arg0);
2522
2512
  return addHeapObject(ret);
2523
2513
  };
2524
2514
 
2525
- module.exports.__wbg_wasmslip_new = function(arg0) {
2526
- const ret = WasmSlip.__wrap(arg0);
2515
+ module.exports.__wbg_wasmnft_new = function(arg0) {
2516
+ const ret = WasmNFT.__wrap(arg0);
2527
2517
  return addHeapObject(ret);
2528
2518
  };
2529
2519
 
2530
- module.exports.__wbg_wasmblock_new = function(arg0) {
2531
- const ret = WasmBlock.__wrap(arg0);
2520
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2521
+ const ret = WasmBlockchain.__wrap(arg0);
2532
2522
  return addHeapObject(ret);
2533
2523
  };
2534
2524
 
@@ -2537,20 +2527,30 @@ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2537
2527
  return addHeapObject(ret);
2538
2528
  };
2539
2529
 
2530
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2531
+ const ret = WasmWalletSlip.__wrap(arg0);
2532
+ return addHeapObject(ret);
2533
+ };
2534
+
2535
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2536
+ const ret = WasmSlip.__wrap(arg0);
2537
+ return addHeapObject(ret);
2538
+ };
2539
+
2540
2540
  module.exports.__wbg_wasmhop_new = function(arg0) {
2541
2541
  const ret = WasmHop.__wrap(arg0);
2542
2542
  return addHeapObject(ret);
2543
2543
  };
2544
2544
 
2545
- module.exports.__wbg_sendmessage_07af6fcd4c5c1e84 = function(arg0, arg1) {
2545
+ module.exports.__wbg_sendmessage_e20181319c1702dd = function(arg0, arg1) {
2546
2546
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2547
2547
  };
2548
2548
 
2549
- module.exports.__wbg_sendmessagetoall_c566b6605a33e8aa = function(arg0, arg1) {
2549
+ module.exports.__wbg_sendmessagetoall_30f4035d050367ef = function(arg0, arg1) {
2550
2550
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2551
2551
  };
2552
2552
 
2553
- module.exports.__wbg_connecttopeer_9bef04ef48682502 = function() { return handleError(function (arg0, arg1, arg2) {
2553
+ module.exports.__wbg_connecttopeer_d6b0f49cbadf6c29 = function() { return handleError(function (arg0, arg1, arg2) {
2554
2554
  let deferred0_0;
2555
2555
  let deferred0_1;
2556
2556
  try {
@@ -2563,12 +2563,12 @@ module.exports.__wbg_connecttopeer_9bef04ef48682502 = function() { return handle
2563
2563
  }
2564
2564
  }, arguments) };
2565
2565
 
2566
- module.exports.__wbg_disconnectfrompeer_79c15dac4c5128fd = function() { return handleError(function (arg0) {
2566
+ module.exports.__wbg_disconnectfrompeer_3ec4aa9485022ff9 = function() { return handleError(function (arg0) {
2567
2567
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2568
2568
  return addHeapObject(ret);
2569
2569
  }, arguments) };
2570
2570
 
2571
- module.exports.__wbg_fetchblockfrompeer_5136ff6fdb14a1bd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2571
+ module.exports.__wbg_fetchblockfrompeer_075634740b901726 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2572
2572
  let deferred0_0;
2573
2573
  let deferred0_1;
2574
2574
  try {
@@ -2581,7 +2581,7 @@ module.exports.__wbg_fetchblockfrompeer_5136ff6fdb14a1bd = function() { return h
2581
2581
  }
2582
2582
  }, arguments) };
2583
2583
 
2584
- module.exports.__wbg_writevalue_ddc4dd962d4b265a = function(arg0, arg1, arg2) {
2584
+ module.exports.__wbg_writevalue_08389e57e562e5bf = function(arg0, arg1, arg2) {
2585
2585
  let deferred0_0;
2586
2586
  let deferred0_1;
2587
2587
  try {
@@ -2593,7 +2593,7 @@ module.exports.__wbg_writevalue_ddc4dd962d4b265a = function(arg0, arg1, arg2) {
2593
2593
  }
2594
2594
  };
2595
2595
 
2596
- module.exports.__wbg_appendvalue_03860cae22cb15b7 = function(arg0, arg1, arg2) {
2596
+ module.exports.__wbg_appendvalue_5de2f164902dc255 = function(arg0, arg1, arg2) {
2597
2597
  let deferred0_0;
2598
2598
  let deferred0_1;
2599
2599
  try {
@@ -2605,7 +2605,7 @@ module.exports.__wbg_appendvalue_03860cae22cb15b7 = function(arg0, arg1, arg2) {
2605
2605
  }
2606
2606
  };
2607
2607
 
2608
- module.exports.__wbg_flushdata_e08dc4bdc4b7d38b = function(arg0, arg1) {
2608
+ module.exports.__wbg_flushdata_0f2a3c73b5681bab = function(arg0, arg1) {
2609
2609
  let deferred0_0;
2610
2610
  let deferred0_1;
2611
2611
  try {
@@ -2617,7 +2617,7 @@ module.exports.__wbg_flushdata_e08dc4bdc4b7d38b = function(arg0, arg1) {
2617
2617
  }
2618
2618
  };
2619
2619
 
2620
- module.exports.__wbg_readvalue_ee5b2154b88c93ed = function() { return handleError(function (arg0, arg1) {
2620
+ module.exports.__wbg_readvalue_83bec17c013b8d3b = function() { return handleError(function (arg0, arg1) {
2621
2621
  let deferred0_0;
2622
2622
  let deferred0_1;
2623
2623
  try {
@@ -2630,12 +2630,12 @@ module.exports.__wbg_readvalue_ee5b2154b88c93ed = function() { return handleErro
2630
2630
  }
2631
2631
  }, arguments) };
2632
2632
 
2633
- module.exports.__wbg_loadblockfilelist_3c534c89a0193188 = function() { return handleError(function () {
2633
+ module.exports.__wbg_loadblockfilelist_232c1b90f3f3ffe9 = function() { return handleError(function () {
2634
2634
  const ret = MsgHandler.load_block_file_list();
2635
2635
  return addHeapObject(ret);
2636
2636
  }, arguments) };
2637
2637
 
2638
- module.exports.__wbg_isexistingfile_0bfa6ded39924694 = function() { return handleError(function (arg0, arg1) {
2638
+ module.exports.__wbg_isexistingfile_493e2a187a710193 = function() { return handleError(function (arg0, arg1) {
2639
2639
  let deferred0_0;
2640
2640
  let deferred0_1;
2641
2641
  try {
@@ -2648,7 +2648,7 @@ module.exports.__wbg_isexistingfile_0bfa6ded39924694 = function() { return handl
2648
2648
  }
2649
2649
  }, arguments) };
2650
2650
 
2651
- module.exports.__wbg_removevalue_9e24fccbf647f54b = function() { return handleError(function (arg0, arg1) {
2651
+ module.exports.__wbg_removevalue_126ea58e99e136dc = function() { return handleError(function (arg0, arg1) {
2652
2652
  let deferred0_0;
2653
2653
  let deferred0_1;
2654
2654
  try {
@@ -2661,7 +2661,7 @@ module.exports.__wbg_removevalue_9e24fccbf647f54b = function() { return handleEr
2661
2661
  }
2662
2662
  }, arguments) };
2663
2663
 
2664
- module.exports.__wbg_ensureblockdirectoryexists_1582380c022be420 = function() { return handleError(function (arg0, arg1) {
2664
+ module.exports.__wbg_ensureblockdirectoryexists_4e2873a8e2f2c11c = function() { return handleError(function (arg0, arg1) {
2665
2665
  let deferred0_0;
2666
2666
  let deferred0_1;
2667
2667
  try {
@@ -2673,19 +2673,19 @@ module.exports.__wbg_ensureblockdirectoryexists_1582380c022be420 = function() {
2673
2673
  }
2674
2674
  }, arguments) };
2675
2675
 
2676
- module.exports.__wbg_processapicall_eb69ee0f20c7b6b1 = function(arg0, arg1, arg2) {
2676
+ module.exports.__wbg_processapicall_374fe8c8022eafaf = function(arg0, arg1, arg2) {
2677
2677
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2678
2678
  };
2679
2679
 
2680
- module.exports.__wbg_processapisuccess_d98cd35fdfd18e0e = function(arg0, arg1, arg2) {
2680
+ module.exports.__wbg_processapisuccess_bf6d968edbe2db32 = function(arg0, arg1, arg2) {
2681
2681
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2682
2682
  };
2683
2683
 
2684
- module.exports.__wbg_processapierror_044080f21cc2d2cf = function(arg0, arg1, arg2) {
2684
+ module.exports.__wbg_processapierror_8beffa66bbbec8f0 = function(arg0, arg1, arg2) {
2685
2685
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2686
2686
  };
2687
2687
 
2688
- module.exports.__wbg_sendinterfaceevent_27f6efa644ac7d66 = function(arg0, arg1, arg2, arg3, arg4) {
2688
+ module.exports.__wbg_sendinterfaceevent_d36eb1c3994214d3 = function(arg0, arg1, arg2, arg3, arg4) {
2689
2689
  let deferred0_0;
2690
2690
  let deferred0_1;
2691
2691
  let deferred1_0;
@@ -2702,7 +2702,7 @@ module.exports.__wbg_sendinterfaceevent_27f6efa644ac7d66 = function(arg0, arg1,
2702
2702
  }
2703
2703
  };
2704
2704
 
2705
- module.exports.__wbg_sendblocksuccess_05e308eb721b894d = function(arg0, arg1, arg2) {
2705
+ module.exports.__wbg_sendblocksuccess_159bdd62392e5635 = function(arg0, arg1, arg2) {
2706
2706
  let deferred0_0;
2707
2707
  let deferred0_1;
2708
2708
  try {
@@ -2714,11 +2714,11 @@ module.exports.__wbg_sendblocksuccess_05e308eb721b894d = function(arg0, arg1, ar
2714
2714
  }
2715
2715
  };
2716
2716
 
2717
- module.exports.__wbg_sendwalletupdate_c0c82a49c3658ac0 = function() {
2717
+ module.exports.__wbg_sendwalletupdate_846bdef16815de0c = function() {
2718
2718
  MsgHandler.send_wallet_update();
2719
2719
  };
2720
2720
 
2721
- module.exports.__wbg_sendnewversionalert_605bd1c3c62ac6a3 = function(arg0, arg1, arg2) {
2721
+ module.exports.__wbg_sendnewversionalert_00c9d6ca0ef4595d = function(arg0, arg1, arg2) {
2722
2722
  let deferred0_0;
2723
2723
  let deferred0_1;
2724
2724
  try {
@@ -2730,19 +2730,19 @@ module.exports.__wbg_sendnewversionalert_605bd1c3c62ac6a3 = function(arg0, arg1,
2730
2730
  }
2731
2731
  };
2732
2732
 
2733
- module.exports.__wbg_sendblockfetchstatusevent_053b13cffb32d2f4 = function(arg0) {
2733
+ module.exports.__wbg_sendblockfetchstatusevent_3d9569601adf872d = function(arg0) {
2734
2734
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2735
2735
  };
2736
2736
 
2737
- module.exports.__wbg_savewallet_cf25ba6c15651a5d = function() {
2737
+ module.exports.__wbg_savewallet_5633f57b8afaedfb = function() {
2738
2738
  MsgHandler.save_wallet();
2739
2739
  };
2740
2740
 
2741
- module.exports.__wbg_loadwallet_a9c44fa583ac0ca3 = function() {
2741
+ module.exports.__wbg_loadwallet_542b99e0bc6a6f00 = function() {
2742
2742
  MsgHandler.load_wallet();
2743
2743
  };
2744
2744
 
2745
- module.exports.__wbg_getmyservices_84323c68af870b90 = function() {
2745
+ module.exports.__wbg_getmyservices_5f577f67ae5c2b3c = function() {
2746
2746
  const ret = MsgHandler.get_my_services();
2747
2747
  _assertClass(ret, WasmPeerServiceList);
2748
2748
  var ptr1 = ret.__destroy_into_raw();
@@ -3145,7 +3145,7 @@ module.exports.__wbindgen_memory = function() {
3145
3145
  return addHeapObject(ret);
3146
3146
  };
3147
3147
 
3148
- module.exports.__wbindgen_closure_wrapper1345 = function(arg0, arg1, arg2) {
3148
+ module.exports.__wbindgen_closure_wrapper1348 = function(arg0, arg1, arg2) {
3149
3149
  const ret = makeMutClosure(arg0, arg1, 495, __wbg_adapter_38);
3150
3150
  return addHeapObject(ret);
3151
3151
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.87",
3
+ "version": "0.2.89",
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-f6c7343a081e66df/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-09a1c4534e5b725f/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2486,37 +2486,29 @@ async function __wbg_load(module, imports) {
2486
2486
  function __wbg_get_imports() {
2487
2487
  const imports = {};
2488
2488
  imports.wbg = {};
2489
- imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2490
- const ret = WasmPeer.__wrap(arg0);
2491
- return addHeapObject(ret);
2492
- };
2493
2489
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2494
2490
  takeObject(arg0);
2495
2491
  };
2496
- imports.wbg.__wbg_wasmnft_new = function(arg0) {
2497
- const ret = WasmNFT.__wrap(arg0);
2498
- return addHeapObject(ret);
2499
- };
2500
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2501
- const ret = WasmWallet.__wrap(arg0);
2502
- return addHeapObject(ret);
2503
- };
2504
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2505
- const ret = WasmWalletSlip.__wrap(arg0);
2492
+ imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2493
+ const ret = WasmPeer.__wrap(arg0);
2506
2494
  return addHeapObject(ret);
2507
2495
  };
2508
2496
  imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
2509
2497
  const ret = BigInt.asUintN(64, arg0);
2510
2498
  return addHeapObject(ret);
2511
2499
  };
2512
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2513
- const ret = WasmBlockchain.__wrap(arg0);
2500
+ imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2501
+ const ret = WasmTransaction.__wrap(arg0);
2514
2502
  return addHeapObject(ret);
2515
2503
  };
2516
2504
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2517
2505
  const ret = getStringFromWasm0(arg0, arg1);
2518
2506
  return addHeapObject(ret);
2519
2507
  };
2508
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2509
+ const ret = WasmWallet.__wrap(arg0);
2510
+ return addHeapObject(ret);
2511
+ };
2520
2512
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
2521
2513
  const obj = getObject(arg1);
2522
2514
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -2525,33 +2517,41 @@ function __wbg_get_imports() {
2525
2517
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2526
2518
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2527
2519
  };
2528
- imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2529
- const ret = WasmTransaction.__wrap(arg0);
2520
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2521
+ const ret = WasmBlock.__wrap(arg0);
2530
2522
  return addHeapObject(ret);
2531
2523
  };
2532
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2533
- const ret = WasmSlip.__wrap(arg0);
2524
+ imports.wbg.__wbg_wasmnft_new = function(arg0) {
2525
+ const ret = WasmNFT.__wrap(arg0);
2534
2526
  return addHeapObject(ret);
2535
2527
  };
2536
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2537
- const ret = WasmBlock.__wrap(arg0);
2528
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2529
+ const ret = WasmBlockchain.__wrap(arg0);
2538
2530
  return addHeapObject(ret);
2539
2531
  };
2540
2532
  imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2541
2533
  const ret = WasmBalanceSnapshot.__wrap(arg0);
2542
2534
  return addHeapObject(ret);
2543
2535
  };
2536
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2537
+ const ret = WasmWalletSlip.__wrap(arg0);
2538
+ return addHeapObject(ret);
2539
+ };
2540
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2541
+ const ret = WasmSlip.__wrap(arg0);
2542
+ return addHeapObject(ret);
2543
+ };
2544
2544
  imports.wbg.__wbg_wasmhop_new = function(arg0) {
2545
2545
  const ret = WasmHop.__wrap(arg0);
2546
2546
  return addHeapObject(ret);
2547
2547
  };
2548
- imports.wbg.__wbg_sendmessage_07af6fcd4c5c1e84 = function(arg0, arg1) {
2548
+ imports.wbg.__wbg_sendmessage_e20181319c1702dd = function(arg0, arg1) {
2549
2549
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2550
2550
  };
2551
- imports.wbg.__wbg_sendmessagetoall_c566b6605a33e8aa = function(arg0, arg1) {
2551
+ imports.wbg.__wbg_sendmessagetoall_30f4035d050367ef = function(arg0, arg1) {
2552
2552
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2553
2553
  };
2554
- imports.wbg.__wbg_connecttopeer_9bef04ef48682502 = function() { return handleError(function (arg0, arg1, arg2) {
2554
+ imports.wbg.__wbg_connecttopeer_d6b0f49cbadf6c29 = function() { return handleError(function (arg0, arg1, arg2) {
2555
2555
  let deferred0_0;
2556
2556
  let deferred0_1;
2557
2557
  try {
@@ -2563,11 +2563,11 @@ function __wbg_get_imports() {
2563
2563
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2564
2564
  }
2565
2565
  }, arguments) };
2566
- imports.wbg.__wbg_disconnectfrompeer_79c15dac4c5128fd = function() { return handleError(function (arg0) {
2566
+ imports.wbg.__wbg_disconnectfrompeer_3ec4aa9485022ff9 = function() { return handleError(function (arg0) {
2567
2567
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2568
2568
  return addHeapObject(ret);
2569
2569
  }, arguments) };
2570
- imports.wbg.__wbg_fetchblockfrompeer_5136ff6fdb14a1bd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2570
+ imports.wbg.__wbg_fetchblockfrompeer_075634740b901726 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2571
2571
  let deferred0_0;
2572
2572
  let deferred0_1;
2573
2573
  try {
@@ -2579,7 +2579,7 @@ function __wbg_get_imports() {
2579
2579
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2580
2580
  }
2581
2581
  }, arguments) };
2582
- imports.wbg.__wbg_writevalue_ddc4dd962d4b265a = function(arg0, arg1, arg2) {
2582
+ imports.wbg.__wbg_writevalue_08389e57e562e5bf = function(arg0, arg1, arg2) {
2583
2583
  let deferred0_0;
2584
2584
  let deferred0_1;
2585
2585
  try {
@@ -2590,7 +2590,7 @@ function __wbg_get_imports() {
2590
2590
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2591
2591
  }
2592
2592
  };
2593
- imports.wbg.__wbg_appendvalue_03860cae22cb15b7 = function(arg0, arg1, arg2) {
2593
+ imports.wbg.__wbg_appendvalue_5de2f164902dc255 = function(arg0, arg1, arg2) {
2594
2594
  let deferred0_0;
2595
2595
  let deferred0_1;
2596
2596
  try {
@@ -2601,7 +2601,7 @@ function __wbg_get_imports() {
2601
2601
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2602
2602
  }
2603
2603
  };
2604
- imports.wbg.__wbg_flushdata_e08dc4bdc4b7d38b = function(arg0, arg1) {
2604
+ imports.wbg.__wbg_flushdata_0f2a3c73b5681bab = function(arg0, arg1) {
2605
2605
  let deferred0_0;
2606
2606
  let deferred0_1;
2607
2607
  try {
@@ -2612,7 +2612,7 @@ function __wbg_get_imports() {
2612
2612
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2613
2613
  }
2614
2614
  };
2615
- imports.wbg.__wbg_readvalue_ee5b2154b88c93ed = function() { return handleError(function (arg0, arg1) {
2615
+ imports.wbg.__wbg_readvalue_83bec17c013b8d3b = function() { return handleError(function (arg0, arg1) {
2616
2616
  let deferred0_0;
2617
2617
  let deferred0_1;
2618
2618
  try {
@@ -2624,11 +2624,11 @@ function __wbg_get_imports() {
2624
2624
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2625
2625
  }
2626
2626
  }, arguments) };
2627
- imports.wbg.__wbg_loadblockfilelist_3c534c89a0193188 = function() { return handleError(function () {
2627
+ imports.wbg.__wbg_loadblockfilelist_232c1b90f3f3ffe9 = function() { return handleError(function () {
2628
2628
  const ret = MsgHandler.load_block_file_list();
2629
2629
  return addHeapObject(ret);
2630
2630
  }, arguments) };
2631
- imports.wbg.__wbg_isexistingfile_0bfa6ded39924694 = function() { return handleError(function (arg0, arg1) {
2631
+ imports.wbg.__wbg_isexistingfile_493e2a187a710193 = function() { return handleError(function (arg0, arg1) {
2632
2632
  let deferred0_0;
2633
2633
  let deferred0_1;
2634
2634
  try {
@@ -2640,7 +2640,7 @@ function __wbg_get_imports() {
2640
2640
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2641
2641
  }
2642
2642
  }, arguments) };
2643
- imports.wbg.__wbg_removevalue_9e24fccbf647f54b = function() { return handleError(function (arg0, arg1) {
2643
+ imports.wbg.__wbg_removevalue_126ea58e99e136dc = function() { return handleError(function (arg0, arg1) {
2644
2644
  let deferred0_0;
2645
2645
  let deferred0_1;
2646
2646
  try {
@@ -2652,7 +2652,7 @@ function __wbg_get_imports() {
2652
2652
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2653
2653
  }
2654
2654
  }, arguments) };
2655
- imports.wbg.__wbg_ensureblockdirectoryexists_1582380c022be420 = function() { return handleError(function (arg0, arg1) {
2655
+ imports.wbg.__wbg_ensureblockdirectoryexists_4e2873a8e2f2c11c = function() { return handleError(function (arg0, arg1) {
2656
2656
  let deferred0_0;
2657
2657
  let deferred0_1;
2658
2658
  try {
@@ -2663,16 +2663,16 @@ function __wbg_get_imports() {
2663
2663
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2664
2664
  }
2665
2665
  }, arguments) };
2666
- imports.wbg.__wbg_processapicall_eb69ee0f20c7b6b1 = function(arg0, arg1, arg2) {
2666
+ imports.wbg.__wbg_processapicall_374fe8c8022eafaf = function(arg0, arg1, arg2) {
2667
2667
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2668
2668
  };
2669
- imports.wbg.__wbg_processapisuccess_d98cd35fdfd18e0e = function(arg0, arg1, arg2) {
2669
+ imports.wbg.__wbg_processapisuccess_bf6d968edbe2db32 = function(arg0, arg1, arg2) {
2670
2670
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2671
2671
  };
2672
- imports.wbg.__wbg_processapierror_044080f21cc2d2cf = function(arg0, arg1, arg2) {
2672
+ imports.wbg.__wbg_processapierror_8beffa66bbbec8f0 = function(arg0, arg1, arg2) {
2673
2673
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2674
2674
  };
2675
- imports.wbg.__wbg_sendinterfaceevent_27f6efa644ac7d66 = function(arg0, arg1, arg2, arg3, arg4) {
2675
+ imports.wbg.__wbg_sendinterfaceevent_d36eb1c3994214d3 = function(arg0, arg1, arg2, arg3, arg4) {
2676
2676
  let deferred0_0;
2677
2677
  let deferred0_1;
2678
2678
  let deferred1_0;
@@ -2688,7 +2688,7 @@ function __wbg_get_imports() {
2688
2688
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2689
2689
  }
2690
2690
  };
2691
- imports.wbg.__wbg_sendblocksuccess_05e308eb721b894d = function(arg0, arg1, arg2) {
2691
+ imports.wbg.__wbg_sendblocksuccess_159bdd62392e5635 = function(arg0, arg1, arg2) {
2692
2692
  let deferred0_0;
2693
2693
  let deferred0_1;
2694
2694
  try {
@@ -2699,10 +2699,10 @@ function __wbg_get_imports() {
2699
2699
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2700
2700
  }
2701
2701
  };
2702
- imports.wbg.__wbg_sendwalletupdate_c0c82a49c3658ac0 = function() {
2702
+ imports.wbg.__wbg_sendwalletupdate_846bdef16815de0c = function() {
2703
2703
  MsgHandler.send_wallet_update();
2704
2704
  };
2705
- imports.wbg.__wbg_sendnewversionalert_605bd1c3c62ac6a3 = function(arg0, arg1, arg2) {
2705
+ imports.wbg.__wbg_sendnewversionalert_00c9d6ca0ef4595d = function(arg0, arg1, arg2) {
2706
2706
  let deferred0_0;
2707
2707
  let deferred0_1;
2708
2708
  try {
@@ -2713,16 +2713,16 @@ function __wbg_get_imports() {
2713
2713
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2714
2714
  }
2715
2715
  };
2716
- imports.wbg.__wbg_sendblockfetchstatusevent_053b13cffb32d2f4 = function(arg0) {
2716
+ imports.wbg.__wbg_sendblockfetchstatusevent_3d9569601adf872d = function(arg0) {
2717
2717
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2718
2718
  };
2719
- imports.wbg.__wbg_savewallet_cf25ba6c15651a5d = function() {
2719
+ imports.wbg.__wbg_savewallet_5633f57b8afaedfb = function() {
2720
2720
  MsgHandler.save_wallet();
2721
2721
  };
2722
- imports.wbg.__wbg_loadwallet_a9c44fa583ac0ca3 = function() {
2722
+ imports.wbg.__wbg_loadwallet_542b99e0bc6a6f00 = function() {
2723
2723
  MsgHandler.load_wallet();
2724
2724
  };
2725
- imports.wbg.__wbg_getmyservices_84323c68af870b90 = function() {
2725
+ imports.wbg.__wbg_getmyservices_5f577f67ae5c2b3c = function() {
2726
2726
  const ret = MsgHandler.get_my_services();
2727
2727
  _assertClass(ret, WasmPeerServiceList);
2728
2728
  var ptr1 = ret.__destroy_into_raw();
@@ -3052,7 +3052,7 @@ function __wbg_get_imports() {
3052
3052
  const ret = wasm.memory;
3053
3053
  return addHeapObject(ret);
3054
3054
  };
3055
- imports.wbg.__wbindgen_closure_wrapper1345 = function(arg0, arg1, arg2) {
3055
+ imports.wbg.__wbindgen_closure_wrapper1348 = function(arg0, arg1, arg2) {
3056
3056
  const ret = makeMutClosure(arg0, arg1, 495, __wbg_adapter_38);
3057
3057
  return addHeapObject(ret);
3058
3058
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.87",
3
+ "version": "0.2.89",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",