New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

binance

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

3

CHANGELOG.md
# 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.

24

lib/types/websockets.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc