Merge pull request #212 from tiagosiebler/typoticker
fix contract symbol ticker response typo
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user