v3.4.2: fix() missing property from linear client set trading stop method

This commit is contained in:
tiagosiebler
2023-02-18 17:19:05 +00:00
parent 9649254c37
commit caa23be70c
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "bybit-api", "name": "bybit-api",
"version": "3.4.1", "version": "3.4.2",
"description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", "description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

View File

@@ -163,6 +163,7 @@ export interface LinearSetTradingStopRequest {
sl_trigger_by?: string; sl_trigger_by?: string;
sl_size?: number; sl_size?: number;
tp_size?: number; tp_size?: number;
position_idx?: 0 | 1 | 2;
} }
export interface LinearGetTradeRecordsRequest { export interface LinearGetTradeRecordsRequest {