@binance/wallet 2.0.0 → 2.0.1
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/README.md +0 -15
- package/dist/index.d.mts +3 -133
- package/dist/index.d.ts +3 -133
- package/dist/index.js +44 -86
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +41 -83
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
BadRequestError: () => import_common8.BadRequestError,
|
|
24
24
|
ConnectorClientError: () => import_common8.ConnectorClientError,
|
|
25
25
|
ForbiddenError: () => import_common8.ForbiddenError,
|
|
@@ -31,11 +31,10 @@ __export(src_exports, {
|
|
|
31
31
|
TooManyRequestsError: () => import_common8.TooManyRequestsError,
|
|
32
32
|
UnauthorizedError: () => import_common8.UnauthorizedError,
|
|
33
33
|
WALLET_REST_API_PROD_URL: () => import_common8.WALLET_REST_API_PROD_URL,
|
|
34
|
-
WALLET_REST_API_TESTNET_URL: () => import_common8.WALLET_REST_API_TESTNET_URL,
|
|
35
34
|
Wallet: () => Wallet,
|
|
36
35
|
WalletRestAPI: () => rest_api_exports
|
|
37
36
|
});
|
|
38
|
-
module.exports = __toCommonJS(
|
|
37
|
+
module.exports = __toCommonJS(index_exports);
|
|
39
38
|
|
|
40
39
|
// src/wallet.ts
|
|
41
40
|
var import_os = require("os");
|
|
@@ -43,7 +42,7 @@ var import_common7 = require("@binance/common");
|
|
|
43
42
|
|
|
44
43
|
// package.json
|
|
45
44
|
var name = "@binance/wallet";
|
|
46
|
-
var version = "2.0.
|
|
45
|
+
var version = "2.0.1";
|
|
47
46
|
|
|
48
47
|
// src/rest-api/index.ts
|
|
49
48
|
var rest_api_exports = {};
|
|
@@ -76,8 +75,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
76
75
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
77
76
|
}
|
|
78
77
|
let _timeUnit;
|
|
79
|
-
if ("timeUnit" in configuration)
|
|
80
|
-
_timeUnit = configuration.timeUnit;
|
|
78
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
81
79
|
return {
|
|
82
80
|
endpoint: "/sapi/v1/account/apiTradingStatus",
|
|
83
81
|
method: "GET",
|
|
@@ -101,8 +99,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
101
99
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
102
100
|
}
|
|
103
101
|
let _timeUnit;
|
|
104
|
-
if ("timeUnit" in configuration)
|
|
105
|
-
_timeUnit = configuration.timeUnit;
|
|
102
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
106
103
|
return {
|
|
107
104
|
endpoint: "/sapi/v1/account/info",
|
|
108
105
|
method: "GET",
|
|
@@ -126,8 +123,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
126
123
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
127
124
|
}
|
|
128
125
|
let _timeUnit;
|
|
129
|
-
if ("timeUnit" in configuration)
|
|
130
|
-
_timeUnit = configuration.timeUnit;
|
|
126
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
131
127
|
return {
|
|
132
128
|
endpoint: "/sapi/v1/account/status",
|
|
133
129
|
method: "GET",
|
|
@@ -172,8 +168,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
172
168
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
173
169
|
}
|
|
174
170
|
let _timeUnit;
|
|
175
|
-
if ("timeUnit" in configuration)
|
|
176
|
-
_timeUnit = configuration.timeUnit;
|
|
171
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
177
172
|
return {
|
|
178
173
|
endpoint: "/sapi/v1/accountSnapshot",
|
|
179
174
|
method: "GET",
|
|
@@ -196,8 +191,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
196
191
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
197
192
|
}
|
|
198
193
|
let _timeUnit;
|
|
199
|
-
if ("timeUnit" in configuration)
|
|
200
|
-
_timeUnit = configuration.timeUnit;
|
|
194
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
201
195
|
return {
|
|
202
196
|
endpoint: "/sapi/v1/account/disableFastWithdrawSwitch",
|
|
203
197
|
method: "POST",
|
|
@@ -224,8 +218,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
224
218
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
225
219
|
}
|
|
226
220
|
let _timeUnit;
|
|
227
|
-
if ("timeUnit" in configuration)
|
|
228
|
-
_timeUnit = configuration.timeUnit;
|
|
221
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
229
222
|
return {
|
|
230
223
|
endpoint: "/sapi/v1/account/enableFastWithdrawSwitch",
|
|
231
224
|
method: "POST",
|
|
@@ -249,8 +242,7 @@ var AccountApiAxiosParamCreator = function(configuration) {
|
|
|
249
242
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
250
243
|
}
|
|
251
244
|
let _timeUnit;
|
|
252
|
-
if ("timeUnit" in configuration)
|
|
253
|
-
_timeUnit = configuration.timeUnit;
|
|
245
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
254
246
|
return {
|
|
255
247
|
endpoint: "/sapi/v1/account/apiRestrictions",
|
|
256
248
|
method: "GET",
|
|
@@ -475,8 +467,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
475
467
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
476
468
|
}
|
|
477
469
|
let _timeUnit;
|
|
478
|
-
if ("timeUnit" in configuration)
|
|
479
|
-
_timeUnit = configuration.timeUnit;
|
|
470
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
480
471
|
return {
|
|
481
472
|
endpoint: "/sapi/v1/asset/assetDetail",
|
|
482
473
|
method: "GET",
|
|
@@ -519,8 +510,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
519
510
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
520
511
|
}
|
|
521
512
|
let _timeUnit;
|
|
522
|
-
if ("timeUnit" in configuration)
|
|
523
|
-
_timeUnit = configuration.timeUnit;
|
|
513
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
524
514
|
return {
|
|
525
515
|
endpoint: "/sapi/v1/asset/assetDividend",
|
|
526
516
|
method: "GET",
|
|
@@ -555,8 +545,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
555
545
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
556
546
|
}
|
|
557
547
|
let _timeUnit;
|
|
558
|
-
if ("timeUnit" in configuration)
|
|
559
|
-
_timeUnit = configuration.timeUnit;
|
|
548
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
560
549
|
return {
|
|
561
550
|
endpoint: "/sapi/v1/asset/dust",
|
|
562
551
|
method: "POST",
|
|
@@ -591,8 +580,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
591
580
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
592
581
|
}
|
|
593
582
|
let _timeUnit;
|
|
594
|
-
if ("timeUnit" in configuration)
|
|
595
|
-
_timeUnit = configuration.timeUnit;
|
|
583
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
596
584
|
return {
|
|
597
585
|
endpoint: "/sapi/v1/asset/dribblet",
|
|
598
586
|
method: "GET",
|
|
@@ -627,8 +615,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
627
615
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
628
616
|
}
|
|
629
617
|
let _timeUnit;
|
|
630
|
-
if ("timeUnit" in configuration)
|
|
631
|
-
_timeUnit = configuration.timeUnit;
|
|
618
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
632
619
|
return {
|
|
633
620
|
endpoint: "/sapi/v1/asset/get-funding-asset",
|
|
634
621
|
method: "POST",
|
|
@@ -656,8 +643,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
656
643
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
657
644
|
}
|
|
658
645
|
let _timeUnit;
|
|
659
|
-
if ("timeUnit" in configuration)
|
|
660
|
-
_timeUnit = configuration.timeUnit;
|
|
646
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
661
647
|
return {
|
|
662
648
|
endpoint: "/sapi/v1/asset/dust-btc",
|
|
663
649
|
method: "POST",
|
|
@@ -710,8 +696,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
710
696
|
localVarQueryParameter["size"] = size;
|
|
711
697
|
}
|
|
712
698
|
let _timeUnit;
|
|
713
|
-
if ("timeUnit" in configuration)
|
|
714
|
-
_timeUnit = configuration.timeUnit;
|
|
699
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
715
700
|
return {
|
|
716
701
|
endpoint: "/sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage",
|
|
717
702
|
method: "GET",
|
|
@@ -731,8 +716,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
731
716
|
getOpenSymbolList: async () => {
|
|
732
717
|
const localVarQueryParameter = {};
|
|
733
718
|
let _timeUnit;
|
|
734
|
-
if ("timeUnit" in configuration)
|
|
735
|
-
_timeUnit = configuration.timeUnit;
|
|
719
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
736
720
|
return {
|
|
737
721
|
endpoint: "/sapi/v1/spot/open-symbol-list",
|
|
738
722
|
method: "GET",
|
|
@@ -789,8 +773,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
789
773
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
790
774
|
}
|
|
791
775
|
let _timeUnit;
|
|
792
|
-
if ("timeUnit" in configuration)
|
|
793
|
-
_timeUnit = configuration.timeUnit;
|
|
776
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
794
777
|
return {
|
|
795
778
|
endpoint: "/sapi/v1/asset/custody/transfer-history",
|
|
796
779
|
method: "GET",
|
|
@@ -849,8 +832,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
849
832
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
850
833
|
}
|
|
851
834
|
let _timeUnit;
|
|
852
|
-
if ("timeUnit" in configuration)
|
|
853
|
-
_timeUnit = configuration.timeUnit;
|
|
835
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
854
836
|
return {
|
|
855
837
|
endpoint: "/sapi/v1/asset/transfer",
|
|
856
838
|
method: "GET",
|
|
@@ -881,8 +863,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
881
863
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
882
864
|
}
|
|
883
865
|
let _timeUnit;
|
|
884
|
-
if ("timeUnit" in configuration)
|
|
885
|
-
_timeUnit = configuration.timeUnit;
|
|
866
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
886
867
|
return {
|
|
887
868
|
endpoint: "/sapi/v1/asset/wallet/balance",
|
|
888
869
|
method: "GET",
|
|
@@ -916,8 +897,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
916
897
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
917
898
|
}
|
|
918
899
|
let _timeUnit;
|
|
919
|
-
if ("timeUnit" in configuration)
|
|
920
|
-
_timeUnit = configuration.timeUnit;
|
|
900
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
921
901
|
return {
|
|
922
902
|
endpoint: "/sapi/v1/bnbBurn",
|
|
923
903
|
method: "POST",
|
|
@@ -945,8 +925,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
945
925
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
946
926
|
}
|
|
947
927
|
let _timeUnit;
|
|
948
|
-
if ("timeUnit" in configuration)
|
|
949
|
-
_timeUnit = configuration.timeUnit;
|
|
928
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
950
929
|
return {
|
|
951
930
|
endpoint: "/sapi/v1/asset/tradeFee",
|
|
952
931
|
method: "GET",
|
|
@@ -981,8 +960,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
981
960
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
982
961
|
}
|
|
983
962
|
let _timeUnit;
|
|
984
|
-
if ("timeUnit" in configuration)
|
|
985
|
-
_timeUnit = configuration.timeUnit;
|
|
963
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
986
964
|
return {
|
|
987
965
|
endpoint: "/sapi/v3/asset/getUserAsset",
|
|
988
966
|
method: "POST",
|
|
@@ -1064,8 +1042,7 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
1064
1042
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1065
1043
|
}
|
|
1066
1044
|
let _timeUnit;
|
|
1067
|
-
if ("timeUnit" in configuration)
|
|
1068
|
-
_timeUnit = configuration.timeUnit;
|
|
1045
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1069
1046
|
return {
|
|
1070
1047
|
endpoint: "/sapi/v1/asset/transfer",
|
|
1071
1048
|
method: "POST",
|
|
@@ -1584,8 +1561,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1584
1561
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1585
1562
|
}
|
|
1586
1563
|
let _timeUnit;
|
|
1587
|
-
if ("timeUnit" in configuration)
|
|
1588
|
-
_timeUnit = configuration.timeUnit;
|
|
1564
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1589
1565
|
return {
|
|
1590
1566
|
endpoint: "/sapi/v1/capital/config/getall",
|
|
1591
1567
|
method: "GET",
|
|
@@ -1626,8 +1602,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1626
1602
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1627
1603
|
}
|
|
1628
1604
|
let _timeUnit;
|
|
1629
|
-
if ("timeUnit" in configuration)
|
|
1630
|
-
_timeUnit = configuration.timeUnit;
|
|
1605
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1631
1606
|
return {
|
|
1632
1607
|
endpoint: "/sapi/v1/capital/deposit/address",
|
|
1633
1608
|
method: "GET",
|
|
@@ -1687,8 +1662,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1687
1662
|
localVarQueryParameter["txId"] = txId;
|
|
1688
1663
|
}
|
|
1689
1664
|
let _timeUnit;
|
|
1690
|
-
if ("timeUnit" in configuration)
|
|
1691
|
-
_timeUnit = configuration.timeUnit;
|
|
1665
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1692
1666
|
return {
|
|
1693
1667
|
endpoint: "/sapi/v1/capital/deposit/hisrec",
|
|
1694
1668
|
method: "GET",
|
|
@@ -1721,8 +1695,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1721
1695
|
localVarQueryParameter["network"] = network;
|
|
1722
1696
|
}
|
|
1723
1697
|
let _timeUnit;
|
|
1724
|
-
if ("timeUnit" in configuration)
|
|
1725
|
-
_timeUnit = configuration.timeUnit;
|
|
1698
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1726
1699
|
return {
|
|
1727
1700
|
endpoint: "/sapi/v1/capital/deposit/address/list",
|
|
1728
1701
|
method: "GET",
|
|
@@ -1742,8 +1715,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1742
1715
|
fetchWithdrawAddressList: async () => {
|
|
1743
1716
|
const localVarQueryParameter = {};
|
|
1744
1717
|
let _timeUnit;
|
|
1745
|
-
if ("timeUnit" in configuration)
|
|
1746
|
-
_timeUnit = configuration.timeUnit;
|
|
1718
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1747
1719
|
return {
|
|
1748
1720
|
endpoint: "/sapi/v1/capital/withdraw/address/list",
|
|
1749
1721
|
method: "GET",
|
|
@@ -1781,8 +1753,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1781
1753
|
localVarQueryParameter["subUserId"] = subUserId;
|
|
1782
1754
|
}
|
|
1783
1755
|
let _timeUnit;
|
|
1784
|
-
if ("timeUnit" in configuration)
|
|
1785
|
-
_timeUnit = configuration.timeUnit;
|
|
1756
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1786
1757
|
return {
|
|
1787
1758
|
endpoint: "/sapi/v1/capital/deposit/credit-apply",
|
|
1788
1759
|
method: "POST",
|
|
@@ -1849,8 +1820,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1849
1820
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1850
1821
|
}
|
|
1851
1822
|
let _timeUnit;
|
|
1852
|
-
if ("timeUnit" in configuration)
|
|
1853
|
-
_timeUnit = configuration.timeUnit;
|
|
1823
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1854
1824
|
return {
|
|
1855
1825
|
endpoint: "/sapi/v1/capital/withdraw/apply",
|
|
1856
1826
|
method: "POST",
|
|
@@ -1914,8 +1884,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1914
1884
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
1915
1885
|
}
|
|
1916
1886
|
let _timeUnit;
|
|
1917
|
-
if ("timeUnit" in configuration)
|
|
1918
|
-
_timeUnit = configuration.timeUnit;
|
|
1887
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
1919
1888
|
return {
|
|
1920
1889
|
endpoint: "/sapi/v1/capital/withdraw/history",
|
|
1921
1890
|
method: "GET",
|
|
@@ -2207,8 +2176,7 @@ var OthersApiAxiosParamCreator = function(configuration) {
|
|
|
2207
2176
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2208
2177
|
}
|
|
2209
2178
|
let _timeUnit;
|
|
2210
|
-
if ("timeUnit" in configuration)
|
|
2211
|
-
_timeUnit = configuration.timeUnit;
|
|
2179
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2212
2180
|
return {
|
|
2213
2181
|
endpoint: "/sapi/v1/spot/delist-schedule",
|
|
2214
2182
|
method: "GET",
|
|
@@ -2228,8 +2196,7 @@ var OthersApiAxiosParamCreator = function(configuration) {
|
|
|
2228
2196
|
systemStatus: async () => {
|
|
2229
2197
|
const localVarQueryParameter = {};
|
|
2230
2198
|
let _timeUnit;
|
|
2231
|
-
if ("timeUnit" in configuration)
|
|
2232
|
-
_timeUnit = configuration.timeUnit;
|
|
2199
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2233
2200
|
return {
|
|
2234
2201
|
endpoint: "/sapi/v1/system/status",
|
|
2235
2202
|
method: "GET",
|
|
@@ -2374,8 +2341,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2374
2341
|
localVarQueryParameter["signature"] = signature;
|
|
2375
2342
|
}
|
|
2376
2343
|
let _timeUnit;
|
|
2377
|
-
if ("timeUnit" in configuration)
|
|
2378
|
-
_timeUnit = configuration.timeUnit;
|
|
2344
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2379
2345
|
return {
|
|
2380
2346
|
endpoint: "/sapi/v1/localentity/broker/withdraw/apply",
|
|
2381
2347
|
method: "POST",
|
|
@@ -2442,8 +2408,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2442
2408
|
localVarQueryParameter["limit"] = limit;
|
|
2443
2409
|
}
|
|
2444
2410
|
let _timeUnit;
|
|
2445
|
-
if ("timeUnit" in configuration)
|
|
2446
|
-
_timeUnit = configuration.timeUnit;
|
|
2411
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2447
2412
|
return {
|
|
2448
2413
|
endpoint: "/sapi/v1/localentity/deposit/history",
|
|
2449
2414
|
method: "GET",
|
|
@@ -2469,8 +2434,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2469
2434
|
onboardedVaspList: async () => {
|
|
2470
2435
|
const localVarQueryParameter = {};
|
|
2471
2436
|
let _timeUnit;
|
|
2472
|
-
if ("timeUnit" in configuration)
|
|
2473
|
-
_timeUnit = configuration.timeUnit;
|
|
2437
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2474
2438
|
return {
|
|
2475
2439
|
endpoint: "/sapi/v1/localentity/vasp",
|
|
2476
2440
|
method: "GET",
|
|
@@ -2540,8 +2504,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2540
2504
|
localVarQueryParameter["signature"] = signature;
|
|
2541
2505
|
}
|
|
2542
2506
|
let _timeUnit;
|
|
2543
|
-
if ("timeUnit" in configuration)
|
|
2544
|
-
_timeUnit = configuration.timeUnit;
|
|
2507
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2545
2508
|
return {
|
|
2546
2509
|
endpoint: "/sapi/v1/localentity/broker/deposit/provide-info",
|
|
2547
2510
|
method: "PUT",
|
|
@@ -2580,8 +2543,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2580
2543
|
localVarQueryParameter["questionnaire"] = questionnaire;
|
|
2581
2544
|
}
|
|
2582
2545
|
let _timeUnit;
|
|
2583
|
-
if ("timeUnit" in configuration)
|
|
2584
|
-
_timeUnit = configuration.timeUnit;
|
|
2546
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2585
2547
|
return {
|
|
2586
2548
|
endpoint: "/sapi/v1/localentity/deposit/provide-info",
|
|
2587
2549
|
method: "PUT",
|
|
@@ -2654,8 +2616,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2654
2616
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2655
2617
|
}
|
|
2656
2618
|
let _timeUnit;
|
|
2657
|
-
if ("timeUnit" in configuration)
|
|
2658
|
-
_timeUnit = configuration.timeUnit;
|
|
2619
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2659
2620
|
return {
|
|
2660
2621
|
endpoint: "/sapi/v1/localentity/withdraw/history",
|
|
2661
2622
|
method: "GET",
|
|
@@ -2734,8 +2695,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2734
2695
|
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
2735
2696
|
}
|
|
2736
2697
|
let _timeUnit;
|
|
2737
|
-
if ("timeUnit" in configuration)
|
|
2738
|
-
_timeUnit = configuration.timeUnit;
|
|
2698
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2739
2699
|
return {
|
|
2740
2700
|
endpoint: "/sapi/v2/localentity/withdraw/history",
|
|
2741
2701
|
method: "GET",
|
|
@@ -2808,8 +2768,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2808
2768
|
localVarQueryParameter["questionnaire"] = questionnaire;
|
|
2809
2769
|
}
|
|
2810
2770
|
let _timeUnit;
|
|
2811
|
-
if ("timeUnit" in configuration)
|
|
2812
|
-
_timeUnit = configuration.timeUnit;
|
|
2771
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2813
2772
|
return {
|
|
2814
2773
|
endpoint: "/sapi/v1/localentity/withdraw/apply",
|
|
2815
2774
|
method: "POST",
|
|
@@ -3915,7 +3874,6 @@ var import_common8 = require("@binance/common");
|
|
|
3915
3874
|
TooManyRequestsError,
|
|
3916
3875
|
UnauthorizedError,
|
|
3917
3876
|
WALLET_REST_API_PROD_URL,
|
|
3918
|
-
WALLET_REST_API_TESTNET_URL,
|
|
3919
3877
|
Wallet,
|
|
3920
3878
|
WalletRestAPI
|
|
3921
3879
|
});
|