saito-wasm 0.2.97 → 0.2.99

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.97"
3
+ version = "0.2.99"
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.97",
3
+ "version": "0.2.99",
4
4
  "description": "js wrappings around saito-core using wasm",
5
5
  "scripts": {
6
6
  "test": "./node_modules/.bin/jest",
@@ -1,14 +1,14 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} json
4
+ * @param {string} config_json
5
5
  * @param {string} private_key
6
6
  * @param {number} log_level_num
7
7
  * @param {bigint} hasten_multiplier
8
8
  * @param {boolean} delete_old_blocks
9
9
  * @returns {Promise<any>}
10
10
  */
11
- export function initialize(json: string, private_key: string, log_level_num: number, hasten_multiplier: bigint, delete_old_blocks: boolean): Promise<any>;
11
+ export function initialize(config_json: string, private_key: string, log_level_num: number, hasten_multiplier: bigint, delete_old_blocks: boolean): Promise<any>;
12
12
  /**
13
13
  * @param {string} public_key
14
14
  * @param {bigint} amount
@@ -247,6 +247,10 @@ export function get_stats(): Promise<string>;
247
247
  */
248
248
  export function get_peer_stats(): Promise<string>;
249
249
  /**
250
+ * @returns {Promise<string>}
251
+ */
252
+ export function get_congestion_stats(): Promise<string>;
253
+ /**
250
254
  */
251
255
  export class SaitoWasm {
252
256
  free(): void;
package/pkg/node/index.js CHANGED
@@ -1,26 +1,17 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { MsgHandler } = require(String.raw`./snippets/saito-wasm-b45c8a6dcd9ce9de/js/msg_handler.js`);
4
+ const { MsgHandler } = require(String.raw`./snippets/saito-wasm-4375448d2b4dc1d8/js/msg_handler.js`);
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
7
  const heap = new Array(128).fill(undefined);
8
8
 
9
9
  heap.push(undefined, null, true, false);
10
10
 
11
- let heap_next = heap.length;
12
-
13
- function addHeapObject(obj) {
14
- if (heap_next === heap.length) heap.push(heap.length + 1);
15
- const idx = heap_next;
16
- heap_next = heap[idx];
17
-
18
- heap[idx] = obj;
19
- return idx;
20
- }
21
-
22
11
  function getObject(idx) { return heap[idx]; }
23
12
 
13
+ let heap_next = heap.length;
14
+
24
15
  function dropObject(idx) {
25
16
  if (idx < 132) return;
26
17
  heap[idx] = heap_next;
@@ -51,6 +42,15 @@ function getStringFromWasm0(ptr, len) {
51
42
  return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
52
43
  }
53
44
 
45
+ function addHeapObject(obj) {
46
+ if (heap_next === heap.length) heap.push(heap.length + 1);
47
+ const idx = heap_next;
48
+ heap_next = heap[idx];
49
+
50
+ heap[idx] = obj;
51
+ return idx;
52
+ }
53
+
54
54
  let WASM_VECTOR_LEN = 0;
55
55
 
56
56
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -228,38 +228,22 @@ function __wbg_adapter_38(arg0, arg1, arg2) {
228
228
  wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h575b308e3e106cb6(arg0, arg1, addHeapObject(arg2));
229
229
  }
230
230
 
231
- function handleError(f, args) {
232
- try {
233
- return f.apply(this, args);
234
- } catch (e) {
235
- wasm.__wbindgen_exn_store(addHeapObject(e));
236
- }
237
- }
238
-
239
231
  function _assertClass(instance, klass) {
240
232
  if (!(instance instanceof klass)) {
241
233
  throw new Error(`expected instance of ${klass.name}`);
242
234
  }
243
235
  return instance.ptr;
244
236
  }
245
-
246
- let stack_pointer = 128;
247
-
248
- function addBorrowedObject(obj) {
249
- if (stack_pointer == 1) throw new Error('out of js stack');
250
- heap[--stack_pointer] = obj;
251
- return stack_pointer;
252
- }
253
237
  /**
254
- * @param {string} json
238
+ * @param {string} config_json
255
239
  * @param {string} private_key
256
240
  * @param {number} log_level_num
257
241
  * @param {bigint} hasten_multiplier
258
242
  * @param {boolean} delete_old_blocks
259
243
  * @returns {Promise<any>}
260
244
  */
261
- module.exports.initialize = function(json, private_key, log_level_num, hasten_multiplier, delete_old_blocks) {
262
- const ret = wasm.initialize(addHeapObject(json), addHeapObject(private_key), log_level_num, hasten_multiplier, delete_old_blocks);
245
+ module.exports.initialize = function(config_json, private_key, log_level_num, hasten_multiplier, delete_old_blocks) {
246
+ const ret = wasm.initialize(addHeapObject(config_json), addHeapObject(private_key), log_level_num, hasten_multiplier, delete_old_blocks);
263
247
  return takeObject(ret);
264
248
  };
265
249
 
@@ -697,7 +681,30 @@ module.exports.get_peer_stats = function() {
697
681
  return takeObject(ret);
698
682
  };
699
683
 
700
- function __wbg_adapter_420(arg0, arg1, arg2, arg3) {
684
+ /**
685
+ * @returns {Promise<string>}
686
+ */
687
+ module.exports.get_congestion_stats = function() {
688
+ const ret = wasm.get_congestion_stats();
689
+ return takeObject(ret);
690
+ };
691
+
692
+ let stack_pointer = 128;
693
+
694
+ function addBorrowedObject(obj) {
695
+ if (stack_pointer == 1) throw new Error('out of js stack');
696
+ heap[--stack_pointer] = obj;
697
+ return stack_pointer;
698
+ }
699
+
700
+ function handleError(f, args) {
701
+ try {
702
+ return f.apply(this, args);
703
+ } catch (e) {
704
+ wasm.__wbindgen_exn_store(addHeapObject(e));
705
+ }
706
+ }
707
+ function __wbg_adapter_421(arg0, arg1, arg2, arg3) {
701
708
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h1d2fe914d97897fe(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
702
709
  }
703
710
 
@@ -2555,11 +2562,6 @@ class WasmWalletSlip {
2555
2562
  }
2556
2563
  module.exports.WasmWalletSlip = WasmWalletSlip;
2557
2564
 
2558
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2559
- const ret = BigInt.asUintN(64, arg0);
2560
- return addHeapObject(ret);
2561
- };
2562
-
2563
2565
  module.exports.__wbindgen_object_drop_ref = function(arg0) {
2564
2566
  takeObject(arg0);
2565
2567
  };
@@ -2569,13 +2571,32 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
2569
2571
  return addHeapObject(ret);
2570
2572
  };
2571
2573
 
2572
- module.exports.__wbg_wasmblockchain_new = function(arg0) {
2573
- const ret = WasmBlockchain.__wrap(arg0);
2574
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
2575
+ const ret = BigInt.asUintN(64, arg0);
2574
2576
  return addHeapObject(ret);
2575
2577
  };
2576
2578
 
2577
- module.exports.__wbg_wasmblock_new = function(arg0) {
2578
- const ret = WasmBlock.__wrap(arg0);
2579
+ module.exports.__wbg_wasmslip_new = function(arg0) {
2580
+ const ret = WasmSlip.__wrap(arg0);
2581
+ return addHeapObject(ret);
2582
+ };
2583
+
2584
+ module.exports.__wbg_wasmtransaction_new = function(arg0) {
2585
+ const ret = WasmTransaction.__wrap(arg0);
2586
+ return addHeapObject(ret);
2587
+ };
2588
+
2589
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
2590
+ const obj = getObject(arg1);
2591
+ const ret = typeof(obj) === 'string' ? obj : undefined;
2592
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2593
+ var len1 = WASM_VECTOR_LEN;
2594
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
2595
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2596
+ };
2597
+
2598
+ module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2599
+ const ret = WasmWalletSlip.__wrap(arg0);
2579
2600
  return addHeapObject(ret);
2580
2601
  };
2581
2602
 
@@ -2589,37 +2610,28 @@ module.exports.__wbg_wasmnft_new = function(arg0) {
2589
2610
  return addHeapObject(ret);
2590
2611
  };
2591
2612
 
2592
- module.exports.__wbg_wasmwallet_new = function(arg0) {
2593
- const ret = WasmWallet.__wrap(arg0);
2613
+ module.exports.__wbg_wasmblock_new = function(arg0) {
2614
+ const ret = WasmBlock.__wrap(arg0);
2594
2615
  return addHeapObject(ret);
2595
2616
  };
2596
2617
 
2597
- module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2598
- const ret = WasmBalanceSnapshot.__wrap(arg0);
2618
+ module.exports.__wbg_wasmblockchain_new = function(arg0) {
2619
+ const ret = WasmBlockchain.__wrap(arg0);
2599
2620
  return addHeapObject(ret);
2600
2621
  };
2601
2622
 
2602
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
2603
- const obj = getObject(arg1);
2604
- const ret = typeof(obj) === 'string' ? obj : undefined;
2605
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2606
- var len1 = WASM_VECTOR_LEN;
2607
- getInt32Memory0()[arg0 / 4 + 1] = len1;
2608
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
2609
- };
2610
-
2611
- module.exports.__wbg_wasmwalletslip_new = function(arg0) {
2612
- const ret = WasmWalletSlip.__wrap(arg0);
2623
+ module.exports.__wbg_wasmwallet_new = function(arg0) {
2624
+ const ret = WasmWallet.__wrap(arg0);
2613
2625
  return addHeapObject(ret);
2614
2626
  };
2615
2627
 
2616
- module.exports.__wbg_wasmtransaction_new = function(arg0) {
2617
- const ret = WasmTransaction.__wrap(arg0);
2628
+ module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
2629
+ const ret = WasmBalanceSnapshot.__wrap(arg0);
2618
2630
  return addHeapObject(ret);
2619
2631
  };
2620
2632
 
2621
- module.exports.__wbg_wasmslip_new = function(arg0) {
2622
- const ret = WasmSlip.__wrap(arg0);
2633
+ module.exports.__wbg_wasmhop_new = function(arg0) {
2634
+ const ret = WasmHop.__wrap(arg0);
2623
2635
  return addHeapObject(ret);
2624
2636
  };
2625
2637
 
@@ -2628,6 +2640,11 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
2628
2640
  return addHeapObject(ret);
2629
2641
  };
2630
2642
 
2643
+ module.exports.__wbg_wasmpeerservice_new = function(arg0) {
2644
+ const ret = WasmPeerService.__wrap(arg0);
2645
+ return addHeapObject(ret);
2646
+ };
2647
+
2631
2648
  module.exports.__wbindgen_is_object = function(arg0) {
2632
2649
  const val = getObject(arg0);
2633
2650
  const ret = typeof(val) === 'object' && val !== null;
@@ -2644,15 +2661,15 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
2644
2661
  return ret;
2645
2662
  };
2646
2663
 
2647
- module.exports.__wbg_sendmessage_2b354f191bbba65f = function(arg0, arg1) {
2664
+ module.exports.__wbg_sendmessage_97d7f022a877467e = function(arg0, arg1) {
2648
2665
  MsgHandler.send_message(takeObject(arg0), getObject(arg1));
2649
2666
  };
2650
2667
 
2651
- module.exports.__wbg_sendmessagetoall_a02b856abefbfe14 = function(arg0, arg1) {
2668
+ module.exports.__wbg_sendmessagetoall_ba211b96dfa65fe5 = function(arg0, arg1) {
2652
2669
  MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
2653
2670
  };
2654
2671
 
2655
- module.exports.__wbg_connecttopeer_f6a3e45a0ac78200 = function() { return handleError(function (arg0, arg1, arg2) {
2672
+ module.exports.__wbg_connecttopeer_2ab190f6ca71f5f7 = function() { return handleError(function (arg0, arg1, arg2) {
2656
2673
  let deferred0_0;
2657
2674
  let deferred0_1;
2658
2675
  try {
@@ -2665,12 +2682,12 @@ module.exports.__wbg_connecttopeer_f6a3e45a0ac78200 = function() { return handle
2665
2682
  }
2666
2683
  }, arguments) };
2667
2684
 
2668
- module.exports.__wbg_disconnectfrompeer_2f8dae828632793c = function() { return handleError(function (arg0) {
2685
+ module.exports.__wbg_disconnectfrompeer_fa7180862666085b = function() { return handleError(function (arg0) {
2669
2686
  const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
2670
2687
  return addHeapObject(ret);
2671
2688
  }, arguments) };
2672
2689
 
2673
- module.exports.__wbg_fetchblockfrompeer_3e78b4611fb74141 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2690
+ module.exports.__wbg_fetchblockfrompeer_ebaf495142809113 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2674
2691
  let deferred0_0;
2675
2692
  let deferred0_1;
2676
2693
  try {
@@ -2683,7 +2700,7 @@ module.exports.__wbg_fetchblockfrompeer_3e78b4611fb74141 = function() { return h
2683
2700
  }
2684
2701
  }, arguments) };
2685
2702
 
2686
- module.exports.__wbg_writevalue_c19f047c2edbf7e6 = function(arg0, arg1, arg2) {
2703
+ module.exports.__wbg_writevalue_db033c89e3cc6ce1 = function(arg0, arg1, arg2) {
2687
2704
  let deferred0_0;
2688
2705
  let deferred0_1;
2689
2706
  try {
@@ -2695,7 +2712,7 @@ module.exports.__wbg_writevalue_c19f047c2edbf7e6 = function(arg0, arg1, arg2) {
2695
2712
  }
2696
2713
  };
2697
2714
 
2698
- module.exports.__wbg_appendvalue_190f0b64fdd1118f = function(arg0, arg1, arg2) {
2715
+ module.exports.__wbg_appendvalue_b71488e99c0b2acc = function(arg0, arg1, arg2) {
2699
2716
  let deferred0_0;
2700
2717
  let deferred0_1;
2701
2718
  try {
@@ -2707,7 +2724,7 @@ module.exports.__wbg_appendvalue_190f0b64fdd1118f = function(arg0, arg1, arg2) {
2707
2724
  }
2708
2725
  };
2709
2726
 
2710
- module.exports.__wbg_flushdata_d81471c52acf9534 = function(arg0, arg1) {
2727
+ module.exports.__wbg_flushdata_9472c01596035377 = function(arg0, arg1) {
2711
2728
  let deferred0_0;
2712
2729
  let deferred0_1;
2713
2730
  try {
@@ -2719,7 +2736,7 @@ module.exports.__wbg_flushdata_d81471c52acf9534 = function(arg0, arg1) {
2719
2736
  }
2720
2737
  };
2721
2738
 
2722
- module.exports.__wbg_readvalue_21a901db2b03aa6e = function() { return handleError(function (arg0, arg1) {
2739
+ module.exports.__wbg_readvalue_52aaffc6b45c3221 = function() { return handleError(function (arg0, arg1) {
2723
2740
  let deferred0_0;
2724
2741
  let deferred0_1;
2725
2742
  try {
@@ -2732,12 +2749,12 @@ module.exports.__wbg_readvalue_21a901db2b03aa6e = function() { return handleErro
2732
2749
  }
2733
2750
  }, arguments) };
2734
2751
 
2735
- module.exports.__wbg_loadblockfilelist_75fb9bfa84a987db = function() { return handleError(function () {
2752
+ module.exports.__wbg_loadblockfilelist_a4e2a6d9d03ee691 = function() { return handleError(function () {
2736
2753
  const ret = MsgHandler.load_block_file_list();
2737
2754
  return addHeapObject(ret);
2738
2755
  }, arguments) };
2739
2756
 
2740
- module.exports.__wbg_isexistingfile_5ff330a31fbe4ab8 = function() { return handleError(function (arg0, arg1) {
2757
+ module.exports.__wbg_isexistingfile_961bc3427edd9588 = function() { return handleError(function (arg0, arg1) {
2741
2758
  let deferred0_0;
2742
2759
  let deferred0_1;
2743
2760
  try {
@@ -2750,7 +2767,7 @@ module.exports.__wbg_isexistingfile_5ff330a31fbe4ab8 = function() { return handl
2750
2767
  }
2751
2768
  }, arguments) };
2752
2769
 
2753
- module.exports.__wbg_removevalue_5aad14b432fc5e3b = function() { return handleError(function (arg0, arg1) {
2770
+ module.exports.__wbg_removevalue_04f5e8da4126f5ff = function() { return handleError(function (arg0, arg1) {
2754
2771
  let deferred0_0;
2755
2772
  let deferred0_1;
2756
2773
  try {
@@ -2763,7 +2780,7 @@ module.exports.__wbg_removevalue_5aad14b432fc5e3b = function() { return handleEr
2763
2780
  }
2764
2781
  }, arguments) };
2765
2782
 
2766
- module.exports.__wbg_ensureblockdirectoryexists_6acb3dcab334e54f = function() { return handleError(function (arg0, arg1) {
2783
+ module.exports.__wbg_ensureblockdirectoryexists_a66636c752771723 = function() { return handleError(function (arg0, arg1) {
2767
2784
  let deferred0_0;
2768
2785
  let deferred0_1;
2769
2786
  try {
@@ -2775,19 +2792,19 @@ module.exports.__wbg_ensureblockdirectoryexists_6acb3dcab334e54f = function() {
2775
2792
  }
2776
2793
  }, arguments) };
2777
2794
 
2778
- module.exports.__wbg_processapicall_348f8802466464f8 = function(arg0, arg1, arg2) {
2795
+ module.exports.__wbg_processapicall_58ba2d9ccb130e31 = function(arg0, arg1, arg2) {
2779
2796
  MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2780
2797
  };
2781
2798
 
2782
- module.exports.__wbg_processapisuccess_2548ab1b4cbf4550 = function(arg0, arg1, arg2) {
2799
+ module.exports.__wbg_processapisuccess_9ead7dfd1f7243b6 = function(arg0, arg1, arg2) {
2783
2800
  MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2784
2801
  };
2785
2802
 
2786
- module.exports.__wbg_processapierror_50719fffa83242ac = function(arg0, arg1, arg2) {
2803
+ module.exports.__wbg_processapierror_5edd170759073625 = function(arg0, arg1, arg2) {
2787
2804
  MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
2788
2805
  };
2789
2806
 
2790
- module.exports.__wbg_sendinterfaceevent_624c75814d5c701f = function(arg0, arg1, arg2, arg3, arg4) {
2807
+ module.exports.__wbg_sendinterfaceevent_d7add55de27c21bc = function(arg0, arg1, arg2, arg3, arg4) {
2791
2808
  let deferred0_0;
2792
2809
  let deferred0_1;
2793
2810
  let deferred1_0;
@@ -2804,7 +2821,7 @@ module.exports.__wbg_sendinterfaceevent_624c75814d5c701f = function(arg0, arg1,
2804
2821
  }
2805
2822
  };
2806
2823
 
2807
- module.exports.__wbg_sendblocksuccess_3d2a8a7f0565ba5a = function(arg0, arg1, arg2) {
2824
+ module.exports.__wbg_sendblocksuccess_35d6fef02f71245a = function(arg0, arg1, arg2) {
2808
2825
  let deferred0_0;
2809
2826
  let deferred0_1;
2810
2827
  try {
@@ -2816,11 +2833,11 @@ module.exports.__wbg_sendblocksuccess_3d2a8a7f0565ba5a = function(arg0, arg1, ar
2816
2833
  }
2817
2834
  };
2818
2835
 
2819
- module.exports.__wbg_sendwalletupdate_495f6f7559a64ef4 = function() {
2836
+ module.exports.__wbg_sendwalletupdate_7943305ec88b0155 = function() {
2820
2837
  MsgHandler.send_wallet_update();
2821
2838
  };
2822
2839
 
2823
- module.exports.__wbg_sendnewversionalert_0fd3ce9054611c4f = function(arg0, arg1, arg2) {
2840
+ module.exports.__wbg_sendnewversionalert_7edac17a51748e05 = function(arg0, arg1, arg2) {
2824
2841
  let deferred0_0;
2825
2842
  let deferred0_1;
2826
2843
  try {
@@ -2832,35 +2849,25 @@ module.exports.__wbg_sendnewversionalert_0fd3ce9054611c4f = function(arg0, arg1,
2832
2849
  }
2833
2850
  };
2834
2851
 
2835
- module.exports.__wbg_sendblockfetchstatusevent_e0d10082e9d3260d = function(arg0) {
2852
+ module.exports.__wbg_sendblockfetchstatusevent_87def7f265f52508 = function(arg0) {
2836
2853
  MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
2837
2854
  };
2838
2855
 
2839
- module.exports.__wbg_savewallet_85ace855f615ea4e = function() {
2856
+ module.exports.__wbg_savewallet_36ef14fa90357832 = function() {
2840
2857
  MsgHandler.save_wallet();
2841
2858
  };
2842
2859
 
2843
- module.exports.__wbg_loadwallet_7c3aa7326ed80060 = function() {
2860
+ module.exports.__wbg_loadwallet_c140164674179902 = function() {
2844
2861
  MsgHandler.load_wallet();
2845
2862
  };
2846
2863
 
2847
- module.exports.__wbg_getmyservices_45b0fe08ed80e525 = function() {
2864
+ module.exports.__wbg_getmyservices_3277a77e136f5719 = function() {
2848
2865
  const ret = MsgHandler.get_my_services();
2849
2866
  _assertClass(ret, WasmPeerServiceList);
2850
2867
  var ptr1 = ret.__destroy_into_raw();
2851
2868
  return ptr1;
2852
2869
  };
2853
2870
 
2854
- module.exports.__wbg_wasmpeerservice_new = function(arg0) {
2855
- const ret = WasmPeerService.__wrap(arg0);
2856
- return addHeapObject(ret);
2857
- };
2858
-
2859
- module.exports.__wbg_wasmhop_new = function(arg0) {
2860
- const ret = WasmHop.__wrap(arg0);
2861
- return addHeapObject(ret);
2862
- };
2863
-
2864
2871
  module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
2865
2872
  const ret = getObject(arg0) == getObject(arg1);
2866
2873
  return ret;
@@ -3129,7 +3136,7 @@ module.exports.__wbg_new_81740750da40724f = function(arg0, arg1) {
3129
3136
  const a = state0.a;
3130
3137
  state0.a = 0;
3131
3138
  try {
3132
- return __wbg_adapter_420(a, state0.b, arg0, arg1);
3139
+ return __wbg_adapter_421(a, state0.b, arg0, arg1);
3133
3140
  } finally {
3134
3141
  state0.a = a;
3135
3142
  }
@@ -3227,8 +3234,8 @@ module.exports.__wbindgen_memory = function() {
3227
3234
  return addHeapObject(ret);
3228
3235
  };
3229
3236
 
3230
- module.exports.__wbindgen_closure_wrapper1374 = function(arg0, arg1, arg2) {
3231
- const ret = makeMutClosure(arg0, arg1, 489, __wbg_adapter_38);
3237
+ module.exports.__wbindgen_closure_wrapper1475 = function(arg0, arg1, arg2) {
3238
+ const ret = makeMutClosure(arg0, arg1, 519, __wbg_adapter_38);
3232
3239
  return addHeapObject(ret);
3233
3240
  };
3234
3241
 
Binary file