saito-wasm 0.2.145 → 0.2.147
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 +103 -102
- package/pkg/node/index_bg.wasm +0 -0
- package/pkg/node/index_bg.wasm.d.ts +147 -147
- package/pkg/node/package.json +1 -1
- package/pkg/web/index.d.ts +147 -147
- package/pkg/web/index.js +97 -96
- package/pkg/web/index_bg.wasm +0 -0
- package/pkg/web/index_bg.wasm.d.ts +147 -147
- package/pkg/web/package.json +1 -1
- /package/pkg/node/snippets/{saito-wasm-69d264af78ef2977 → saito-wasm-cb6b84b3c790ee6c}/js/msg_handler.js +0 -0
- /package/pkg/web/snippets/{saito-wasm-69d264af78ef2977 → saito-wasm-cb6b84b3c790ee6c}/js/msg_handler.js +0 -0
package/Cargo.toml
CHANGED
package/package.json
CHANGED
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-
|
|
4
|
+
const { MsgHandler } = require(String.raw`./snippets/saito-wasm-cb6b84b3c790ee6c/js/msg_handler.js`);
|
|
5
5
|
const { TextDecoder, TextEncoder } = require(`util`);
|
|
6
6
|
|
|
7
7
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
@@ -228,6 +228,28 @@ 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__h98faef90f1d66b80(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
|
+
|
|
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
|
+
}
|
|
231
253
|
/**
|
|
232
254
|
* @param {string} config_json
|
|
233
255
|
* @param {string} private_key
|
|
@@ -517,12 +539,6 @@ module.exports.get_balance_snapshot = function(keys) {
|
|
|
517
539
|
return takeObject(ret);
|
|
518
540
|
};
|
|
519
541
|
|
|
520
|
-
function _assertClass(instance, klass) {
|
|
521
|
-
if (!(instance instanceof klass)) {
|
|
522
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
523
|
-
}
|
|
524
|
-
return instance.ptr;
|
|
525
|
-
}
|
|
526
542
|
/**
|
|
527
543
|
* @param {WasmBalanceSnapshot} snapshot
|
|
528
544
|
* @returns {Promise<void>}
|
|
@@ -706,21 +722,6 @@ module.exports.get_congestion_stats = function() {
|
|
|
706
722
|
return takeObject(ret);
|
|
707
723
|
};
|
|
708
724
|
|
|
709
|
-
function handleError(f, args) {
|
|
710
|
-
try {
|
|
711
|
-
return f.apply(this, args);
|
|
712
|
-
} catch (e) {
|
|
713
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
let stack_pointer = 128;
|
|
718
|
-
|
|
719
|
-
function addBorrowedObject(obj) {
|
|
720
|
-
if (stack_pointer == 1) throw new Error('out of js stack');
|
|
721
|
-
heap[--stack_pointer] = obj;
|
|
722
|
-
return stack_pointer;
|
|
723
|
-
}
|
|
724
725
|
function __wbg_adapter_433(arg0, arg1, arg2, arg3) {
|
|
725
726
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h0e9b83b2cf010e75(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
726
727
|
}
|
|
@@ -2634,62 +2635,42 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
2634
2635
|
takeObject(arg0);
|
|
2635
2636
|
};
|
|
2636
2637
|
|
|
2637
|
-
module.exports.__wbg_wasmtransaction_new = function(arg0) {
|
|
2638
|
-
const ret = WasmTransaction.__wrap(arg0);
|
|
2639
|
-
return addHeapObject(ret);
|
|
2640
|
-
};
|
|
2641
|
-
|
|
2642
|
-
module.exports.__wbg_wasmpeer_new = function(arg0) {
|
|
2643
|
-
const ret = WasmPeer.__wrap(arg0);
|
|
2644
|
-
return addHeapObject(ret);
|
|
2645
|
-
};
|
|
2646
|
-
|
|
2647
2638
|
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
2648
2639
|
const ret = BigInt.asUintN(64, arg0);
|
|
2649
2640
|
return addHeapObject(ret);
|
|
2650
2641
|
};
|
|
2651
2642
|
|
|
2652
|
-
module.exports.
|
|
2653
|
-
const
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
return addHeapObject(ret);
|
|
2643
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
2644
|
+
const obj = getObject(arg1);
|
|
2645
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2646
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2647
|
+
var len1 = WASM_VECTOR_LEN;
|
|
2648
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2649
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2660
2650
|
};
|
|
2661
2651
|
|
|
2662
|
-
module.exports.
|
|
2663
|
-
const ret =
|
|
2652
|
+
module.exports.__wbg_wasmtransaction_new = function(arg0) {
|
|
2653
|
+
const ret = WasmTransaction.__wrap(arg0);
|
|
2664
2654
|
return addHeapObject(ret);
|
|
2665
2655
|
};
|
|
2666
2656
|
|
|
2667
|
-
module.exports.
|
|
2668
|
-
const ret =
|
|
2657
|
+
module.exports.__wbg_wasmblockchain_new = function(arg0) {
|
|
2658
|
+
const ret = WasmBlockchain.__wrap(arg0);
|
|
2669
2659
|
return addHeapObject(ret);
|
|
2670
2660
|
};
|
|
2671
2661
|
|
|
2672
|
-
module.exports.
|
|
2673
|
-
const ret =
|
|
2662
|
+
module.exports.__wbg_wasmwallet_new = function(arg0) {
|
|
2663
|
+
const ret = WasmWallet.__wrap(arg0);
|
|
2674
2664
|
return addHeapObject(ret);
|
|
2675
2665
|
};
|
|
2676
2666
|
|
|
2677
|
-
module.exports.
|
|
2678
|
-
const ret =
|
|
2667
|
+
module.exports.__wbg_wasmslip_new = function(arg0) {
|
|
2668
|
+
const ret = WasmSlip.__wrap(arg0);
|
|
2679
2669
|
return addHeapObject(ret);
|
|
2680
2670
|
};
|
|
2681
2671
|
|
|
2682
|
-
module.exports.
|
|
2683
|
-
const
|
|
2684
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2685
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2686
|
-
var len1 = WASM_VECTOR_LEN;
|
|
2687
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2688
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2689
|
-
};
|
|
2690
|
-
|
|
2691
|
-
module.exports.__wbg_wasmblockchain_new = function(arg0) {
|
|
2692
|
-
const ret = WasmBlockchain.__wrap(arg0);
|
|
2672
|
+
module.exports.__wbg_wasmpeer_new = function(arg0) {
|
|
2673
|
+
const ret = WasmPeer.__wrap(arg0);
|
|
2693
2674
|
return addHeapObject(ret);
|
|
2694
2675
|
};
|
|
2695
2676
|
|
|
@@ -2698,41 +2679,35 @@ module.exports.__wbg_wasmnft_new = function(arg0) {
|
|
|
2698
2679
|
return addHeapObject(ret);
|
|
2699
2680
|
};
|
|
2700
2681
|
|
|
2701
|
-
module.exports.
|
|
2702
|
-
const ret =
|
|
2682
|
+
module.exports.__wbg_wasmblock_new = function(arg0) {
|
|
2683
|
+
const ret = WasmBlock.__wrap(arg0);
|
|
2703
2684
|
return addHeapObject(ret);
|
|
2704
2685
|
};
|
|
2705
2686
|
|
|
2706
|
-
module.exports.
|
|
2707
|
-
const
|
|
2708
|
-
|
|
2709
|
-
return ret;
|
|
2710
|
-
};
|
|
2711
|
-
|
|
2712
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
2713
|
-
const ret = getObject(arg0) === undefined;
|
|
2714
|
-
return ret;
|
|
2687
|
+
module.exports.__wbg_wasmbalancesnapshot_new = function(arg0) {
|
|
2688
|
+
const ret = WasmBalanceSnapshot.__wrap(arg0);
|
|
2689
|
+
return addHeapObject(ret);
|
|
2715
2690
|
};
|
|
2716
2691
|
|
|
2717
|
-
module.exports.
|
|
2718
|
-
const ret =
|
|
2719
|
-
return ret;
|
|
2692
|
+
module.exports.__wbg_wasmwalletslip_new = function(arg0) {
|
|
2693
|
+
const ret = WasmWalletSlip.__wrap(arg0);
|
|
2694
|
+
return addHeapObject(ret);
|
|
2720
2695
|
};
|
|
2721
2696
|
|
|
2722
|
-
module.exports.
|
|
2723
|
-
const ret =
|
|
2697
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
2698
|
+
const ret = getObject(arg0);
|
|
2724
2699
|
return addHeapObject(ret);
|
|
2725
2700
|
};
|
|
2726
2701
|
|
|
2727
|
-
module.exports.
|
|
2702
|
+
module.exports.__wbg_sendmessage_ab4edbcf9c0cdecf = function(arg0, arg1) {
|
|
2728
2703
|
MsgHandler.send_message(takeObject(arg0), getObject(arg1));
|
|
2729
2704
|
};
|
|
2730
2705
|
|
|
2731
|
-
module.exports.
|
|
2706
|
+
module.exports.__wbg_sendmessagetoall_f1b974cc8a936d75 = function(arg0, arg1) {
|
|
2732
2707
|
MsgHandler.send_message_to_all(getObject(arg0), getObject(arg1));
|
|
2733
2708
|
};
|
|
2734
2709
|
|
|
2735
|
-
module.exports.
|
|
2710
|
+
module.exports.__wbg_connecttopeer_ffb20ece6e5cd950 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2736
2711
|
let deferred0_0;
|
|
2737
2712
|
let deferred0_1;
|
|
2738
2713
|
try {
|
|
@@ -2745,12 +2720,12 @@ module.exports.__wbg_connecttopeer_6dfb7a1f797c7da2 = function() { return handle
|
|
|
2745
2720
|
}
|
|
2746
2721
|
}, arguments) };
|
|
2747
2722
|
|
|
2748
|
-
module.exports.
|
|
2723
|
+
module.exports.__wbg_disconnectfrompeer_8334eb8a28997a0a = function() { return handleError(function (arg0) {
|
|
2749
2724
|
const ret = MsgHandler.disconnect_from_peer(takeObject(arg0));
|
|
2750
2725
|
return addHeapObject(ret);
|
|
2751
2726
|
}, arguments) };
|
|
2752
2727
|
|
|
2753
|
-
module.exports.
|
|
2728
|
+
module.exports.__wbg_fetchblockfrompeer_783ba6704e1432e9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2754
2729
|
let deferred0_0;
|
|
2755
2730
|
let deferred0_1;
|
|
2756
2731
|
try {
|
|
@@ -2763,7 +2738,7 @@ module.exports.__wbg_fetchblockfrompeer_16231a47c3a3dee6 = function() { return h
|
|
|
2763
2738
|
}
|
|
2764
2739
|
}, arguments) };
|
|
2765
2740
|
|
|
2766
|
-
module.exports.
|
|
2741
|
+
module.exports.__wbg_writevalue_f58014e537a91743 = function(arg0, arg1, arg2) {
|
|
2767
2742
|
let deferred0_0;
|
|
2768
2743
|
let deferred0_1;
|
|
2769
2744
|
try {
|
|
@@ -2775,7 +2750,7 @@ module.exports.__wbg_writevalue_12b47d7695571ca0 = function(arg0, arg1, arg2) {
|
|
|
2775
2750
|
}
|
|
2776
2751
|
};
|
|
2777
2752
|
|
|
2778
|
-
module.exports.
|
|
2753
|
+
module.exports.__wbg_appendvalue_02ce293ad1b07f9e = function(arg0, arg1, arg2) {
|
|
2779
2754
|
let deferred0_0;
|
|
2780
2755
|
let deferred0_1;
|
|
2781
2756
|
try {
|
|
@@ -2787,7 +2762,7 @@ module.exports.__wbg_appendvalue_f7d0e0b050a869d4 = function(arg0, arg1, arg2) {
|
|
|
2787
2762
|
}
|
|
2788
2763
|
};
|
|
2789
2764
|
|
|
2790
|
-
module.exports.
|
|
2765
|
+
module.exports.__wbg_flushdata_a31160801baba451 = function(arg0, arg1) {
|
|
2791
2766
|
let deferred0_0;
|
|
2792
2767
|
let deferred0_1;
|
|
2793
2768
|
try {
|
|
@@ -2799,7 +2774,7 @@ module.exports.__wbg_flushdata_2aeff85f13114005 = function(arg0, arg1) {
|
|
|
2799
2774
|
}
|
|
2800
2775
|
};
|
|
2801
2776
|
|
|
2802
|
-
module.exports.
|
|
2777
|
+
module.exports.__wbg_readvalue_76ffbe074dff1677 = function() { return handleError(function (arg0, arg1) {
|
|
2803
2778
|
let deferred0_0;
|
|
2804
2779
|
let deferred0_1;
|
|
2805
2780
|
try {
|
|
@@ -2812,12 +2787,12 @@ module.exports.__wbg_readvalue_7198c3880af8cc93 = function() { return handleErro
|
|
|
2812
2787
|
}
|
|
2813
2788
|
}, arguments) };
|
|
2814
2789
|
|
|
2815
|
-
module.exports.
|
|
2790
|
+
module.exports.__wbg_loadblockfilelist_bd810b3b30d9199c = function() { return handleError(function () {
|
|
2816
2791
|
const ret = MsgHandler.load_block_file_list();
|
|
2817
2792
|
return addHeapObject(ret);
|
|
2818
2793
|
}, arguments) };
|
|
2819
2794
|
|
|
2820
|
-
module.exports.
|
|
2795
|
+
module.exports.__wbg_isexistingfile_6d80ac7bf2861d4b = function() { return handleError(function (arg0, arg1) {
|
|
2821
2796
|
let deferred0_0;
|
|
2822
2797
|
let deferred0_1;
|
|
2823
2798
|
try {
|
|
@@ -2830,7 +2805,7 @@ module.exports.__wbg_isexistingfile_7b5bb4c41dbb3bf3 = function() { return handl
|
|
|
2830
2805
|
}
|
|
2831
2806
|
}, arguments) };
|
|
2832
2807
|
|
|
2833
|
-
module.exports.
|
|
2808
|
+
module.exports.__wbg_removevalue_4f7e4befb5b1fdd2 = function() { return handleError(function (arg0, arg1) {
|
|
2834
2809
|
let deferred0_0;
|
|
2835
2810
|
let deferred0_1;
|
|
2836
2811
|
try {
|
|
@@ -2843,7 +2818,7 @@ module.exports.__wbg_removevalue_280a113a4c0addd5 = function() { return handleEr
|
|
|
2843
2818
|
}
|
|
2844
2819
|
}, arguments) };
|
|
2845
2820
|
|
|
2846
|
-
module.exports.
|
|
2821
|
+
module.exports.__wbg_ensureblockdirectoryexists_53bb597f7f4f133d = function() { return handleError(function (arg0, arg1) {
|
|
2847
2822
|
let deferred0_0;
|
|
2848
2823
|
let deferred0_1;
|
|
2849
2824
|
try {
|
|
@@ -2855,19 +2830,19 @@ module.exports.__wbg_ensureblockdirectoryexists_b8295a06e19b93f3 = function() {
|
|
|
2855
2830
|
}
|
|
2856
2831
|
}, arguments) };
|
|
2857
2832
|
|
|
2858
|
-
module.exports.
|
|
2833
|
+
module.exports.__wbg_processapicall_2736f333eaad9fd0 = function(arg0, arg1, arg2) {
|
|
2859
2834
|
MsgHandler.process_api_call(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
|
|
2860
2835
|
};
|
|
2861
2836
|
|
|
2862
|
-
module.exports.
|
|
2837
|
+
module.exports.__wbg_processapisuccess_49696a2b13df534e = function(arg0, arg1, arg2) {
|
|
2863
2838
|
MsgHandler.process_api_success(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
|
|
2864
2839
|
};
|
|
2865
2840
|
|
|
2866
|
-
module.exports.
|
|
2841
|
+
module.exports.__wbg_processapierror_9c6bd07783a43392 = function(arg0, arg1, arg2) {
|
|
2867
2842
|
MsgHandler.process_api_error(takeObject(arg0), arg1 >>> 0, takeObject(arg2));
|
|
2868
2843
|
};
|
|
2869
2844
|
|
|
2870
|
-
module.exports.
|
|
2845
|
+
module.exports.__wbg_sendinterfaceevent_76d8132c00e8fbd7 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
2871
2846
|
let deferred0_0;
|
|
2872
2847
|
let deferred0_1;
|
|
2873
2848
|
let deferred1_0;
|
|
@@ -2884,7 +2859,7 @@ module.exports.__wbg_sendinterfaceevent_4137739ef35f8f6a = function(arg0, arg1,
|
|
|
2884
2859
|
}
|
|
2885
2860
|
};
|
|
2886
2861
|
|
|
2887
|
-
module.exports.
|
|
2862
|
+
module.exports.__wbg_sendblocksuccess_22bb86be082204ca = function(arg0, arg1, arg2) {
|
|
2888
2863
|
let deferred0_0;
|
|
2889
2864
|
let deferred0_1;
|
|
2890
2865
|
try {
|
|
@@ -2896,11 +2871,11 @@ module.exports.__wbg_sendblocksuccess_f2bc2a680ee40f2b = function(arg0, arg1, ar
|
|
|
2896
2871
|
}
|
|
2897
2872
|
};
|
|
2898
2873
|
|
|
2899
|
-
module.exports.
|
|
2874
|
+
module.exports.__wbg_sendwalletupdate_55c5a7acb820295d = function() {
|
|
2900
2875
|
MsgHandler.send_wallet_update();
|
|
2901
2876
|
};
|
|
2902
2877
|
|
|
2903
|
-
module.exports.
|
|
2878
|
+
module.exports.__wbg_sendnewversionalert_aac4d3ab775429e5 = function(arg0, arg1, arg2) {
|
|
2904
2879
|
let deferred0_0;
|
|
2905
2880
|
let deferred0_1;
|
|
2906
2881
|
try {
|
|
@@ -2912,34 +2887,60 @@ module.exports.__wbg_sendnewversionalert_a5da465ca90b374c = function(arg0, arg1,
|
|
|
2912
2887
|
}
|
|
2913
2888
|
};
|
|
2914
2889
|
|
|
2915
|
-
module.exports.
|
|
2890
|
+
module.exports.__wbg_sendblockfetchstatusevent_e829c4d46d5cd7f1 = function(arg0) {
|
|
2916
2891
|
MsgHandler.send_block_fetch_status_event(BigInt.asUintN(64, arg0));
|
|
2917
2892
|
};
|
|
2918
2893
|
|
|
2919
|
-
module.exports.
|
|
2894
|
+
module.exports.__wbg_sendnewchaindetectedevent_06fde4ee0bcdf6be = function() {
|
|
2920
2895
|
MsgHandler.send_new_chain_detected_event();
|
|
2921
2896
|
};
|
|
2922
2897
|
|
|
2923
|
-
module.exports.
|
|
2898
|
+
module.exports.__wbg_savewallet_818ce19a33e6b726 = function() {
|
|
2924
2899
|
MsgHandler.save_wallet();
|
|
2925
2900
|
};
|
|
2926
2901
|
|
|
2927
|
-
module.exports.
|
|
2902
|
+
module.exports.__wbg_loadwallet_0b72d3c8651d359a = function() {
|
|
2928
2903
|
MsgHandler.load_wallet();
|
|
2929
2904
|
};
|
|
2930
2905
|
|
|
2931
|
-
module.exports.
|
|
2906
|
+
module.exports.__wbg_getmyservices_d92cbaf76e7bd70c = function() {
|
|
2932
2907
|
const ret = MsgHandler.get_my_services();
|
|
2933
2908
|
_assertClass(ret, WasmPeerServiceList);
|
|
2934
2909
|
var ptr1 = ret.__destroy_into_raw();
|
|
2935
2910
|
return ptr1;
|
|
2936
2911
|
};
|
|
2937
2912
|
|
|
2913
|
+
module.exports.__wbg_wasmhop_new = function(arg0) {
|
|
2914
|
+
const ret = WasmHop.__wrap(arg0);
|
|
2915
|
+
return addHeapObject(ret);
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2938
2918
|
module.exports.__wbg_wasmpeerservice_new = function(arg0) {
|
|
2939
2919
|
const ret = WasmPeerService.__wrap(arg0);
|
|
2940
2920
|
return addHeapObject(ret);
|
|
2941
2921
|
};
|
|
2942
2922
|
|
|
2923
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
2924
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2925
|
+
return addHeapObject(ret);
|
|
2926
|
+
};
|
|
2927
|
+
|
|
2928
|
+
module.exports.__wbindgen_is_object = function(arg0) {
|
|
2929
|
+
const val = getObject(arg0);
|
|
2930
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
2931
|
+
return ret;
|
|
2932
|
+
};
|
|
2933
|
+
|
|
2934
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
2935
|
+
const ret = getObject(arg0) === undefined;
|
|
2936
|
+
return ret;
|
|
2937
|
+
};
|
|
2938
|
+
|
|
2939
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
2940
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
2941
|
+
return ret;
|
|
2942
|
+
};
|
|
2943
|
+
|
|
2943
2944
|
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
2944
2945
|
const ret = getObject(arg0) == getObject(arg1);
|
|
2945
2946
|
return ret;
|
|
@@ -3316,8 +3317,8 @@ module.exports.__wbindgen_memory = function() {
|
|
|
3316
3317
|
return addHeapObject(ret);
|
|
3317
3318
|
};
|
|
3318
3319
|
|
|
3319
|
-
module.exports.
|
|
3320
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3320
|
+
module.exports.__wbindgen_closure_wrapper1559 = function(arg0, arg1, arg2) {
|
|
3321
|
+
const ret = makeMutClosure(arg0, arg1, 555, __wbg_adapter_38);
|
|
3321
3322
|
return addHeapObject(ret);
|
|
3322
3323
|
};
|
|
3323
3324
|
|
package/pkg/node/index_bg.wasm
CHANGED
|
Binary file
|