feat(v4.1.17): update dependencies and ESLint configuration, fix all linter errors

This commit is contained in:
JJ-Cro
2025-07-15 19:18:00 +02:00
parent d27eae3f0d
commit b21e8fb52a
16 changed files with 380 additions and 361 deletions

View File

@@ -1,8 +1,6 @@
/* eslint-disable max-len */
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
APIResponseV3,
APIResponseV3WithTime,
AccountBorrowCollateralLimitV5,
AccountCoinBalanceV5,
AccountInfoV5,
@@ -18,6 +16,8 @@ import {
AmendOrderParamsV5,
AmendSpreadOrderParamsV5,
ApiKeyInfoV5,
APIResponseV3,
APIResponseV3WithTime,
AssetInfoV5,
BatchAmendOrderParamsV5,
BatchAmendOrderResultV5,
@@ -44,8 +44,8 @@ import {
CollateralInfoV5,
CompletedLoanOrderV5,
ConfirmNewRiskLimitParamsV5,
ConvertCoinSpecV5,
ConvertCoinsParamsV5,
ConvertCoinSpecV5,
ConvertHistoryRecordV5,
ConvertQuoteV5,
ConvertStatusV5,
@@ -116,13 +116,13 @@ import {
GetP2POrdersParamsV5,
GetP2PPendingOrdersParamsV5,
GetP2PPersonalAdsParamsV5,
GetPremiumIndexPriceKlineParamsV5,
GetPreUpgradeClosedPnlParamsV5,
GetPreUpgradeOptionDeliveryRecordParamsV5,
GetPreUpgradeOrderHistoryParamsV5,
GetPreUpgradeTradeHistoryParamsV5,
GetPreUpgradeTransactionLogParamsV5,
GetPreUpgradeUSDCSessionParamsV5,
GetPremiumIndexPriceKlineParamsV5,
GetPublicTradingHistoryParamsV5,
GetRepaymentHistoryParamsV5,
GetRiskLimitParamsV5,
@@ -148,9 +148,9 @@ import {
IssueVoucherParamsV5,
LoanLTVAdjustmentHistoryV5,
LongShortRatioV5,
MarkP2POrderAsPaidParamsV5,
MMPModifyParamsV5,
MMPStateV5,
MarkP2POrderAsPaidParamsV5,
MovePositionHistoryV5,
MovePositionParamsV5,
MovePositionResultV5,
@@ -158,11 +158,11 @@ import {
OHLCVKlineV5,
OpenInterestResponseV5,
OptionDeliveryPriceV5,
OrderbookResponseV5,
OrderParamsV5,
OrderPriceLimitV5,
OrderResultV5,
OrderSideV5,
OrderbookResponseV5,
P2PAccountCoinsBalanceV5,
P2PAdDetailV5,
P2PCounterpartyUserInfoV5,
@@ -192,15 +192,15 @@ import {
SetLeverageParamsV5,
SetRiskLimitParamsV5,
SetRiskLimitResultV5,
SettlementRecordV5,
SetTPSLModeParamsV5,
SetTradingStopParamsV5,
SettlementRecordV5,
SpotBorrowCheckResultV5,
SpotMarginStateV5,
SpreadInstrumentInfoV5,
SpreadOpenOrderV5,
SpreadOrderHistoryV5,
SpreadOrderbookResponseV5,
SpreadOrderHistoryV5,
SpreadRecentTradeV5,
SpreadTickerV5,
SpreadTradeV5,
@@ -209,10 +209,10 @@ import {
SubmitStakeRedeemParamsV5,
SwitchIsolatedMarginParamsV5,
SwitchPositionModeParamsV5,
TPSLModeV5,
TickerLinearInverseV5,
TickerOptionV5,
TickerSpotV5,
TPSLModeV5,
TransactionLogV5,
UnifiedAccountUpgradeResultV5,
UniversalTransferParamsV5,
@@ -221,14 +221,14 @@ import {
UpdateApiKeyParamsV5,
UpdateApiKeyResultV5,
UpdateP2PAdParamsV5,
VIPMarginDataV5,
VaspEntityV5,
VipBorrowableCoinsV5,
VipCollateralCoinsV5,
VIPMarginDataV5,
WalletBalanceV5,
WithdrawParamsV5,
WithdrawableAmountV5,
WithdrawalRecordV5,
WithdrawParamsV5,
} from './types';
import { REST_CLIENT_TYPE_ENUM } from './util';
import BaseRestClient from './util/BaseRestClient';