saito-wasm 0.2.109 → 0.2.111
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 +1 -1
- package/package.json +1 -1
- package/pkg/node/index.js +97 -97
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +138 -138
- package/pkg/node/package.json +1 -1
- package/pkg/web/index.d.ts +138 -138
- package/pkg/web/index.js +92 -92
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +138 -138
- package/pkg/web/package.json +1 -1
- /package/pkg/node/snippets/{saito-wasm-e43d5d0d0dc6b2eb → saito-wasm-4593348001ae2b5f}/js/msg_handler.js +0 -0
- /package/pkg/web/snippets/{saito-wasm-e43d5d0d0dc6b2eb → saito-wasm-4593348001ae2b5f}/js/msg_handler.js +0 -0
package/Cargo.toml
CHANGED
package/package.json
CHANGED
package/pkg/node/index.js
CHANGED
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
|
-
const { MsgHandler } = require(String.raw`./snippets/saito-wasm-
|
|
4
|
+
const { MsgHandler } = require(String.raw`./snippets/saito-wasm-4593348001ae2b5f/js/msg_handler.js`);
|
|
5
5
|
const { TextDecoder, TextEncoder } = require(`util`);
|
|
6
6
|
|
|
7
|
+
const heap = new Array(128).fill(undefined);
|
|
8
|
+
|
|
9
|
+
heap.push(undefined, null, true, false);
|
|
10
|
+
|
|
11
|
+
function getObject(idx) { return heap[idx]; }
|
|
12
|
+
|
|
13
|
+
let heap_next = heap.length;
|
|
14
|
+
|
|
15
|
+
function dropObject(idx) {
|
|
16
|
+
if (idx < 132) return;
|
|
17
|
+
heap[idx] = heap_next;
|
|
18
|
+
heap_next = idx;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function takeObject(idx) {
|
|
22
|
+
const ret = getObject(idx);
|
|
23
|
+
dropObject(idx);
|
|
24
|
+
return ret;
|
|
25
|
+
}
|
|
26
|
+
|
|
7
27
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
8
28
|
|
|
9
29
|
cachedTextDecoder.decode();
|
|
@@ -22,12 +42,6 @@ function getStringFromWasm0(ptr, len) {
|
|
|
22
42
|
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
23
43
|
}
|
|
24
44
|
|
|
25
|
-
const heap = new Array(128).fill(undefined);
|
|
26
|
-
|
|
27
|
-
heap.push(undefined, null, true, false);
|
|
28
|
-
|
|
29
|
-
let heap_next = heap.length;
|
|
30
|
-
|
|
31
45
|
function addHeapObject(obj) {
|
|
32
46
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
33
47
|
const idx = heap_next;
|
|
@@ -37,20 +51,6 @@ function addHeapObject(obj) {
|
|
|
37
51
|
return idx;
|
|
38
52
|
}
|
|
39
53
|
|
|
40
|
-
function getObject(idx) { return heap[idx]; }
|
|
41
|
-
|
|
42
|
-
function dropObject(idx) {
|
|
43
|
-
if (idx < 132) return;
|
|
44
|
-
heap[idx] = heap_next;
|
|
45
|
-
heap_next = idx;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function takeObject(idx) {
|
|
49
|
-
const ret = getObject(idx);
|
|
50
|
-
dropObject(idx);
|
|
51
|
-
return ret;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
54
|
let WASM_VECTOR_LEN = 0;
|
|
55
55
|
|
|
56
56
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
@@ -225,23 +225,9 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
225
225
|
return real;
|
|
226
226
|
}
|
|
227
227
|
function __wbg_adapter_38(arg0, arg1, arg2) {
|
|
228
|
-
wasm.
|
|
228
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b81f38714849c11(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
|
-
function _assertClass(instance, klass) {
|
|
240
|
-
if (!(instance instanceof klass)) {
|
|
241
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
242
|
-
}
|
|
243
|
-
return instance.ptr;
|
|
244
|
-
}
|
|
245
231
|
/**
|
|
246
232
|
* @param {string} config_json
|
|
247
233
|
* @param {string} private_key
|
|
@@ -533,6 +519,12 @@ module.exports.get_balance_snapshot = function(keys) {
|
|
|
533
519
|
return takeObject(ret);
|
|
534
520
|
};
|
|
535
521
|
|
|
522
|
+
function _assertClass(instance, klass) {
|
|
523
|
+
if (!(instance instanceof klass)) {
|
|
524
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
525
|
+
}
|
|
526
|
+
return instance.ptr;
|
|
527
|
+
}
|
|
536
528
|
/**
|
|
537
529
|
* @param {WasmBalanceSnapshot} snapshot
|
|
538
530
|
* @returns {Promise<void>}
|
|
@@ -716,6 +708,14 @@ module.exports.get_congestion_stats = function() {
|
|
|
716
708
|
return takeObject(ret);
|
|
717
709
|
};
|
|
718
710
|
|
|
711
|
+
function handleError(f, args) {
|
|
712
|
+
try {
|
|
713
|
+
return f.apply(this, args);
|
|
714
|
+
} catch (e) {
|
|
715
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
|
|
719
719
|
let stack_pointer = 128;
|
|
720
720
|
|
|
721
721
|
function addBorrowedObject(obj) {
|
|
@@ -724,7 +724,7 @@ function addBorrowedObject(obj) {
|
|
|
724
724
|
return stack_pointer;
|
|
725
725
|
}
|
|
726
726
|
function __wbg_adapter_424(arg0, arg1, arg2, arg3) {
|
|
727
|
-
wasm.
|
|
727
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h181ffbb7749dfc48(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
const SaitoWasmFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -2603,17 +2603,12 @@ class WasmWalletSlip {
|
|
|
2603
2603
|
}
|
|
2604
2604
|
module.exports.WasmWalletSlip = WasmWalletSlip;
|
|
2605
2605
|
|
|
2606
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
2607
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
2608
|
-
return addHeapObject(ret);
|
|
2609
|
-
};
|
|
2610
|
-
|
|
2611
2606
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
2612
2607
|
takeObject(arg0);
|
|
2613
2608
|
};
|
|
2614
2609
|
|
|
2615
|
-
module.exports.
|
|
2616
|
-
const ret =
|
|
2610
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
2611
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
2617
2612
|
return addHeapObject(ret);
|
|
2618
2613
|
};
|
|
2619
2614
|
|
|
@@ -2622,16 +2617,6 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
|
2622
2617
|
return addHeapObject(ret);
|
|
2623
2618
|
};
|
|
2624
2619
|
|
|
2625
|
-
module.exports.__wbg_wasmblockchain_new = function(arg0) {
|
|
2626
|
-
const ret = WasmBlockchain.__wrap(arg0);
|
|
2627
|
-
return addHeapObject(ret);
|
|
2628
|
-
};
|
|
2629
|
-
|
|
2630
|
-
module.exports.__wbg_wasmtransaction_new = function(arg0) {
|
|
2631
|
-
const ret = WasmTransaction.__wrap(arg0);
|
|
2632
|
-
return addHeapObject(ret);
|
|
2633
|
-
};
|
|
2634
|
-
|
|
2635
2620
|
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
2636
2621
|
const obj = getObject(arg1);
|
|
2637
2622
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
@@ -2641,8 +2626,23 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
2641
2626
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2642
2627
|
};
|
|
2643
2628
|
|
|
2644
|
-
module.exports.
|
|
2645
|
-
const ret =
|
|
2629
|
+
module.exports.__wbg_wasmtransaction_new = function(arg0) {
|
|
2630
|
+
const ret = WasmTransaction.__wrap(arg0);
|
|
2631
|
+
return addHeapObject(ret);
|
|
2632
|
+
};
|
|
2633
|
+
|
|
2634
|
+
module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
|
|
2635
|
+
const ret = WasmBalanceSnapshot.__wrap(arg0);
|
|
2636
|
+
return addHeapObject(ret);
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
module.exports.__wbg_wasmwalletslip_new = function(arg0) {
|
|
2640
|
+
const ret = WasmWalletSlip.__wrap(arg0);
|
|
2641
|
+
return addHeapObject(ret);
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
module.exports.__wbg_wasmwallet_new = function(arg0) {
|
|
2645
|
+
const ret = WasmWallet.__wrap(arg0);
|
|
2646
2646
|
return addHeapObject(ret);
|
|
2647
2647
|
};
|
|
2648
2648
|
|
|
@@ -2656,18 +2656,28 @@ module.exports.__wbg_wasmslip_new = function(arg0) {
|
|
|
2656
2656
|
return addHeapObject(ret);
|
|
2657
2657
|
};
|
|
2658
2658
|
|
|
2659
|
-
module.exports.
|
|
2660
|
-
const ret =
|
|
2659
|
+
module.exports.__wbg_wasmblockchain_new = function(arg0) {
|
|
2660
|
+
const ret = WasmBlockchain.__wrap(arg0);
|
|
2661
2661
|
return addHeapObject(ret);
|
|
2662
2662
|
};
|
|
2663
2663
|
|
|
2664
|
-
module.exports.
|
|
2665
|
-
const ret =
|
|
2664
|
+
module.exports.__wbg_wasmnft_new = function(arg0) {
|
|
2665
|
+
const ret = WasmNFT.__wrap(arg0);
|
|
2666
2666
|
return addHeapObject(ret);
|
|
2667
2667
|
};
|
|
2668
2668
|
|
|
2669
|
-
module.exports.
|
|
2670
|
-
const ret =
|
|
2669
|
+
module.exports.__wbg_wasmblock_new = function(arg0) {
|
|
2670
|
+
const ret = WasmBlock.__wrap(arg0);
|
|
2671
|
+
return addHeapObject(ret);
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
module.exports.__wbg_wasmhop_new = function(arg0) {
|
|
2675
|
+
const ret = WasmHop.__wrap(arg0);
|
|
2676
|
+
return addHeapObject(ret);
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2679
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
2680
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2671
2681
|
return addHeapObject(ret);
|
|
2672
2682
|
};
|
|
2673
2683
|
|
|
@@ -2687,15 +2697,15 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
|
2687
2697
|
return ret;
|
|
2688
2698
|
};
|
|
2689
2699
|
|
|
2690
|
-
module.exports.
|
|
2700
|
+
module.exports.__wbg_sendmessage_60ac34929e01f90a = function(arg0, arg1) {
|
|
2691
2701
|
MsgHandler.send_message(takeObject(arg0), getObject(arg1));
|
|
2692
2702
|
};
|
|
2693
2703
|
|
|
2694
|
-
module.exports.
|
|
2704
|
+
module.exports.__wbg_sendmessagetoall_dd37c4e3d81cfb02 = function(arg0, arg1) {
|
|
2695
2705
|
MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
|
|
2696
2706
|
};
|
|
2697
2707
|
|
|
2698
|
-
module.exports.
|
|
2708
|
+
module.exports.__wbg_connecttopeer_520fb19cb8efb4cc = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2699
2709
|
let deferred0_0;
|
|
2700
2710
|
let deferred0_1;
|
|
2701
2711
|
try {
|
|
@@ -2708,12 +2718,12 @@ module.exports.__wbg_connecttopeer_7300e81c8fee01df = function() { return handle
|
|
|
2708
2718
|
}
|
|
2709
2719
|
}, arguments) };
|
|
2710
2720
|
|
|
2711
|
-
module.exports.
|
|
2721
|
+
module.exports.__wbg_disconnectfrompeer_9cf3c916c0f496c3 = function() { return handleError(function (arg0) {
|
|
2712
2722
|
const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
|
|
2713
2723
|
return addHeapObject(ret);
|
|
2714
2724
|
}, arguments) };
|
|
2715
2725
|
|
|
2716
|
-
module.exports.
|
|
2726
|
+
module.exports.__wbg_fetchblockfrompeer_4e645b26c9c6cffd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2717
2727
|
let deferred0_0;
|
|
2718
2728
|
let deferred0_1;
|
|
2719
2729
|
try {
|
|
@@ -2726,7 +2736,7 @@ module.exports.__wbg_fetchblockfrompeer_bb8350ce7f0eea14 = function() { return h
|
|
|
2726
2736
|
}
|
|
2727
2737
|
}, arguments) };
|
|
2728
2738
|
|
|
2729
|
-
module.exports.
|
|
2739
|
+
module.exports.__wbg_writevalue_d7ff80b45cb179e7 = function(arg0, arg1, arg2) {
|
|
2730
2740
|
let deferred0_0;
|
|
2731
2741
|
let deferred0_1;
|
|
2732
2742
|
try {
|
|
@@ -2738,7 +2748,7 @@ module.exports.__wbg_writevalue_3c10a5b0d9e5f39f = function(arg0, arg1, arg2) {
|
|
|
2738
2748
|
}
|
|
2739
2749
|
};
|
|
2740
2750
|
|
|
2741
|
-
module.exports.
|
|
2751
|
+
module.exports.__wbg_appendvalue_4136cb2ada1e605b = function(arg0, arg1, arg2) {
|
|
2742
2752
|
let deferred0_0;
|
|
2743
2753
|
let deferred0_1;
|
|
2744
2754
|
try {
|
|
@@ -2750,7 +2760,7 @@ module.exports.__wbg_appendvalue_618ceb860a8aa480 = function(arg0, arg1, arg2) {
|
|
|
2750
2760
|
}
|
|
2751
2761
|
};
|
|
2752
2762
|
|
|
2753
|
-
module.exports.
|
|
2763
|
+
module.exports.__wbg_flushdata_e4eba82d50af4d68 = function(arg0, arg1) {
|
|
2754
2764
|
let deferred0_0;
|
|
2755
2765
|
let deferred0_1;
|
|
2756
2766
|
try {
|
|
@@ -2762,7 +2772,7 @@ module.exports.__wbg_flushdata_bb08ed37bc709dfa = function(arg0, arg1) {
|
|
|
2762
2772
|
}
|
|
2763
2773
|
};
|
|
2764
2774
|
|
|
2765
|
-
module.exports.
|
|
2775
|
+
module.exports.__wbg_readvalue_d4fcdcdd2ef48a37 = function() { return handleError(function (arg0, arg1) {
|
|
2766
2776
|
let deferred0_0;
|
|
2767
2777
|
let deferred0_1;
|
|
2768
2778
|
try {
|
|
@@ -2775,12 +2785,12 @@ module.exports.__wbg_readvalue_f0f3db2b62e66acc = function() { return handleErro
|
|
|
2775
2785
|
}
|
|
2776
2786
|
}, arguments) };
|
|
2777
2787
|
|
|
2778
|
-
module.exports.
|
|
2788
|
+
module.exports.__wbg_loadblockfilelist_d8a247e53a690a9b = function() { return handleError(function () {
|
|
2779
2789
|
const ret = MsgHandler.load_block_file_list();
|
|
2780
2790
|
return addHeapObject(ret);
|
|
2781
2791
|
}, arguments) };
|
|
2782
2792
|
|
|
2783
|
-
module.exports.
|
|
2793
|
+
module.exports.__wbg_isexistingfile_3411fb80788f03c9 = function() { return handleError(function (arg0, arg1) {
|
|
2784
2794
|
let deferred0_0;
|
|
2785
2795
|
let deferred0_1;
|
|
2786
2796
|
try {
|
|
@@ -2793,7 +2803,7 @@ module.exports.__wbg_isexistingfile_ff2ecc1da664ac46 = function() { return handl
|
|
|
2793
2803
|
}
|
|
2794
2804
|
}, arguments) };
|
|
2795
2805
|
|
|
2796
|
-
module.exports.
|
|
2806
|
+
module.exports.__wbg_removevalue_36f6c4478bb1e22a = function() { return handleError(function (arg0, arg1) {
|
|
2797
2807
|
let deferred0_0;
|
|
2798
2808
|
let deferred0_1;
|
|
2799
2809
|
try {
|
|
@@ -2806,7 +2816,7 @@ module.exports.__wbg_removevalue_8332354fed8f3594 = function() { return handleEr
|
|
|
2806
2816
|
}
|
|
2807
2817
|
}, arguments) };
|
|
2808
2818
|
|
|
2809
|
-
module.exports.
|
|
2819
|
+
module.exports.__wbg_ensureblockdirectoryexists_ca37897fcf6db834 = function() { return handleError(function (arg0, arg1) {
|
|
2810
2820
|
let deferred0_0;
|
|
2811
2821
|
let deferred0_1;
|
|
2812
2822
|
try {
|
|
@@ -2818,19 +2828,19 @@ module.exports.__wbg_ensureblockdirectoryexists_17d7c0013891066f = function() {
|
|
|
2818
2828
|
}
|
|
2819
2829
|
}, arguments) };
|
|
2820
2830
|
|
|
2821
|
-
module.exports.
|
|
2831
|
+
module.exports.__wbg_processapicall_5a54f4c0e96bebca = function(arg0, arg1, arg2) {
|
|
2822
2832
|
MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
|
|
2823
2833
|
};
|
|
2824
2834
|
|
|
2825
|
-
module.exports.
|
|
2835
|
+
module.exports.__wbg_processapisuccess_74ad4c725c55cab9 = function(arg0, arg1, arg2) {
|
|
2826
2836
|
MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
|
|
2827
2837
|
};
|
|
2828
2838
|
|
|
2829
|
-
module.exports.
|
|
2839
|
+
module.exports.__wbg_processapierror_1d41c81af9ffdd2d = function(arg0, arg1, arg2) {
|
|
2830
2840
|
MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
|
|
2831
2841
|
};
|
|
2832
2842
|
|
|
2833
|
-
module.exports.
|
|
2843
|
+
module.exports.__wbg_sendinterfaceevent_0495938273bd3ecb = function(arg0, arg1, arg2, arg3, arg4) {
|
|
2834
2844
|
let deferred0_0;
|
|
2835
2845
|
let deferred0_1;
|
|
2836
2846
|
let deferred1_0;
|
|
@@ -2847,7 +2857,7 @@ module.exports.__wbg_sendinterfaceevent_e9b4837d36fbf9ff = function(arg0, arg1,
|
|
|
2847
2857
|
}
|
|
2848
2858
|
};
|
|
2849
2859
|
|
|
2850
|
-
module.exports.
|
|
2860
|
+
module.exports.__wbg_sendblocksuccess_d6f269bebdc169ed = function(arg0, arg1, arg2) {
|
|
2851
2861
|
let deferred0_0;
|
|
2852
2862
|
let deferred0_1;
|
|
2853
2863
|
try {
|
|
@@ -2859,11 +2869,11 @@ module.exports.__wbg_sendblocksuccess_7e75116641308a16 = function(arg0, arg1, ar
|
|
|
2859
2869
|
}
|
|
2860
2870
|
};
|
|
2861
2871
|
|
|
2862
|
-
module.exports.
|
|
2872
|
+
module.exports.__wbg_sendwalletupdate_6123dd2c03aa38d3 = function() {
|
|
2863
2873
|
MsgHandler.send_wallet_update();
|
|
2864
2874
|
};
|
|
2865
2875
|
|
|
2866
|
-
module.exports.
|
|
2876
|
+
module.exports.__wbg_sendnewversionalert_7b36214ed7aed727 = function(arg0, arg1, arg2) {
|
|
2867
2877
|
let deferred0_0;
|
|
2868
2878
|
let deferred0_1;
|
|
2869
2879
|
try {
|
|
@@ -2875,19 +2885,19 @@ module.exports.__wbg_sendnewversionalert_1aa1233c519b08d2 = function(arg0, arg1,
|
|
|
2875
2885
|
}
|
|
2876
2886
|
};
|
|
2877
2887
|
|
|
2878
|
-
module.exports.
|
|
2888
|
+
module.exports.__wbg_sendblockfetchstatusevent_d2e9c212d0a90815 = function(arg0) {
|
|
2879
2889
|
MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
|
|
2880
2890
|
};
|
|
2881
2891
|
|
|
2882
|
-
module.exports.
|
|
2892
|
+
module.exports.__wbg_savewallet_81da255abc39c4f8 = function() {
|
|
2883
2893
|
MsgHandler.save_wallet();
|
|
2884
2894
|
};
|
|
2885
2895
|
|
|
2886
|
-
module.exports.
|
|
2896
|
+
module.exports.__wbg_loadwallet_e2baef2eccdab5b4 = function() {
|
|
2887
2897
|
MsgHandler.load_wallet();
|
|
2888
2898
|
};
|
|
2889
2899
|
|
|
2890
|
-
module.exports.
|
|
2900
|
+
module.exports.__wbg_getmyservices_46381ac777db876e = function() {
|
|
2891
2901
|
const ret = MsgHandler.get_my_services();
|
|
2892
2902
|
_assertClass(ret, WasmPeerServiceList);
|
|
2893
2903
|
var ptr1 = ret.__destroy_into_raw();
|
|
@@ -2899,16 +2909,6 @@ module.exports.__wbg_wasmpeerservice_new = function(arg0) {
|
|
|
2899
2909
|
return addHeapObject(ret);
|
|
2900
2910
|
};
|
|
2901
2911
|
|
|
2902
|
-
module.exports.__wbg_wasmhop_new = function(arg0) {
|
|
2903
|
-
const ret = WasmHop.__wrap(arg0);
|
|
2904
|
-
return addHeapObject(ret);
|
|
2905
|
-
};
|
|
2906
|
-
|
|
2907
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
2908
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2909
|
-
return addHeapObject(ret);
|
|
2910
|
-
};
|
|
2911
|
-
|
|
2912
2912
|
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
2913
2913
|
const ret = getObject(arg0) == getObject(arg1);
|
|
2914
2914
|
return ret;
|
|
@@ -3275,7 +3275,7 @@ module.exports.__wbindgen_memory = function() {
|
|
|
3275
3275
|
return addHeapObject(ret);
|
|
3276
3276
|
};
|
|
3277
3277
|
|
|
3278
|
-
module.exports.
|
|
3278
|
+
module.exports.__wbindgen_closure_wrapper1510 = function(arg0, arg1, arg2) {
|
|
3279
3279
|
const ret = makeMutClosure(arg0, arg1, 541, __wbg_adapter_38);
|
|
3280
3280
|
return addHeapObject(ret);
|
|
3281
3281
|
};
|
package/pkg/node/index_bg.wasm
CHANGED
|
Binary file
|