Merge pull request #183 from twxia/patch-1
missing unifiedPrivate in WS_AUTH_ON_CONNECT_KEYS
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -145,6 +145,7 @@ export const WS_AUTH_ON_CONNECT_KEYS: WsKey[] = [
|
||||
WS_KEY_MAP.spotV3Private,
|
||||
WS_KEY_MAP.usdcOptionPrivate,
|
||||
WS_KEY_MAP.usdcPerpPrivate,
|
||||
WS_KEY_MAP.unifiedPrivate,
|
||||
];
|
||||
|
||||
export const PUBLIC_WS_KEYS = [
|
||||
|
||||
Reference in New Issue
Block a user