Skip to content

Commit

Permalink
chore(): address trivial eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Dec 13, 2024
1 parent 9996304 commit 0bd4466
Show file tree
Hide file tree
Showing 16 changed files with 725 additions and 698 deletions.
114 changes: 56 additions & 58 deletions src/coinm-client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AxiosRequestConfig } from 'axios';

import {
ClassicPortfolioMarginAccount,
ClassicPortfolioMarginNotionalLimit,
Expand All @@ -13,74 +14,73 @@ import {
SymbolOrPair,
} from './types/coin';
import {
BasicSymbolPaginatedParams,
BasicSymbolParam,
BinanceBaseUrlKey,
GetOrderParams,
OrderBookParams,
HistoricalTradesParams,
KlinesParams,
Kline,
RecentTradesParams,
CancelOrderParams,
CancelOCOParams,
NewOCOParams,
SymbolFromPaginatedRequestFromId,
OrderIdProperty,
GetAllOrdersParams,
GenericCodeMsgError,
GetOrderModifyHistoryParams,
SymbolPrice,
} from './types/shared';

import {
ContinuousContractKlinesParams,
IndexPriceKlinesParams,
SymbolKlinePaginatedParams,
FuturesDataPaginatedParams,
NewFuturesOrderParams,
AggregateFuturesTrade,
CancelAllOpenOrdersResult,
CancelFuturesOrderResult,
CancelMultipleOrdersParams,
CancelOrdersTimeoutParams,
SetLeverageParams,
SetMarginTypeParams,
SetIsolatedMarginParams,
GetPositionMarginChangeHistoryParams,
GetIncomeHistoryParams,
GetForceOrdersParams,
ChangeStats24hr,
ContinuousContractKlinesParams,
ForceOrderResult,
FundingRateHistory,
FuturesCoinMAccountBalance,
FuturesCoinMAccountInformation,
FuturesCoinMBasisParams,
FuturesCoinMTakerBuySellVolumeParams,
FuturesDataPaginatedParams,
FuturesExchangeInfo,
FuturesOrderBook,
RawFuturesTrade,
AggregateFuturesTrade,
FundingRateHistory,
GetForceOrdersParams,
GetIncomeHistoryParams,
GetPositionMarginChangeHistoryParams,
IncomeHistory,
IndexPriceConstituents,
IndexPriceKlinesParams,
MarkPrice,
ModeChangeResult,
PositionModeParams,
PositionModeResponse,
NewOrderResult,
ModifyFuturesOrderParams,
ModifyFuturesOrderResult,
NewFuturesOrderParams,
NewOrderError,
NewOrderResult,
OrderAmendment,
OrderResult,
PositionModeParams,
PositionModeResponse,
QuarterlyContractSettlementPrice,
CancelFuturesOrderResult,
CancelAllOpenOrdersResult,
SetLeverageResult,
SetIsolatedMarginResult,
ForceOrderResult,
SymbolLeverageBracketsResult,
IncomeHistory,
RawFuturesTrade,
RebateDataOverview,
SetCancelTimeoutResult,
ChangeStats24hr,
MarkPrice,
FuturesCoinMTakerBuySellVolumeParams,
FuturesCoinMBasisParams,
ModifyFuturesOrderResult,
ModifyFuturesOrderParams,
OrderAmendment,
FuturesCoinMAccountBalance,
FuturesCoinMAccountInformation,
SetIsolatedMarginParams,
SetIsolatedMarginResult,
SetLeverageParams,
SetLeverageResult,
SetMarginTypeParams,
SymbolKlinePaginatedParams,
SymbolLeverageBracketsResult,
UserCommissionRate,
IndexPriceConstituents,
} from './types/futures';

import {
BasicSymbolPaginatedParams,
BasicSymbolParam,
BinanceBaseUrlKey,
CancelOCOParams,
CancelOrderParams,
GenericCodeMsgError,
GetAllOrdersParams,
GetOrderModifyHistoryParams,
GetOrderParams,
HistoricalTradesParams,
Kline,
KlinesParams,
NewOCOParams,
OrderBookParams,
OrderIdProperty,
RecentTradesParams,
SymbolFromPaginatedRequestFromId,
SymbolPrice,
} from './types/shared';
import BaseRestClient from './util/BaseRestClient';
import {
asArray,
generateNewOrderId,
Expand All @@ -90,8 +90,6 @@ import {
RestClientOptions,
} from './util/requestUtils';

import BaseRestClient from './util/BaseRestClient';

export class CoinMClient extends BaseRestClient {
private clientId: BinanceBaseUrlKey;

Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ export * from './';
export * from './coinm-client';
export * from './logger';
export * from './main-client';
export * from './portfolio-client';
export * from './types/coin';
export * from './types/futures';
export * from './types/shared';
export * from './types/spot';
export * from './types/websockets';
export * from './usdm-client';
export * from './portfolio-client';
export * from './util/requestUtils';
export * from './util/typeGuards';
export * from './util/WsStore';
export * from './util/usdm';
export * from './util/WsStore';
export * from './websocket-client';
Loading

0 comments on commit 0bd4466

Please sign in to comment.