Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bybit-api

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bybit-api - npm Package Compare versions

Comparing version 3.7.1 to 3.7.2

5

lib/constants/enum.d.ts

@@ -20,4 +20,5 @@ export declare const linearPositionModeEnum: {

readonly INCORRECT_API_KEY_PERMISSIONS: 10005;
/** API key requires specific whitelisted IPs, and this IP was not in the list */
readonly INCORRECT_API_REQUEST_IP: 10010;
readonly DB_ERROR_WRONG_CURSOR: 10016;
readonly INCORRECT_PRIVATE_OPERATIONS: 3303001;
/** Account not unified margin, update required */

@@ -33,2 +34,3 @@ readonly ACCOUNT_NOT_UNIFIED: 10020;

readonly CROSS_MARGIN_REPAYMENT_NOT_REQUIRED: 12616;
readonly CROSS_MARGIN_NOT_ENABLED: 12640;
readonly ORDER_NOT_FOUND_OR_TOO_LATE: 20001;

@@ -92,2 +94,3 @@ readonly POSITION_STATUS_NOT_NORMAL: 30013;

readonly ACCOUNT_NOT_EXIST: 3200200;
readonly INCORRECT_PRIVATE_OPERATIONS: 3303001;
readonly SET_MARGIN_MODE_FAILED_USDC: 3400045;

@@ -94,0 +97,0 @@ readonly INCORRECT_MMP_PARAMETERS: 3500712;

@@ -23,4 +23,5 @@ "use strict";

INCORRECT_API_KEY_PERMISSIONS: 10005,
/** API key requires specific whitelisted IPs, and this IP was not in the list */
INCORRECT_API_REQUEST_IP: 10010,
DB_ERROR_WRONG_CURSOR: 10016,
INCORRECT_PRIVATE_OPERATIONS: 3303001,
/** Account not unified margin, update required */

@@ -36,2 +37,3 @@ ACCOUNT_NOT_UNIFIED: 10020,

CROSS_MARGIN_REPAYMENT_NOT_REQUIRED: 12616,
CROSS_MARGIN_NOT_ENABLED: 12640,
ORDER_NOT_FOUND_OR_TOO_LATE: 20001,

@@ -95,2 +97,3 @@ POSITION_STATUS_NOT_NORMAL: 30013,

ACCOUNT_NOT_EXIST: 3200200,
INCORRECT_PRIVATE_OPERATIONS: 3303001,
SET_MARGIN_MODE_FAILED_USDC: 3400045,

@@ -97,0 +100,0 @@ INCORRECT_MMP_PARAMETERS: 3500712,

@@ -199,3 +199,6 @@ import { CategoryCursorListV5, ContractTypeV5, InstrumentStatusV5, OptionTypeV5, OrderSideV5 } from '../v5-shared';

*/
export declare type OpenInterestV5 = [string, string];
export declare type OpenInterestV5 = {
openInterest: string;
timestamp: string;
};
export interface OpenInterestResponseV5 {

@@ -202,0 +205,0 @@ category: 'linear' | 'inverse';

2

package.json
{
"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.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc