fix contract symbol ticker response typo

This commit is contained in:
tiagosiebler
2022-12-28 14:57:13 +00:00
parent 57ef251c8d
commit 5f0c674d4e
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -71,7 +71,7 @@ export class ContractClient extends BaseRestClient {
getSymbolTicker(
category: UMCategory | '',
symbol?: string
): Promise<APIResponseV3<ContractListResult<ContractSymbolTicker[]>>> {
): Promise<APIResponseV3<ContractListResult<ContractSymbolTicker>>> {
return this.get('/derivatives/v3/public/tickers', { category, symbol });
}