diff --git a/package-lock.json b/package-lock.json index b2a6666..61cfaeb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "2.3.0", + "version": "3.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "2.3.0", + "version": "3.1.1", "license": "MIT", "dependencies": { "axios": "^0.21.0", diff --git a/package.json b/package.json index b4dc95a..42be513 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.1.0", + "version": "3.1.1", "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/constants/enum.ts b/src/constants/enum.ts index 4843930..8526efc 100644 --- a/src/constants/enum.ts +++ b/src/constants/enum.ts @@ -18,6 +18,7 @@ export const API_ERROR_CODE = { PARAMS_MISSING_OR_WRONG: 10001, INVALID_API_KEY_OR_PERMISSIONS: 10003, INCORRECT_API_KEY_PERMISSIONS: 10005, + INCORRECT_PRIVATE_OPERATIONS: 3303001, /** Account not unified margin, update required */ ACCOUNT_NOT_UNIFIED: 10020, BALANCE_INSUFFICIENT_SPOT_V3: 12131,