Comparing version 2.0.8 to 2.0.9
# Binance API | ||
## 2.0.9 | ||
- Fix typo in websocket types. | ||
## 2.0.8 | ||
@@ -4,0 +7,0 @@ - Emit `reconnected` events for reconnected user data stream. |
@@ -608,17 +608,19 @@ import { WsKey } from '../websocket-client'; | ||
} | ||
export interface WsLiquidationOrderFormatted { | ||
symbol: string; | ||
side: OrderSide; | ||
orderType: FuturesOrderType; | ||
quantity: number; | ||
price: number; | ||
averagePrice: number; | ||
orderStatus: OrderStatus; | ||
lastFilledQuantity: number; | ||
orderFilledAccumulatedQuantity: number; | ||
orderTradeTime: number; | ||
} | ||
export interface WsMessageForceOrderFormatted extends WsSharedBase { | ||
eventType: 'forceOrder'; | ||
eventTime: number; | ||
liquidationOrder: { | ||
symbol: string; | ||
side: OrderSide; | ||
oorderType: FuturesOrderType; | ||
quantity: number; | ||
price: number; | ||
averagePrice: number; | ||
lastFilledQuantity: number; | ||
orderFilledAccumulatedQuantity: number; | ||
orderTradeTime: number; | ||
}; | ||
liquidationOrder: WsLiquidationOrderFormatted; | ||
} | ||
export {}; |
{ | ||
"name": "binance", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "Node.js connector for Binance's REST APIs and WebSockets, with TypeScript & integration tests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
294246
5348