saito-wasm 0.2.109 → 0.2.110
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 +94 -94
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +138 -138
- package/pkg/web/package.json +3 -3
- /package/pkg/node/snippets/{saito-wasm-e43d5d0d0dc6b2eb → saito-wasm-ae60dfda631c2084}/js/msg_handler.js +0 -0
- /package/pkg/web/snippets/{saito-wasm-e43d5d0d0dc6b2eb → saito-wasm-ae60dfda631c2084}/js/msg_handler.js +0 -0
package/Cargo.toml
CHANGED
package/package.json
CHANGED
package/pkg/node/index.js
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
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-ae60dfda631c2084/js/msg_handler.js`);
|
|
5
5
|
const { TextDecoder, TextEncoder } = require(`util`);
|
|
6
6
|
|
|
7
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
8
|
-
|
|
9
|
-
cachedTextDecoder.decode();
|
|
10
|
-
|
|
11
|
-
let cachedUint8Memory0 = null;
|
|
12
|
-
|
|
13
|
-
function getUint8Memory0() {
|
|
14
|
-
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
15
|
-
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
16
|
-
}
|
|
17
|
-
return cachedUint8Memory0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function getStringFromWasm0(ptr, len) {
|
|
21
|
-
ptr = ptr >>> 0;
|
|
22
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
7
|
const heap = new Array(128).fill(undefined);
|
|
26
8
|
|
|
27
9
|
heap.push(undefined, null, true, false);
|
|
@@ -51,6 +33,24 @@ function takeObject(idx) {
|
|
|
51
33
|
return ret;
|
|
52
34
|
}
|
|
53
35
|
|
|
36
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
37
|
+
|
|
38
|
+
cachedTextDecoder.decode();
|
|
39
|
+
|
|
40
|
+
let cachedUint8Memory0 = null;
|
|
41
|
+
|
|
42
|
+
function getUint8Memory0() {
|
|
43
|
+
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
44
|
+
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
45
|
+
}
|
|
46
|
+
return cachedUint8Memory0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function getStringFromWasm0(ptr, len) {
|
|
50
|
+
ptr = ptr >>> 0;
|
|
51
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
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.
|
|
229
|
-
}
|
|
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
|
-
}
|
|
228
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5b81f38714849c11(arg0, arg1, addHeapObject(arg2));
|
|
237
229
|
}
|
|
238
230
|
|
|
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,8 +2603,8 @@ class WasmWalletSlip {
|
|
|
2603
2603
|
}
|
|
2604
2604
|
module.exports.WasmWalletSlip = WasmWalletSlip;
|
|
2605
2605
|
|
|
2606
|
-
module.exports.
|
|
2607
|
-
const ret =
|
|
2606
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
2607
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
2608
2608
|
return addHeapObject(ret);
|
|
2609
2609
|
};
|
|
2610
2610
|
|
|
@@ -2612,47 +2612,38 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
2612
2612
|
takeObject(arg0);
|
|
2613
2613
|
};
|
|
2614
2614
|
|
|
2615
|
-
module.exports.
|
|
2616
|
-
const ret =
|
|
2615
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
2616
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
2617
2617
|
return addHeapObject(ret);
|
|
2618
2618
|
};
|
|
2619
2619
|
|
|
2620
|
-
module.exports.
|
|
2621
|
-
const ret =
|
|
2620
|
+
module.exports.__wbg_wasmtransaction_new = function(arg0) {
|
|
2621
|
+
const ret = WasmTransaction.__wrap(arg0);
|
|
2622
2622
|
return addHeapObject(ret);
|
|
2623
2623
|
};
|
|
2624
2624
|
|
|
2625
|
-
module.exports.
|
|
2626
|
-
const ret =
|
|
2625
|
+
module.exports.__wbg_wasmwalletslip_new = function(arg0) {
|
|
2626
|
+
const ret = WasmWalletSlip.__wrap(arg0);
|
|
2627
2627
|
return addHeapObject(ret);
|
|
2628
2628
|
};
|
|
2629
2629
|
|
|
2630
|
-
module.exports.
|
|
2631
|
-
const ret =
|
|
2630
|
+
module.exports.__wbg_wasmpeer_new = function(arg0) {
|
|
2631
|
+
const ret = WasmPeer.__wrap(arg0);
|
|
2632
2632
|
return addHeapObject(ret);
|
|
2633
2633
|
};
|
|
2634
2634
|
|
|
2635
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
2636
|
-
const obj = getObject(arg1);
|
|
2637
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2638
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2639
|
-
var len1 = WASM_VECTOR_LEN;
|
|
2640
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2641
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2642
|
-
};
|
|
2643
|
-
|
|
2644
2635
|
module.exports.__wbg_wasmnft_new = function(arg0) {
|
|
2645
2636
|
const ret = WasmNFT.__wrap(arg0);
|
|
2646
2637
|
return addHeapObject(ret);
|
|
2647
2638
|
};
|
|
2648
2639
|
|
|
2649
|
-
module.exports.
|
|
2650
|
-
const ret =
|
|
2640
|
+
module.exports.__wbg_wasmslip_new = function(arg0) {
|
|
2641
|
+
const ret = WasmSlip.__wrap(arg0);
|
|
2651
2642
|
return addHeapObject(ret);
|
|
2652
2643
|
};
|
|
2653
2644
|
|
|
2654
|
-
module.exports.
|
|
2655
|
-
const ret =
|
|
2645
|
+
module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
|
|
2646
|
+
const ret = WasmBalanceSnapshot.__wrap(arg0);
|
|
2656
2647
|
return addHeapObject(ret);
|
|
2657
2648
|
};
|
|
2658
2649
|
|
|
@@ -2661,13 +2652,32 @@ module.exports.__wbg_wasmwallet_new = function(arg0) {
|
|
|
2661
2652
|
return addHeapObject(ret);
|
|
2662
2653
|
};
|
|
2663
2654
|
|
|
2664
|
-
module.exports.
|
|
2665
|
-
const ret =
|
|
2655
|
+
module.exports.__wbg_wasmblock_new = function(arg0) {
|
|
2656
|
+
const ret = WasmBlock.__wrap(arg0);
|
|
2666
2657
|
return addHeapObject(ret);
|
|
2667
2658
|
};
|
|
2668
2659
|
|
|
2669
|
-
module.exports.
|
|
2670
|
-
const ret =
|
|
2660
|
+
module.exports.__wbg_wasmblockchain_new = function(arg0) {
|
|
2661
|
+
const ret = WasmBlockchain.__wrap(arg0);
|
|
2662
|
+
return addHeapObject(ret);
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
2666
|
+
const obj = getObject(arg1);
|
|
2667
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2668
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2669
|
+
var len1 = WASM_VECTOR_LEN;
|
|
2670
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2671
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
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_ccc937d7b1028b29 = function(arg0, arg1) {
|
|
2691
2701
|
MsgHandler.send_message(takeObject(arg0), getObject(arg1));
|
|
2692
2702
|
};
|
|
2693
2703
|
|
|
2694
|
-
module.exports.
|
|
2704
|
+
module.exports.__wbg_sendmessagetoall_7b1703fc6a073a3d = 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_4b8f79368b1ce106 = 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_b12a024efc6b013f = 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_8ce4c1919576a5fc = 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_8c8dd1a9250f0ee4 = 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_2773d1b5d7c41a7c = 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_ab21f40f8a8825c3 = 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_603240958a8e09d6 = 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_be89ca536e4a6a57 = 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_d23778f680f212a0 = 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_4042a375da84b8e7 = 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_a2565d5b1e61437e = 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_1731177a28ef3af3 = 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_51f563e41d473b8a = 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_9f29a0bd1f5f997c = 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_d6cd3f6a8741560d = 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_ef45b653e8975f2d = 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_ce64f3b378172597 = function() {
|
|
2863
2873
|
MsgHandler.send_wallet_update();
|
|
2864
2874
|
};
|
|
2865
2875
|
|
|
2866
|
-
module.exports.
|
|
2876
|
+
module.exports.__wbg_sendnewversionalert_377ba0a9ab704902 = 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_13d9a5249d948ab5 = 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_203b3dd100171156 = function() {
|
|
2883
2893
|
MsgHandler.save_wallet();
|
|
2884
2894
|
};
|
|
2885
2895
|
|
|
2886
|
-
module.exports.
|
|
2896
|
+
module.exports.__wbg_loadwallet_b46f0fb4b11b3b72 = function() {
|
|
2887
2897
|
MsgHandler.load_wallet();
|
|
2888
2898
|
};
|
|
2889
2899
|
|
|
2890
|
-
module.exports.
|
|
2900
|
+
module.exports.__wbg_getmyservices_cfd8fae58a04e9df = 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_wrapper1511 = 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
|