binance 2.0.22 → 2.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -405,7 +405,7 @@ export interface WsUpdatedPosition {
405
405
  entryPrice: number;
406
406
  accumulatedRealisedPreFee: number;
407
407
  unrealisedPnl: number;
408
- marginType: Lowercase<MarginType>;
408
+ marginType: 'cross' | 'isolated';
409
409
  isolatedWalletAmount: number;
410
410
  positionSide: PositionSide;
411
411
  }
@@ -455,7 +455,7 @@ export interface WsMessageFuturesAccountUpdatePositionRaw {
455
455
  ep: numberInString;
456
456
  cr: numberInString;
457
457
  up: numberInString;
458
- mt: Lowercase<MarginType>;
458
+ mt: 'cross' | 'isolated';
459
459
  iw: numberInString;
460
460
  ps: PositionSide;
461
461
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binance",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
4
4
  "description": "Node.js connector for Binance's REST APIs and WebSockets, with TypeScript & integration tests.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",