Skip to content

Commit

Permalink
Merge pull request #386 from JJ-Cro/fix251024
Browse files Browse the repository at this point in the history
feat(#385): updated createSubAPIKey params to match docs
  • Loading branch information
tiagosiebler authored Oct 25, 2024
2 parents f80be35 + 9acb512 commit 9fae2e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 2 additions & 3 deletions src/types/request/v5-user.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { PermissionsV5 } from '../v5-shared';


export interface CreateSubMemberParamsV5 {
username: string;
password?: string;
Expand All @@ -20,7 +19,7 @@ export interface CreateSubApiKeyParamsV5 {
subuid: number;
note?: string;
readOnly: 0 | 1;
ips?: string[];
ips?: string;
permissions: PermissionsV5;
}

Expand All @@ -45,4 +44,4 @@ export interface GetSubAccountAllApiKeysParamsV5 {
subMemberId: string;
limit?: number;
cursor?: string;
}
}

0 comments on commit 9fae2e0

Please sign in to comment.