feat(#385): updated createSubAPIKey params to match docs

This commit is contained in:
Jerko J
2024-10-25 10:03:10 +02:00
parent f80be3568b
commit 9acb512d5c
3 changed files with 5 additions and 6 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "bybit-api",
"version": "3.10.21",
"version": "3.10.22",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "bybit-api",
"version": "3.10.21",
"version": "3.10.22",
"license": "MIT",
"dependencies": {
"axios": "^1.6.6",

View File

@@ -1,6 +1,6 @@
{
"name": "bybit-api",
"version": "3.10.21",
"version": "3.10.22",
"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",

View File

@@ -1,6 +1,5 @@
import { PermissionsV5 } from '../v5-shared';
export interface CreateSubMemberParamsV5 {
username: string;
password?: string;
@@ -20,7 +19,7 @@ export interface CreateSubApiKeyParamsV5 {
subuid: number;
note?: string;
readOnly: 0 | 1;
ips?: string[];
ips?: string;
permissions: PermissionsV5;
}
@@ -45,4 +44,4 @@ export interface GetSubAccountAllApiKeysParamsV5 {
subMemberId: string;
limit?: number;
cursor?: string;
}
}