From 5f0c674d4e83b744de5aab6f34bc21f3860c629e Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Wed, 28 Dec 2022 14:57:13 +0000 Subject: [PATCH] fix contract symbol ticker response typo --- package.json | 2 +- src/contract-client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a1d6afa..4ffa466 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.3.7", + "version": "3.3.8", "description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/contract-client.ts b/src/contract-client.ts index 1dda836..88db401 100644 --- a/src/contract-client.ts +++ b/src/contract-client.ts @@ -71,7 +71,7 @@ export class ContractClient extends BaseRestClient { getSymbolTicker( category: UMCategory | '', symbol?: string - ): Promise>> { + ): Promise>> { return this.get('/derivatives/v3/public/tickers', { category, symbol }); }