update package version & add 3303001 error code
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "2.3.0",
|
"version": "3.1.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "2.3.0",
|
"version": "3.1.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.21.0",
|
"axios": "^0.21.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"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.",
|
"description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ export const API_ERROR_CODE = {
|
|||||||
PARAMS_MISSING_OR_WRONG: 10001,
|
PARAMS_MISSING_OR_WRONG: 10001,
|
||||||
INVALID_API_KEY_OR_PERMISSIONS: 10003,
|
INVALID_API_KEY_OR_PERMISSIONS: 10003,
|
||||||
INCORRECT_API_KEY_PERMISSIONS: 10005,
|
INCORRECT_API_KEY_PERMISSIONS: 10005,
|
||||||
|
INCORRECT_PRIVATE_OPERATIONS: 3303001,
|
||||||
/** Account not unified margin, update required */
|
/** Account not unified margin, update required */
|
||||||
ACCOUNT_NOT_UNIFIED: 10020,
|
ACCOUNT_NOT_UNIFIED: 10020,
|
||||||
BALANCE_INSUFFICIENT_SPOT_V3: 12131,
|
BALANCE_INSUFFICIENT_SPOT_V3: 12131,
|
||||||
|
|||||||
Reference in New Issue
Block a user