saito-wasm 0.2.44 → 0.2.45

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.44"
3
+ version = "0.2.45"
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.44",
3
+ "version": "0.2.45",
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-a2b0ac58ed89dd19/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-0e9bc004a175f935/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
@@ -2338,11 +2338,6 @@ class WasmWalletSlip {
2338
2338
  }
2339
2339
  module.exports.WasmWalletSlip = WasmWalletSlip;
2340
2340
 
2341
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2342
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2343
- return addHeapObject(ret);
2344
- };
2345
-
2346
2341
  module.exports.__wbindgen_object_drop_ref = function(arg0) {
2347
2342
  takeObject(arg0);
2348
2343
  };
@@ -2357,6 +2352,11 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2357
2352
  return addHeapObject(ret);
2358
2353
  };
2359
2354
 
2355
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2356
+ const ret = WasmSlip.__wrap(arg0);
2357
+ return addHeapObject(ret);
2358
+ };
2359
+
2360
2360
  module.exports.__wbg_wasmtransaction_new = function(arg0) {
2361
2361
  const ret = WasmTransaction.__wrap(arg0);
2362
2362
  return addHeapObject(ret);
@@ -2371,18 +2371,18 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2371
2371
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2372
2372
  };
2373
2373
 
2374
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2375
- const ret = WasmWalletSlip.__wrap(arg0);
2374
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2375
+ const ret = WasmWallet.__wrap(arg0);
2376
2376
  return addHeapObject(ret);
2377
2377
  };
2378
2378
 
2379
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2380
- const ret = WasmBlockchain.__wrap(arg0);
2379
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2380
+ const ret = WasmBlock.__wrap(arg0);
2381
2381
  return addHeapObject(ret);
2382
2382
  };
2383
2383
 
2384
- module.exports.__wbg_wasmslip_new = function(arg0) {
2385
- const ret = WasmSlip.__wrap(arg0);
2384
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2385
+ const ret = WasmWalletSlip.__wrap(arg0);
2386
2386
  return addHeapObject(ret);
2387
2387
  };
2388
2388
 
@@ -2391,13 +2391,13 @@ module.exports.__wbg_wasmpeer_new = function(arg0) {
2391
2391
  return addHeapObject(ret);
2392
2392
  };
2393
2393
 
2394
- module.exports.__wbg_wasmblock_new = function(arg0) {
2395
- const ret = WasmBlock.__wrap(arg0);
2394
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2395
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2396
2396
  return addHeapObject(ret);
2397
2397
  };
2398
2398
 
2399
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2400
- const ret = WasmWallet.__wrap(arg0);
2399
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2400
+ const ret = WasmBlockchain.__wrap(arg0);
2401
2401
  return addHeapObject(ret);
2402
2402
  };
2403
2403
 
@@ -2427,15 +2427,15 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2427
2427
  return ret;
2428
2428
  };
2429
2429
 
2430
- module.exports.__wbg_sendmessage_f290dcf65ab48329 = function(arg0, arg1) {
2430
+ module.exports.__wbg_sendmessage_819145a828c25308 = function(arg0, arg1) {
2431
2431
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2432
2432
  };
2433
2433
 
2434
- module.exports.__wbg_sendmessagetoall_cce075e52b917d07 = function(arg0, arg1) {
2434
+ module.exports.__wbg_sendmessagetoall_20883103cee6e432 = function(arg0, arg1) {
2435
2435
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2436
2436
  };
2437
2437
 
2438
- module.exports.__wbg_connecttopeer_cedf0bb35c2783d0 = function() { return handleError(function (arg0, arg1, arg2) {
2438
+ module.exports.__wbg_connecttopeer_992eb2672a7e1870 = function() { return handleError(function (arg0, arg1, arg2) {
2439
2439
  let deferred0_0;
2440
2440
  let deferred0_1;
2441
2441
  try {
@@ -2448,12 +2448,12 @@ module.exports.__wbg_connecttopeer_cedf0bb35c2783d0 = function() { return handle
2448
2448
  }
2449
2449
  }, arguments) };
2450
2450
 
2451
- module.exports.__wbg_disconnectfrompeer_6ca3e436f4b0d1b1 = function() { return handleError(function (arg0) {
2451
+ module.exports.__wbg_disconnectfrompeer_b967095d3bba5efa = function() { return handleError(function (arg0) {
2452
2452
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2453
2453
  return addHeapObject(ret);
2454
2454
  }, arguments) };
2455
2455
 
2456
- module.exports.__wbg_fetchblockfrompeer_df6a997a11934d1a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2456
+ module.exports.__wbg_fetchblockfrompeer_a4dd9dd7c932c086 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2457
2457
  let deferred0_0;
2458
2458
  let deferred0_1;
2459
2459
  try {
@@ -2466,7 +2466,7 @@ module.exports.__wbg_fetchblockfrompeer_df6a997a11934d1a = function() { return h
2466
2466
  }
2467
2467
  }, arguments) };
2468
2468
 
2469
- module.exports.__wbg_writevalue_c6cbef38b3c0b8c2 = function(arg0, arg1, arg2) {
2469
+ module.exports.__wbg_writevalue_b25226eead36d7e0 = function(arg0, arg1, arg2) {
2470
2470
  let deferred0_0;
2471
2471
  let deferred0_1;
2472
2472
  try {
@@ -2478,7 +2478,7 @@ module.exports.__wbg_writevalue_c6cbef38b3c0b8c2 = function(arg0, arg1, arg2) {
2478
2478
  }
2479
2479
  };
2480
2480
 
2481
- module.exports.__wbg_appendvalue_f9513e743686fa19 = function(arg0, arg1, arg2) {
2481
+ module.exports.__wbg_appendvalue_3130e41c8fbf7da9 = function(arg0, arg1, arg2) {
2482
2482
  let deferred0_0;
2483
2483
  let deferred0_1;
2484
2484
  try {
@@ -2490,7 +2490,7 @@ module.exports.__wbg_appendvalue_f9513e743686fa19 = function(arg0, arg1, arg2) {
2490
2490
  }
2491
2491
  };
2492
2492
 
2493
- module.exports.__wbg_flushdata_217ab4b2062bf2c7 = function(arg0, arg1) {
2493
+ module.exports.__wbg_flushdata_d311f417326de160 = function(arg0, arg1) {
2494
2494
  let deferred0_0;
2495
2495
  let deferred0_1;
2496
2496
  try {
@@ -2502,7 +2502,7 @@ module.exports.__wbg_flushdata_217ab4b2062bf2c7 = function(arg0, arg1) {
2502
2502
  }
2503
2503
  };
2504
2504
 
2505
- module.exports.__wbg_readvalue_58831cf01ab6555e = function() { return handleError(function (arg0, arg1) {
2505
+ module.exports.__wbg_readvalue_c0c16cc78311f1d8 = function() { return handleError(function (arg0, arg1) {
2506
2506
  let deferred0_0;
2507
2507
  let deferred0_1;
2508
2508
  try {
@@ -2515,12 +2515,12 @@ module.exports.__wbg_readvalue_58831cf01ab6555e = function() { return handleErro
2515
2515
  }
2516
2516
  }, arguments) };
2517
2517
 
2518
- module.exports.__wbg_loadblockfilelist_0dbfdcb9f7757021 = function() { return handleError(function () {
2518
+ module.exports.__wbg_loadblockfilelist_c887f07b7ef89c02 = function() { return handleError(function () {
2519
2519
  const ret = MsgHandler.load_block_file_list();
2520
2520
  return addHeapObject(ret);
2521
2521
  }, arguments) };
2522
2522
 
2523
- module.exports.__wbg_isexistingfile_26961d0ea4357e4f = function() { return handleError(function (arg0, arg1) {
2523
+ module.exports.__wbg_isexistingfile_91fa6bcdb05c0eab = function() { return handleError(function (arg0, arg1) {
2524
2524
  let deferred0_0;
2525
2525
  let deferred0_1;
2526
2526
  try {
@@ -2533,7 +2533,7 @@ module.exports.__wbg_isexistingfile_26961d0ea4357e4f = function() { return handl
2533
2533
  }
2534
2534
  }, arguments) };
2535
2535
 
2536
- module.exports.__wbg_removevalue_b000ba34ce831a37 = function() { return handleError(function (arg0, arg1) {
2536
+ module.exports.__wbg_removevalue_29a2fa0e6c206d9c = function() { return handleError(function (arg0, arg1) {
2537
2537
  let deferred0_0;
2538
2538
  let deferred0_1;
2539
2539
  try {
@@ -2546,7 +2546,7 @@ module.exports.__wbg_removevalue_b000ba34ce831a37 = function() { return handleEr
2546
2546
  }
2547
2547
  }, arguments) };
2548
2548
 
2549
- module.exports.__wbg_ensureblockdirectoryexists_99a86edab8bf6a99 = function() { return handleError(function (arg0, arg1) {
2549
+ module.exports.__wbg_ensureblockdirectoryexists_0c79ce6f229b60fc = function() { return handleError(function (arg0, arg1) {
2550
2550
  let deferred0_0;
2551
2551
  let deferred0_1;
2552
2552
  try {
@@ -2558,19 +2558,19 @@ module.exports.__wbg_ensureblockdirectoryexists_99a86edab8bf6a99 = function() {
2558
2558
  }
2559
2559
  }, arguments) };
2560
2560
 
2561
- module.exports.__wbg_processapicall_09b9372222883c21 = function(arg0, arg1, arg2) {
2561
+ module.exports.__wbg_processapicall_55810971f0116813 = function(arg0, arg1, arg2) {
2562
2562
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2563
2563
  };
2564
2564
 
2565
- module.exports.__wbg_processapisuccess_9c5e4ae9037495bb = function(arg0, arg1, arg2) {
2565
+ module.exports.__wbg_processapisuccess_0bfd2e021fc14918 = function(arg0, arg1, arg2) {
2566
2566
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2567
2567
  };
2568
2568
 
2569
- module.exports.__wbg_processapierror_024d1df913f8c03f = function(arg0, arg1, arg2) {
2569
+ module.exports.__wbg_processapierror_2c58f0a19e299649 = function(arg0, arg1, arg2) {
2570
2570
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2571
2571
  };
2572
2572
 
2573
- module.exports.__wbg_sendinterfaceevent_e5c1c96af80307c6 = function(arg0, arg1, arg2, arg3, arg4) {
2573
+ module.exports.__wbg_sendinterfaceevent_f230d9aa7a3c46b3 = function(arg0, arg1, arg2, arg3, arg4) {
2574
2574
  let deferred0_0;
2575
2575
  let deferred0_1;
2576
2576
  let deferred1_0;
@@ -2587,7 +2587,7 @@ module.exports.__wbg_sendinterfaceevent_e5c1c96af80307c6 = function(arg0, arg1,
2587
2587
  }
2588
2588
  };
2589
2589
 
2590
- module.exports.__wbg_sendblocksuccess_dbeec697ead737cc = function(arg0, arg1, arg2) {
2590
+ module.exports.__wbg_sendblocksuccess_fd80078124646502 = function(arg0, arg1, arg2) {
2591
2591
  let deferred0_0;
2592
2592
  let deferred0_1;
2593
2593
  try {
@@ -2599,11 +2599,11 @@ module.exports.__wbg_sendblocksuccess_dbeec697ead737cc = function(arg0, arg1, ar
2599
2599
  }
2600
2600
  };
2601
2601
 
2602
- module.exports.__wbg_sendwalletupdate_7816e9f2b93a26d7 = function() {
2602
+ module.exports.__wbg_sendwalletupdate_aaf2818694cc9759 = function() {
2603
2603
  MsgHandler.send_wallet_update();
2604
2604
  };
2605
2605
 
2606
- module.exports.__wbg_sendnewversionalert_20153bf911d5374b = function(arg0, arg1, arg2) {
2606
+ module.exports.__wbg_sendnewversionalert_f91ec5ed56139224 = function(arg0, arg1, arg2) {
2607
2607
  let deferred0_0;
2608
2608
  let deferred0_1;
2609
2609
  try {
@@ -2615,19 +2615,19 @@ module.exports.__wbg_sendnewversionalert_20153bf911d5374b = function(arg0, arg1,
2615
2615
  }
2616
2616
  };
2617
2617
 
2618
- module.exports.__wbg_sendblockfetchstatusevent_d891a47912a620c6 = function(arg0) {
2618
+ module.exports.__wbg_sendblockfetchstatusevent_f66d914b430f49ab = function(arg0) {
2619
2619
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2620
2620
  };
2621
2621
 
2622
- module.exports.__wbg_savewallet_5ecec1d72f7c0e97 = function() {
2622
+ module.exports.__wbg_savewallet_333bbe8696957191 = function() {
2623
2623
  MsgHandler.save_wallet();
2624
2624
  };
2625
2625
 
2626
- module.exports.__wbg_loadwallet_ffa52ef4ea4e8a14 = function() {
2626
+ module.exports.__wbg_loadwallet_37c2eec5b6d6bf26 = function() {
2627
2627
  MsgHandler.load_wallet();
2628
2628
  };
2629
2629
 
2630
- module.exports.__wbg_getmyservices_8d5c13e99b8faa44 = function() {
2630
+ module.exports.__wbg_getmyservices_3005d7d25c40a4a1 = function() {
2631
2631
  const ret = MsgHandler.get_my_services();
2632
2632
  _assertClass(ret, WasmPeerServiceList);
2633
2633
  var ptr1 = ret.__destroy_into_raw();
@@ -3009,7 +3009,7 @@ module.exports.__wbindgen_memory = function() {
3009
3009
  return addHeapObject(ret);
3010
3010
  };
3011
3011
 
3012
- module.exports.__wbindgen_closure_wrapper1343 = function(arg0, arg1, arg2) {
3012
+ module.exports.__wbindgen_closure_wrapper1342 = function(arg0, arg1, arg2) {
3013
3013
  const ret = makeMutClosure(arg0, arg1, 471, __wbg_adapter_38);
3014
3014
  return addHeapObject(ret);
3015
3015
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.44",
3
+ "version": "0.2.45",
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-a2b0ac58ed89dd19/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-0e9bc004a175f935/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -2356,10 +2356,6 @@ async function __wbg_load(module, imports) {
2356
2356
  function __wbg_get_imports() {
2357
2357
  const imports = {};
2358
2358
  imports.wbg = {};
2359
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2360
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2361
- return addHeapObject(ret);
2362
- };
2363
2359
  imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
2364
2360
  takeObject(arg0);
2365
2361
  };
@@ -2371,6 +2367,10 @@ function __wbg_get_imports() {
2371
2367
  const ret = getStringFromWasm0(arg0, arg1);
2372
2368
  return addHeapObject(ret);
2373
2369
  };
2370
+ imports.wbg.__wbg_wasmslip_new = function(arg0) {
2371
+ const ret = WasmSlip.__wrap(arg0);
2372
+ return addHeapObject(ret);
2373
+ };
2374
2374
  imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2375
2375
  const ret = WasmTransaction.__wrap(arg0);
2376
2376
  return addHeapObject(ret);
@@ -2383,28 +2383,28 @@ function __wbg_get_imports() {
2383
2383
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2384
2384
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2385
2385
  };
2386
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2387
- const ret = WasmWalletSlip.__wrap(arg0);
2386
+ imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2387
+ const ret = WasmWallet.__wrap(arg0);
2388
2388
  return addHeapObject(ret);
2389
2389
  };
2390
- imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2391
- const ret = WasmBlockchain.__wrap(arg0);
2390
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2391
+ const ret = WasmBlock.__wrap(arg0);
2392
2392
  return addHeapObject(ret);
2393
2393
  };
2394
- imports.wbg.__wbg_wasmslip_new = function(arg0) {
2395
- const ret = WasmSlip.__wrap(arg0);
2394
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2395
+ const ret = WasmWalletSlip.__wrap(arg0);
2396
2396
  return addHeapObject(ret);
2397
2397
  };
2398
2398
  imports.wbg.__wbg_wasmpeer_new = function(arg0) {
2399
2399
  const ret = WasmPeer.__wrap(arg0);
2400
2400
  return addHeapObject(ret);
2401
2401
  };
2402
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2403
- const ret = WasmBlock.__wrap(arg0);
2402
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2403
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2404
2404
  return addHeapObject(ret);
2405
2405
  };
2406
- imports.wbg.__wbg_wasmwallet_new = function(arg0) {
2407
- const ret = WasmWallet.__wrap(arg0);
2406
+ imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2407
+ const ret = WasmBlockchain.__wrap(arg0);
2408
2408
  return addHeapObject(ret);
2409
2409
  };
2410
2410
  imports.wbg.__wbg_wasmhop_new = function(arg0) {
@@ -2428,13 +2428,13 @@ function __wbg_get_imports() {
2428
2428
  const ret = getObject(arg0) in getObject(arg1);
2429
2429
  return ret;
2430
2430
  };
2431
- imports.wbg.__wbg_sendmessage_f290dcf65ab48329 = function(arg0, arg1) {
2431
+ imports.wbg.__wbg_sendmessage_819145a828c25308 = function(arg0, arg1) {
2432
2432
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2433
2433
  };
2434
- imports.wbg.__wbg_sendmessagetoall_cce075e52b917d07 = function(arg0, arg1) {
2434
+ imports.wbg.__wbg_sendmessagetoall_20883103cee6e432 = function(arg0, arg1) {
2435
2435
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2436
2436
  };
2437
- imports.wbg.__wbg_connecttopeer_cedf0bb35c2783d0 = function() { return handleError(function (arg0, arg1, arg2) {
2437
+ imports.wbg.__wbg_connecttopeer_992eb2672a7e1870 = function() { return handleError(function (arg0, arg1, arg2) {
2438
2438
  let deferred0_0;
2439
2439
  let deferred0_1;
2440
2440
  try {
@@ -2446,11 +2446,11 @@ function __wbg_get_imports() {
2446
2446
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2447
2447
  }
2448
2448
  }, arguments) };
2449
- imports.wbg.__wbg_disconnectfrompeer_6ca3e436f4b0d1b1 = function() { return handleError(function (arg0) {
2449
+ imports.wbg.__wbg_disconnectfrompeer_b967095d3bba5efa = function() { return handleError(function (arg0) {
2450
2450
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2451
2451
  return addHeapObject(ret);
2452
2452
  }, arguments) };
2453
- imports.wbg.__wbg_fetchblockfrompeer_df6a997a11934d1a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2453
+ imports.wbg.__wbg_fetchblockfrompeer_a4dd9dd7c932c086 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2454
2454
  let deferred0_0;
2455
2455
  let deferred0_1;
2456
2456
  try {
@@ -2462,7 +2462,7 @@ function __wbg_get_imports() {
2462
2462
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2463
2463
  }
2464
2464
  }, arguments) };
2465
- imports.wbg.__wbg_writevalue_c6cbef38b3c0b8c2 = function(arg0, arg1, arg2) {
2465
+ imports.wbg.__wbg_writevalue_b25226eead36d7e0 = function(arg0, arg1, arg2) {
2466
2466
  let deferred0_0;
2467
2467
  let deferred0_1;
2468
2468
  try {
@@ -2473,7 +2473,7 @@ function __wbg_get_imports() {
2473
2473
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2474
2474
  }
2475
2475
  };
2476
- imports.wbg.__wbg_appendvalue_f9513e743686fa19 = function(arg0, arg1, arg2) {
2476
+ imports.wbg.__wbg_appendvalue_3130e41c8fbf7da9 = function(arg0, arg1, arg2) {
2477
2477
  let deferred0_0;
2478
2478
  let deferred0_1;
2479
2479
  try {
@@ -2484,7 +2484,7 @@ function __wbg_get_imports() {
2484
2484
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2485
2485
  }
2486
2486
  };
2487
- imports.wbg.__wbg_flushdata_217ab4b2062bf2c7 = function(arg0, arg1) {
2487
+ imports.wbg.__wbg_flushdata_d311f417326de160 = function(arg0, arg1) {
2488
2488
  let deferred0_0;
2489
2489
  let deferred0_1;
2490
2490
  try {
@@ -2495,7 +2495,7 @@ function __wbg_get_imports() {
2495
2495
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2496
2496
  }
2497
2497
  };
2498
- imports.wbg.__wbg_readvalue_58831cf01ab6555e = function() { return handleError(function (arg0, arg1) {
2498
+ imports.wbg.__wbg_readvalue_c0c16cc78311f1d8 = function() { return handleError(function (arg0, arg1) {
2499
2499
  let deferred0_0;
2500
2500
  let deferred0_1;
2501
2501
  try {
@@ -2507,11 +2507,11 @@ function __wbg_get_imports() {
2507
2507
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2508
2508
  }
2509
2509
  }, arguments) };
2510
- imports.wbg.__wbg_loadblockfilelist_0dbfdcb9f7757021 = function() { return handleError(function () {
2510
+ imports.wbg.__wbg_loadblockfilelist_c887f07b7ef89c02 = function() { return handleError(function () {
2511
2511
  const ret = MsgHandler.load_block_file_list();
2512
2512
  return addHeapObject(ret);
2513
2513
  }, arguments) };
2514
- imports.wbg.__wbg_isexistingfile_26961d0ea4357e4f = function() { return handleError(function (arg0, arg1) {
2514
+ imports.wbg.__wbg_isexistingfile_91fa6bcdb05c0eab = function() { return handleError(function (arg0, arg1) {
2515
2515
  let deferred0_0;
2516
2516
  let deferred0_1;
2517
2517
  try {
@@ -2523,7 +2523,7 @@ function __wbg_get_imports() {
2523
2523
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2524
2524
  }
2525
2525
  }, arguments) };
2526
- imports.wbg.__wbg_removevalue_b000ba34ce831a37 = function() { return handleError(function (arg0, arg1) {
2526
+ imports.wbg.__wbg_removevalue_29a2fa0e6c206d9c = function() { return handleError(function (arg0, arg1) {
2527
2527
  let deferred0_0;
2528
2528
  let deferred0_1;
2529
2529
  try {
@@ -2535,7 +2535,7 @@ function __wbg_get_imports() {
2535
2535
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2536
2536
  }
2537
2537
  }, arguments) };
2538
- imports.wbg.__wbg_ensureblockdirectoryexists_99a86edab8bf6a99 = function() { return handleError(function (arg0, arg1) {
2538
+ imports.wbg.__wbg_ensureblockdirectoryexists_0c79ce6f229b60fc = function() { return handleError(function (arg0, arg1) {
2539
2539
  let deferred0_0;
2540
2540
  let deferred0_1;
2541
2541
  try {
@@ -2546,16 +2546,16 @@ function __wbg_get_imports() {
2546
2546
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2547
2547
  }
2548
2548
  }, arguments) };
2549
- imports.wbg.__wbg_processapicall_09b9372222883c21 = function(arg0, arg1, arg2) {
2549
+ imports.wbg.__wbg_processapicall_55810971f0116813 = function(arg0, arg1, arg2) {
2550
2550
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2551
2551
  };
2552
- imports.wbg.__wbg_processapisuccess_9c5e4ae9037495bb = function(arg0, arg1, arg2) {
2552
+ imports.wbg.__wbg_processapisuccess_0bfd2e021fc14918 = function(arg0, arg1, arg2) {
2553
2553
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2554
2554
  };
2555
- imports.wbg.__wbg_processapierror_024d1df913f8c03f = function(arg0, arg1, arg2) {
2555
+ imports.wbg.__wbg_processapierror_2c58f0a19e299649 = function(arg0, arg1, arg2) {
2556
2556
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2557
2557
  };
2558
- imports.wbg.__wbg_sendinterfaceevent_e5c1c96af80307c6 = function(arg0, arg1, arg2, arg3, arg4) {
2558
+ imports.wbg.__wbg_sendinterfaceevent_f230d9aa7a3c46b3 = function(arg0, arg1, arg2, arg3, arg4) {
2559
2559
  let deferred0_0;
2560
2560
  let deferred0_1;
2561
2561
  let deferred1_0;
@@ -2571,7 +2571,7 @@ function __wbg_get_imports() {
2571
2571
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2572
2572
  }
2573
2573
  };
2574
- imports.wbg.__wbg_sendblocksuccess_dbeec697ead737cc = function(arg0, arg1, arg2) {
2574
+ imports.wbg.__wbg_sendblocksuccess_fd80078124646502 = function(arg0, arg1, arg2) {
2575
2575
  let deferred0_0;
2576
2576
  let deferred0_1;
2577
2577
  try {
@@ -2582,10 +2582,10 @@ function __wbg_get_imports() {
2582
2582
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2583
2583
  }
2584
2584
  };
2585
- imports.wbg.__wbg_sendwalletupdate_7816e9f2b93a26d7 = function() {
2585
+ imports.wbg.__wbg_sendwalletupdate_aaf2818694cc9759 = function() {
2586
2586
  MsgHandler.send_wallet_update();
2587
2587
  };
2588
- imports.wbg.__wbg_sendnewversionalert_20153bf911d5374b = function(arg0, arg1, arg2) {
2588
+ imports.wbg.__wbg_sendnewversionalert_f91ec5ed56139224 = function(arg0, arg1, arg2) {
2589
2589
  let deferred0_0;
2590
2590
  let deferred0_1;
2591
2591
  try {
@@ -2596,16 +2596,16 @@ function __wbg_get_imports() {
2596
2596
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2597
2597
  }
2598
2598
  };
2599
- imports.wbg.__wbg_sendblockfetchstatusevent_d891a47912a620c6 = function(arg0) {
2599
+ imports.wbg.__wbg_sendblockfetchstatusevent_f66d914b430f49ab = function(arg0) {
2600
2600
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2601
2601
  };
2602
- imports.wbg.__wbg_savewallet_5ecec1d72f7c0e97 = function() {
2602
+ imports.wbg.__wbg_savewallet_333bbe8696957191 = function() {
2603
2603
  MsgHandler.save_wallet();
2604
2604
  };
2605
- imports.wbg.__wbg_loadwallet_ffa52ef4ea4e8a14 = function() {
2605
+ imports.wbg.__wbg_loadwallet_37c2eec5b6d6bf26 = function() {
2606
2606
  MsgHandler.load_wallet();
2607
2607
  };
2608
- imports.wbg.__wbg_getmyservices_8d5c13e99b8faa44 = function() {
2608
+ imports.wbg.__wbg_getmyservices_3005d7d25c40a4a1 = function() {
2609
2609
  const ret = MsgHandler.get_my_services();
2610
2610
  _assertClass(ret, WasmPeerServiceList);
2611
2611
  var ptr1 = ret.__destroy_into_raw();
@@ -2918,7 +2918,7 @@ function __wbg_get_imports() {
2918
2918
  const ret = wasm.memory;
2919
2919
  return addHeapObject(ret);
2920
2920
  };
2921
- imports.wbg.__wbindgen_closure_wrapper1343 = function(arg0, arg1, arg2) {
2921
+ imports.wbg.__wbindgen_closure_wrapper1342 = function(arg0, arg1, arg2) {
2922
2922
  const ret = makeMutClosure(arg0, arg1, 471, __wbg_adapter_38);
2923
2923
  return addHeapObject(ret);
2924
2924
  };
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.44",
3
+ "version": "0.2.45",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",