v3.7.2: fix() response type for v5 open interest endpoint
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "3.7.1",
|
||||
"version": "3.7.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bybit-api",
|
||||
"version": "3.7.1",
|
||||
"version": "3.7.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"axios": "^0.21.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "3.7.1",
|
||||
"version": "3.7.2",
|
||||
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -219,7 +219,10 @@ export interface PublicTradeV5 {
|
||||
* - openInterest string Open interest
|
||||
* - timestamp string The timestamp (ms)
|
||||
*/
|
||||
export type OpenInterestV5 = [string, string];
|
||||
export type OpenInterestV5 = {
|
||||
openInterest: string;
|
||||
timestamp: string;
|
||||
};
|
||||
|
||||
export interface OpenInterestResponseV5 {
|
||||
category: 'linear' | 'inverse';
|
||||
|
||||
Reference in New Issue
Block a user