v3.3.5: fix typo in contract endpoint order request interfaces
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.3.2",
|
"version": "3.3.5",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.3.2",
|
"version": "3.3.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.21.0",
|
"axios": "^0.21.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.3.4",
|
"version": "3.3.5",
|
||||||
"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",
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ export interface ContractOrderRequest {
|
|||||||
slTriggerBy?: string;
|
slTriggerBy?: string;
|
||||||
timeInForce: USDCTimeInForce;
|
timeInForce: USDCTimeInForce;
|
||||||
orderLinkId?: string;
|
orderLinkId?: string;
|
||||||
takeProfit?: number;
|
takeProfit?: string;
|
||||||
stopLoss?: number;
|
stopLoss?: string;
|
||||||
reduceOnly?: boolean;
|
reduceOnly?: boolean;
|
||||||
closeOnTrigger?: boolean;
|
closeOnTrigger?: boolean;
|
||||||
}
|
}
|
||||||
@@ -44,8 +44,8 @@ export interface ContractModifyOrderRequest {
|
|||||||
symbol: string;
|
symbol: string;
|
||||||
qty?: string;
|
qty?: string;
|
||||||
price?: string;
|
price?: string;
|
||||||
takeProfit?: number;
|
takeProfit?: string;
|
||||||
stopLoss?: number;
|
stopLoss?: string;
|
||||||
tpTriggerBy?: string;
|
tpTriggerBy?: string;
|
||||||
slTriggerBy?: string;
|
slTriggerBy?: string;
|
||||||
triggerBy?: string;
|
triggerBy?: string;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export type LogParams = null | any;
|
export type LogParams = null | any;
|
||||||
|
|
||||||
export const DefaultLogger = {
|
export const DefaultLogger = {
|
||||||
|
/** Ping/pong events and other raw messages that might be noisy */
|
||||||
silly: (...params: LogParams): void => {
|
silly: (...params: LogParams): void => {
|
||||||
// console.log(params);
|
// console.log(params);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user