bybit-api 4.1.8 → 4.1.9

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.
@@ -101,6 +101,7 @@ export interface GetDeliveryPriceParamsV5 {
101
101
  category: 'linear' | 'inverse' | 'option';
102
102
  symbol?: string;
103
103
  baseCoin?: string;
104
+ settleCoin?: string;
104
105
  limit?: number;
105
106
  cursor?: string;
106
107
  }
@@ -95,6 +95,7 @@ export interface ExecutionV5 {
95
95
  blockTradeId?: string;
96
96
  closedSize?: string;
97
97
  seq: number;
98
+ extraFees: string;
98
99
  }
99
100
  export interface ClosedPnLV5 {
100
101
  symbol: string;
@@ -18,6 +18,7 @@ export interface PreUpgradeTransaction {
18
18
  tradeId: string;
19
19
  orderId: string;
20
20
  orderLinkId: string;
21
+ extraFees: string;
21
22
  }
22
23
  export interface PreUpgradeOptionsDelivery {
23
24
  deliveryTime: number;
@@ -50,6 +50,7 @@ export interface AccountOrderV5 {
50
50
  smpOrderId: string;
51
51
  createdTime: string;
52
52
  updatedTime: string;
53
+ extraFees: string;
53
54
  }
54
55
  export interface BatchCreateOrderResultV5 {
55
56
  category: CategoryV5;
@@ -352,3 +352,10 @@ export interface WSSpreadExecutionV5 {
352
352
  seq: number;
353
353
  }
354
354
  export type WSSpreadExecutionEventV5 = WSPrivateTopicEventV5<'spread.execution', WSSpreadExecutionV5[]>;
355
+ export interface WSInsuranceV5 {
356
+ coin: string;
357
+ symbols: string;
358
+ balance: string;
359
+ updateTime: string;
360
+ }
361
+ export type WSInsuranceEventV5 = WSPublicTopicEventV5<'insurance.USDT' | 'insurance.USDC' | 'insurance.inverse', 'snapshot' | 'delta', WSInsuranceV5[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bybit-api",
3
- "version": "4.1.8",
3
+ "version": "4.1.9",
4
4
  "description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",