From 12ccadd8e8ef9c02542bf385444176276b0288d0 Mon Sep 17 00:00:00 2001 From: carlosmiei <43336371+carlosmiei@users.noreply.github.com> Date: Fri, 28 Nov 2025 12:08:51 +0000 Subject: [PATCH] build: export types explictly --- index.d.ts | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/index.d.ts b/index.d.ts index 9bbe66ba..085092b4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -29,18 +29,118 @@ export interface BinanceRest extends UtilityEndpoints {} export * from './types/base'; + +export { + BinanceRestOptions, + RateLimitType, + RateLimitInterval, + OrderType, + OrderSide, + TimeInForce, + TradingType +} from './types/base'; + export * from './types/market'; + +export { + Trade, + Ticker, + BookTicker, + CandleChartResult, + AggregatedTrade, + MarketEndpoints +} from './types/market' + export * from './types/order'; + +export { + OrderEndpoints, +} from './types/order'; + export * from './types/account'; + +export { + Account, + AssetBalance, + TradeFee, + DepositAddress, + WithdrawResponse, + DepositStatus, + DepositStatus_LT, + UserAssetDribbletDetails, + UserAssetDribblets, + DustLog, + DustTransfer, + DustTransferResult, + DepositHistoryResponse, + WithdrawStatus, + WithdrawStatus_LT, + WithdrawHistoryResponse, + AccountEndpoints +} from './types/account'; + export * from './types/stream'; + +export { + StreamEndpoints +} from './types/stream'; + export * from './types/futures'; + +export { + FuturesEndpoints, +} from './types/futures'; + export * from './types/delivery'; + +export { + DeliveryEndpoints +} from './types/delivery'; + export * from './types/papi'; + +export { + PAPIEndpoints, +} from './types/papi'; + export * from './types/margin'; + +export { + MarginAsset, + MarginAccountInfo, + MarginIsolatedAsset, + MarginIsolatedSymbol, + MarginIsolatedAccount, + MarginMaxBorrow, + MarginOrderParams, + MarginOrderOcoParams, + MarginEndpoints +} from './types/margin'; + export * from './types/portfolio-margin'; + +export { + PortfolioMarginEndpoints, +} from './types/portfolio-margin'; + export * from './types/savings'; + +export { + SavingsEndpoints, +} from './types/savings'; + export * from './types/mining'; + +export { + MiningEndpoints, +} from './types/mining'; + export * from './types/utility'; +// export { + +// } from './types/utility'; + + declare function Binance(options?: BinanceRestClient.BinanceRestOptions): BinanceRest; export default Binance;