saito-wasm 0.2.78 → 0.2.80

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.78"
3
+ version = "0.2.80"
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.78",
3
+ "version": "0.2.80",
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,8 +1,8 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-71cdfe14e5a8808f/js/msg_handler.js`);
5
- const { TextEncoder, TextDecoder } = require(`util`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-a7a480dcce53f88d/js/msg_handler.js`);
5
+ const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
8
8
 
@@ -33,7 +33,9 @@ function addHeapObject(obj) {
33
33
  return idx;
34
34
  }
35
35
 
36
- let WASM_VECTOR_LEN = 0;
36
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
37
+
38
+ cachedTextDecoder.decode();
37
39
 
38
40
  let cachedUint8Memory0 = null;
39
41
 
@@ -44,6 +46,13 @@ function getUint8Memory0() {
44
46
  return cachedUint8Memory0;
45
47
  }
46
48
 
49
+ function getStringFromWasm0(ptr, len) {
50
+ ptr = ptr >>> 0;
51
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
52
+ }
53
+
54
+ let WASM_VECTOR_LEN = 0;
55
+
47
56
  let cachedTextEncoder = new TextEncoder('utf-8');
48
57
 
49
58
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -111,15 +120,6 @@ function getInt32Memory0() {
111
120
  return cachedInt32Memory0;
112
121
  }
113
122
 
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() {
@@ -2362,8 +2362,18 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2362
2362
  return addHeapObject(ret);
2363
2363
  };
2364
2364
 
2365
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2366
- const ret = WasmWalletSlip.__wrap(arg0);
2365
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2366
+ const ret = getStringFromWasm0(arg0, arg1);
2367
+ return addHeapObject(ret);
2368
+ };
2369
+
2370
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2371
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2372
+ return addHeapObject(ret);
2373
+ };
2374
+
2375
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2376
+ const ret = WasmTransaction.__wrap(arg0);
2367
2377
  return addHeapObject(ret);
2368
2378
  };
2369
2379
 
@@ -2377,8 +2387,13 @@ module.exports.__wbg_wasmpeer_new = function(arg0) {
2377
2387
  return addHeapObject(ret);
2378
2388
  };
2379
2389
 
2380
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2381
- const ret = WasmTransaction.__wrap(arg0);
2390
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2391
+ const ret = WasmBlock.__wrap(arg0);
2392
+ return addHeapObject(ret);
2393
+ };
2394
+
2395
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2396
+ const ret = WasmWalletSlip.__wrap(arg0);
2382
2397
  return addHeapObject(ret);
2383
2398
  };
2384
2399
 
@@ -2391,31 +2406,16 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2391
2406
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2392
2407
  };
2393
2408
 
2394
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
2395
- const ret = getStringFromWasm0(arg0, arg1);
2396
- return addHeapObject(ret);
2397
- };
2398
-
2399
2409
  module.exports.__wbg_wasmblockchain_new = function(arg0) {
2400
2410
  const ret = WasmBlockchain.__wrap(arg0);
2401
2411
  return addHeapObject(ret);
2402
2412
  };
2403
2413
 
2404
- module.exports.__wbg_wasmblock_new = function(arg0) {
2405
- const ret = WasmBlock.__wrap(arg0);
2406
- return addHeapObject(ret);
2407
- };
2408
-
2409
2414
  module.exports.__wbg_wasmslip_new = function(arg0) {
2410
2415
  const ret = WasmSlip.__wrap(arg0);
2411
2416
  return addHeapObject(ret);
2412
2417
  };
2413
2418
 
2414
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2415
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2416
- return addHeapObject(ret);
2417
- };
2418
-
2419
2419
  module.exports.__wbindgen_error_new = function(arg0, arg1) {
2420
2420
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2421
2421
  return addHeapObject(ret);
@@ -2437,15 +2437,15 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2437
2437
  return ret;
2438
2438
  };
2439
2439
 
2440
- module.exports.__wbg_sendmessage_69d3e70158efe6f5 = function(arg0, arg1) {
2440
+ module.exports.__wbg_sendmessage_03f4ea0cbf8ad319 = function(arg0, arg1) {
2441
2441
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2442
2442
  };
2443
2443
 
2444
- module.exports.__wbg_sendmessagetoall_44dbd4ff670372f8 = function(arg0, arg1) {
2444
+ module.exports.__wbg_sendmessagetoall_291136687e8341da = function(arg0, arg1) {
2445
2445
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2446
2446
  };
2447
2447
 
2448
- module.exports.__wbg_connecttopeer_f836124d26b116ac = function() { return handleError(function (arg0, arg1, arg2) {
2448
+ module.exports.__wbg_connecttopeer_9c6761c9fcc20a19 = function() { return handleError(function (arg0, arg1, arg2) {
2449
2449
  let deferred0_0;
2450
2450
  let deferred0_1;
2451
2451
  try {
@@ -2458,12 +2458,12 @@ module.exports.__wbg_connecttopeer_f836124d26b116ac = function() { return handle
2458
2458
  }
2459
2459
  }, arguments) };
2460
2460
 
2461
- module.exports.__wbg_disconnectfrompeer_297125d1b88c61f3 = function() { return handleError(function (arg0) {
2461
+ module.exports.__wbg_disconnectfrompeer_4b73b03992d2e450 = function() { return handleError(function (arg0) {
2462
2462
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2463
2463
  return addHeapObject(ret);
2464
2464
  }, arguments) };
2465
2465
 
2466
- module.exports.__wbg_fetchblockfrompeer_52de722e504ee017 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2466
+ module.exports.__wbg_fetchblockfrompeer_9b2841a6f79db213 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2467
2467
  let deferred0_0;
2468
2468
  let deferred0_1;
2469
2469
  try {
@@ -2476,7 +2476,7 @@ module.exports.__wbg_fetchblockfrompeer_52de722e504ee017 = function() { return h
2476
2476
  }
2477
2477
  }, arguments) };
2478
2478
 
2479
- module.exports.__wbg_writevalue_3bd91ce2cb5d73a0 = function(arg0, arg1, arg2) {
2479
+ module.exports.__wbg_writevalue_a8403cf977e4052e = function(arg0, arg1, arg2) {
2480
2480
  let deferred0_0;
2481
2481
  let deferred0_1;
2482
2482
  try {
@@ -2488,7 +2488,7 @@ module.exports.__wbg_writevalue_3bd91ce2cb5d73a0 = function(arg0, arg1, arg2) {
2488
2488
  }
2489
2489
  };
2490
2490
 
2491
- module.exports.__wbg_appendvalue_737130403c3f3612 = function(arg0, arg1, arg2) {
2491
+ module.exports.__wbg_appendvalue_190095493f5c4495 = function(arg0, arg1, arg2) {
2492
2492
  let deferred0_0;
2493
2493
  let deferred0_1;
2494
2494
  try {
@@ -2500,7 +2500,7 @@ module.exports.__wbg_appendvalue_737130403c3f3612 = function(arg0, arg1, arg2) {
2500
2500
  }
2501
2501
  };
2502
2502
 
2503
- module.exports.__wbg_flushdata_d43dd54b5800fb42 = function(arg0, arg1) {
2503
+ module.exports.__wbg_flushdata_eadfae44e1856e60 = function(arg0, arg1) {
2504
2504
  let deferred0_0;
2505
2505
  let deferred0_1;
2506
2506
  try {
@@ -2512,7 +2512,7 @@ module.exports.__wbg_flushdata_d43dd54b5800fb42 = function(arg0, arg1) {
2512
2512
  }
2513
2513
  };
2514
2514
 
2515
- module.exports.__wbg_readvalue_93ca2dbf8ca59d13 = function() { return handleError(function (arg0, arg1) {
2515
+ module.exports.__wbg_readvalue_8ab291f863bcbeca = function() { return handleError(function (arg0, arg1) {
2516
2516
  let deferred0_0;
2517
2517
  let deferred0_1;
2518
2518
  try {
@@ -2525,12 +2525,12 @@ module.exports.__wbg_readvalue_93ca2dbf8ca59d13 = function() { return handleErro
2525
2525
  }
2526
2526
  }, arguments) };
2527
2527
 
2528
- module.exports.__wbg_loadblockfilelist_15eef79622b26d62 = function() { return handleError(function () {
2528
+ module.exports.__wbg_loadblockfilelist_adb2a0176b41669b = function() { return handleError(function () {
2529
2529
  const ret = MsgHandler.load_block_file_list();
2530
2530
  return addHeapObject(ret);
2531
2531
  }, arguments) };
2532
2532
 
2533
- module.exports.__wbg_isexistingfile_a95574f7bacfe1be = function() { return handleError(function (arg0, arg1) {
2533
+ module.exports.__wbg_isexistingfile_a28742a5ca8d5b97 = function() { return handleError(function (arg0, arg1) {
2534
2534
  let deferred0_0;
2535
2535
  let deferred0_1;
2536
2536
  try {
@@ -2543,7 +2543,7 @@ module.exports.__wbg_isexistingfile_a95574f7bacfe1be = function() { return handl
2543
2543
  }
2544
2544
  }, arguments) };
2545
2545
 
2546
- module.exports.__wbg_removevalue_b32453eb06422b06 = function() { return handleError(function (arg0, arg1) {
2546
+ module.exports.__wbg_removevalue_4d4a95a6de3f83dc = function() { return handleError(function (arg0, arg1) {
2547
2547
  let deferred0_0;
2548
2548
  let deferred0_1;
2549
2549
  try {
@@ -2556,7 +2556,7 @@ module.exports.__wbg_removevalue_b32453eb06422b06 = function() { return handleEr
2556
2556
  }
2557
2557
  }, arguments) };
2558
2558
 
2559
- module.exports.__wbg_ensureblockdirectoryexists_14a5d62feeb4d061 = function() { return handleError(function (arg0, arg1) {
2559
+ module.exports.__wbg_ensureblockdirectoryexists_c37d9a6766483afe = function() { return handleError(function (arg0, arg1) {
2560
2560
  let deferred0_0;
2561
2561
  let deferred0_1;
2562
2562
  try {
@@ -2568,19 +2568,19 @@ module.exports.__wbg_ensureblockdirectoryexists_14a5d62feeb4d061 = function() {
2568
2568
  }
2569
2569
  }, arguments) };
2570
2570
 
2571
- module.exports.__wbg_processapicall_f4afed13db5ab0b3 = function(arg0, arg1, arg2) {
2571
+ module.exports.__wbg_processapicall_df16f778f2f36bcf = function(arg0, arg1, arg2) {
2572
2572
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2573
2573
  };
2574
2574
 
2575
- module.exports.__wbg_processapisuccess_d4eee1bdc9ce45e9 = function(arg0, arg1, arg2) {
2575
+ module.exports.__wbg_processapisuccess_e3a5a19f2cdf11bc = function(arg0, arg1, arg2) {
2576
2576
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2577
2577
  };
2578
2578
 
2579
- module.exports.__wbg_processapierror_dee7fb5cc26d98cb = function(arg0, arg1, arg2) {
2579
+ module.exports.__wbg_processapierror_4c0ecbabccdd69d5 = function(arg0, arg1, arg2) {
2580
2580
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2581
2581
  };
2582
2582
 
2583
- module.exports.__wbg_sendinterfaceevent_0a9c656019d28d82 = function(arg0, arg1, arg2, arg3, arg4) {
2583
+ module.exports.__wbg_sendinterfaceevent_37e6fbef320176f6 = function(arg0, arg1, arg2, arg3, arg4) {
2584
2584
  let deferred0_0;
2585
2585
  let deferred0_1;
2586
2586
  let deferred1_0;
@@ -2597,7 +2597,7 @@ module.exports.__wbg_sendinterfaceevent_0a9c656019d28d82 = function(arg0, arg1,
2597
2597
  }
2598
2598
  };
2599
2599
 
2600
- module.exports.__wbg_sendblocksuccess_774727514840b167 = function(arg0, arg1, arg2) {
2600
+ module.exports.__wbg_sendblocksuccess_951ef1ef8d7c4afe = function(arg0, arg1, arg2) {
2601
2601
  let deferred0_0;
2602
2602
  let deferred0_1;
2603
2603
  try {
@@ -2609,11 +2609,11 @@ module.exports.__wbg_sendblocksuccess_774727514840b167 = function(arg0, arg1, ar
2609
2609
  }
2610
2610
  };
2611
2611
 
2612
- module.exports.__wbg_sendwalletupdate_5225b6ca9290be54 = function() {
2612
+ module.exports.__wbg_sendwalletupdate_2254c46d7bdc5a3a = function() {
2613
2613
  MsgHandler.send_wallet_update();
2614
2614
  };
2615
2615
 
2616
- module.exports.__wbg_sendnewversionalert_9f7b2a5d8bfde2c7 = function(arg0, arg1, arg2) {
2616
+ module.exports.__wbg_sendnewversionalert_05420df3223668e8 = function(arg0, arg1, arg2) {
2617
2617
  let deferred0_0;
2618
2618
  let deferred0_1;
2619
2619
  try {
@@ -2625,19 +2625,19 @@ module.exports.__wbg_sendnewversionalert_9f7b2a5d8bfde2c7 = function(arg0, arg1,
2625
2625
  }
2626
2626
  };
2627
2627
 
2628
- module.exports.__wbg_sendblockfetchstatusevent_d66df81f9e284a5d = function(arg0) {
2628
+ module.exports.__wbg_sendblockfetchstatusevent_5bd86b7ec49bc56d = function(arg0) {
2629
2629
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2630
2630
  };
2631
2631
 
2632
- module.exports.__wbg_savewallet_f0b18b6305f4c0ae = function() {
2632
+ module.exports.__wbg_savewallet_879fb0a29802aeb6 = function() {
2633
2633
  MsgHandler.save_wallet();
2634
2634
  };
2635
2635
 
2636
- module.exports.__wbg_loadwallet_defeadf75b8a77fe = function() {
2636
+ module.exports.__wbg_loadwallet_48e4a41b74be35ea = function() {
2637
2637
  MsgHandler.load_wallet();
2638
2638
  };
2639
2639
 
2640
- module.exports.__wbg_getmyservices_20fc5b5b3e272e36 = function() {
2640
+ module.exports.__wbg_getmyservices_828ce1628153fe52 = function() {
2641
2641
  const ret = MsgHandler.get_my_services();
2642
2642
  _assertClass(ret, WasmPeerServiceList);
2643
2643
  var ptr1 = ret.__destroy_into_raw();
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.78",
3
+ "version": "0.2.80",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",
@@ -9,7 +9,7 @@
9
9
  "main": "index.js",
10
10
  "types": "index.d.ts",
11
11
  "dependencies": {
12
- "cross-env": "^7.0.3",
13
- "node-fetch": "^3.3.0"
12
+ "node-fetch": "^3.3.0",
13
+ "cross-env": "^7.0.3"
14
14
  }
15
15
  }
package/pkg/web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { MsgHandler } from './snippets/saito-wasm-71cdfe14e5a8808f/js/msg_handler.js';
1
+ import { MsgHandler } from './snippets/saito-wasm-a7a480dcce53f88d/js/msg_handler.js';
2
2
 
3
3
  let wasm;
4
4
 
@@ -31,7 +31,9 @@ function addHeapObject(obj) {
31
31
  return idx;
32
32
  }
33
33
 
34
- let WASM_VECTOR_LEN = 0;
34
+ const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
35
+
36
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
35
37
 
36
38
  let cachedUint8Memory0 = null;
37
39
 
@@ -42,6 +44,13 @@ function getUint8Memory0() {
42
44
  return cachedUint8Memory0;
43
45
  }
44
46
 
47
+ function getStringFromWasm0(ptr, len) {
48
+ ptr = ptr >>> 0;
49
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
50
+ }
51
+
52
+ let WASM_VECTOR_LEN = 0;
53
+
45
54
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
46
55
 
47
56
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -109,15 +118,6 @@ function getInt32Memory0() {
109
118
  return cachedInt32Memory0;
110
119
  }
111
120
 
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() {
@@ -2378,8 +2378,16 @@ function __wbg_get_imports() {
2378
2378
  const ret = BigInt.asUintN(64, arg0);
2379
2379
  return addHeapObject(ret);
2380
2380
  };
2381
- imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2382
- const ret = WasmWalletSlip.__wrap(arg0);
2381
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2382
+ const ret = getStringFromWasm0(arg0, arg1);
2383
+ return addHeapObject(ret);
2384
+ };
2385
+ imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2386
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2387
+ return addHeapObject(ret);
2388
+ };
2389
+ imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2390
+ const ret = WasmTransaction.__wrap(arg0);
2383
2391
  return addHeapObject(ret);
2384
2392
  };
2385
2393
  imports.wbg.__wbg_wasmwallet_new = function(arg0) {
@@ -2390,8 +2398,12 @@ function __wbg_get_imports() {
2390
2398
  const ret = WasmPeer.__wrap(arg0);
2391
2399
  return addHeapObject(ret);
2392
2400
  };
2393
- imports.wbg.__wbg_wasmtransaction_new = function(arg0) {
2394
- const ret = WasmTransaction.__wrap(arg0);
2401
+ imports.wbg.__wbg_wasmblock_new = function(arg0) {
2402
+ const ret = WasmBlock.__wrap(arg0);
2403
+ return addHeapObject(ret);
2404
+ };
2405
+ imports.wbg.__wbg_wasmwalletslip_new = function(arg0) {
2406
+ const ret = WasmWalletSlip.__wrap(arg0);
2395
2407
  return addHeapObject(ret);
2396
2408
  };
2397
2409
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
@@ -2402,26 +2414,14 @@ function __wbg_get_imports() {
2402
2414
  getInt32Memory0()[arg0 / 4 + 1] = len1;
2403
2415
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2404
2416
  };
2405
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
2406
- const ret = getStringFromWasm0(arg0, arg1);
2407
- return addHeapObject(ret);
2408
- };
2409
2417
  imports.wbg.__wbg_wasmblockchain_new = function(arg0) {
2410
2418
  const ret = WasmBlockchain.__wrap(arg0);
2411
2419
  return addHeapObject(ret);
2412
2420
  };
2413
- imports.wbg.__wbg_wasmblock_new = function(arg0) {
2414
- const ret = WasmBlock.__wrap(arg0);
2415
- return addHeapObject(ret);
2416
- };
2417
2421
  imports.wbg.__wbg_wasmslip_new = function(arg0) {
2418
2422
  const ret = WasmSlip.__wrap(arg0);
2419
2423
  return addHeapObject(ret);
2420
2424
  };
2421
- imports.wbg.__wbg_wasmbalancesnapshot_new = function(arg0) {
2422
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2423
- return addHeapObject(ret);
2424
- };
2425
2425
  imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
2426
2426
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2427
2427
  return addHeapObject(ret);
@@ -2439,13 +2439,13 @@ function __wbg_get_imports() {
2439
2439
  const ret = getObject(arg0) in getObject(arg1);
2440
2440
  return ret;
2441
2441
  };
2442
- imports.wbg.__wbg_sendmessage_69d3e70158efe6f5 = function(arg0, arg1) {
2442
+ imports.wbg.__wbg_sendmessage_03f4ea0cbf8ad319 = function(arg0, arg1) {
2443
2443
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2444
2444
  };
2445
- imports.wbg.__wbg_sendmessagetoall_44dbd4ff670372f8 = function(arg0, arg1) {
2445
+ imports.wbg.__wbg_sendmessagetoall_291136687e8341da = function(arg0, arg1) {
2446
2446
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2447
2447
  };
2448
- imports.wbg.__wbg_connecttopeer_f836124d26b116ac = function() { return handleError(function (arg0, arg1, arg2) {
2448
+ imports.wbg.__wbg_connecttopeer_9c6761c9fcc20a19 = function() { return handleError(function (arg0, arg1, arg2) {
2449
2449
  let deferred0_0;
2450
2450
  let deferred0_1;
2451
2451
  try {
@@ -2457,11 +2457,11 @@ function __wbg_get_imports() {
2457
2457
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2458
2458
  }
2459
2459
  }, arguments) };
2460
- imports.wbg.__wbg_disconnectfrompeer_297125d1b88c61f3 = function() { return handleError(function (arg0) {
2460
+ imports.wbg.__wbg_disconnectfrompeer_4b73b03992d2e450 = function() { return handleError(function (arg0) {
2461
2461
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2462
2462
  return addHeapObject(ret);
2463
2463
  }, arguments) };
2464
- imports.wbg.__wbg_fetchblockfrompeer_52de722e504ee017 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2464
+ imports.wbg.__wbg_fetchblockfrompeer_9b2841a6f79db213 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2465
2465
  let deferred0_0;
2466
2466
  let deferred0_1;
2467
2467
  try {
@@ -2473,7 +2473,7 @@ function __wbg_get_imports() {
2473
2473
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2474
2474
  }
2475
2475
  }, arguments) };
2476
- imports.wbg.__wbg_writevalue_3bd91ce2cb5d73a0 = function(arg0, arg1, arg2) {
2476
+ imports.wbg.__wbg_writevalue_a8403cf977e4052e = 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_appendvalue_737130403c3f3612 = function(arg0, arg1, arg2) {
2487
+ imports.wbg.__wbg_appendvalue_190095493f5c4495 = function(arg0, arg1, arg2) {
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_flushdata_d43dd54b5800fb42 = function(arg0, arg1) {
2498
+ imports.wbg.__wbg_flushdata_eadfae44e1856e60 = function(arg0, arg1) {
2499
2499
  let deferred0_0;
2500
2500
  let deferred0_1;
2501
2501
  try {
@@ -2506,7 +2506,7 @@ function __wbg_get_imports() {
2506
2506
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2507
2507
  }
2508
2508
  };
2509
- imports.wbg.__wbg_readvalue_93ca2dbf8ca59d13 = function() { return handleError(function (arg0, arg1) {
2509
+ imports.wbg.__wbg_readvalue_8ab291f863bcbeca = function() { return handleError(function (arg0, arg1) {
2510
2510
  let deferred0_0;
2511
2511
  let deferred0_1;
2512
2512
  try {
@@ -2518,11 +2518,11 @@ function __wbg_get_imports() {
2518
2518
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2519
2519
  }
2520
2520
  }, arguments) };
2521
- imports.wbg.__wbg_loadblockfilelist_15eef79622b26d62 = function() { return handleError(function () {
2521
+ imports.wbg.__wbg_loadblockfilelist_adb2a0176b41669b = function() { return handleError(function () {
2522
2522
  const ret = MsgHandler.load_block_file_list();
2523
2523
  return addHeapObject(ret);
2524
2524
  }, arguments) };
2525
- imports.wbg.__wbg_isexistingfile_a95574f7bacfe1be = function() { return handleError(function (arg0, arg1) {
2525
+ imports.wbg.__wbg_isexistingfile_a28742a5ca8d5b97 = function() { return handleError(function (arg0, arg1) {
2526
2526
  let deferred0_0;
2527
2527
  let deferred0_1;
2528
2528
  try {
@@ -2534,7 +2534,7 @@ function __wbg_get_imports() {
2534
2534
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2535
2535
  }
2536
2536
  }, arguments) };
2537
- imports.wbg.__wbg_removevalue_b32453eb06422b06 = function() { return handleError(function (arg0, arg1) {
2537
+ imports.wbg.__wbg_removevalue_4d4a95a6de3f83dc = function() { return handleError(function (arg0, arg1) {
2538
2538
  let deferred0_0;
2539
2539
  let deferred0_1;
2540
2540
  try {
@@ -2546,7 +2546,7 @@ function __wbg_get_imports() {
2546
2546
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2547
2547
  }
2548
2548
  }, arguments) };
2549
- imports.wbg.__wbg_ensureblockdirectoryexists_14a5d62feeb4d061 = function() { return handleError(function (arg0, arg1) {
2549
+ imports.wbg.__wbg_ensureblockdirectoryexists_c37d9a6766483afe = function() { return handleError(function (arg0, arg1) {
2550
2550
  let deferred0_0;
2551
2551
  let deferred0_1;
2552
2552
  try {
@@ -2557,16 +2557,16 @@ function __wbg_get_imports() {
2557
2557
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2558
2558
  }
2559
2559
  }, arguments) };
2560
- imports.wbg.__wbg_processapicall_f4afed13db5ab0b3 = function(arg0, arg1, arg2) {
2560
+ imports.wbg.__wbg_processapicall_df16f778f2f36bcf = function(arg0, arg1, arg2) {
2561
2561
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2562
2562
  };
2563
- imports.wbg.__wbg_processapisuccess_d4eee1bdc9ce45e9 = function(arg0, arg1, arg2) {
2563
+ imports.wbg.__wbg_processapisuccess_e3a5a19f2cdf11bc = function(arg0, arg1, arg2) {
2564
2564
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2565
2565
  };
2566
- imports.wbg.__wbg_processapierror_dee7fb5cc26d98cb = function(arg0, arg1, arg2) {
2566
+ imports.wbg.__wbg_processapierror_4c0ecbabccdd69d5 = function(arg0, arg1, arg2) {
2567
2567
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2568
2568
  };
2569
- imports.wbg.__wbg_sendinterfaceevent_0a9c656019d28d82 = function(arg0, arg1, arg2, arg3, arg4) {
2569
+ imports.wbg.__wbg_sendinterfaceevent_37e6fbef320176f6 = function(arg0, arg1, arg2, arg3, arg4) {
2570
2570
  let deferred0_0;
2571
2571
  let deferred0_1;
2572
2572
  let deferred1_0;
@@ -2582,7 +2582,7 @@ function __wbg_get_imports() {
2582
2582
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
2583
2583
  }
2584
2584
  };
2585
- imports.wbg.__wbg_sendblocksuccess_774727514840b167 = function(arg0, arg1, arg2) {
2585
+ imports.wbg.__wbg_sendblocksuccess_951ef1ef8d7c4afe = function(arg0, arg1, arg2) {
2586
2586
  let deferred0_0;
2587
2587
  let deferred0_1;
2588
2588
  try {
@@ -2593,10 +2593,10 @@ function __wbg_get_imports() {
2593
2593
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2594
2594
  }
2595
2595
  };
2596
- imports.wbg.__wbg_sendwalletupdate_5225b6ca9290be54 = function() {
2596
+ imports.wbg.__wbg_sendwalletupdate_2254c46d7bdc5a3a = function() {
2597
2597
  MsgHandler.send_wallet_update();
2598
2598
  };
2599
- imports.wbg.__wbg_sendnewversionalert_9f7b2a5d8bfde2c7 = function(arg0, arg1, arg2) {
2599
+ imports.wbg.__wbg_sendnewversionalert_05420df3223668e8 = function(arg0, arg1, arg2) {
2600
2600
  let deferred0_0;
2601
2601
  let deferred0_1;
2602
2602
  try {
@@ -2607,16 +2607,16 @@ function __wbg_get_imports() {
2607
2607
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2608
2608
  }
2609
2609
  };
2610
- imports.wbg.__wbg_sendblockfetchstatusevent_d66df81f9e284a5d = function(arg0) {
2610
+ imports.wbg.__wbg_sendblockfetchstatusevent_5bd86b7ec49bc56d = function(arg0) {
2611
2611
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2612
2612
  };
2613
- imports.wbg.__wbg_savewallet_f0b18b6305f4c0ae = function() {
2613
+ imports.wbg.__wbg_savewallet_879fb0a29802aeb6 = function() {
2614
2614
  MsgHandler.save_wallet();
2615
2615
  };
2616
- imports.wbg.__wbg_loadwallet_defeadf75b8a77fe = function() {
2616
+ imports.wbg.__wbg_loadwallet_48e4a41b74be35ea = function() {
2617
2617
  MsgHandler.load_wallet();
2618
2618
  };
2619
- imports.wbg.__wbg_getmyservices_20fc5b5b3e272e36 = function() {
2619
+ imports.wbg.__wbg_getmyservices_828ce1628153fe52 = function() {
2620
2620
  const ret = MsgHandler.get_my_services();
2621
2621
  _assertClass(ret, WasmPeerServiceList);
2622
2622
  var ptr1 = ret.__destroy_into_raw();
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saito-wasm",
3
- "version": "0.2.78",
3
+ "version": "0.2.80",
4
4
  "files": [
5
5
  "index_bg.wasm",
6
6
  "index.js",