Merge pull request #386 from JJ-Cro/fix251024
feat(#385): updated createSubAPIKey params to match docs
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": "3.10.21",
|
"version": "3.10.22",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "3.10.21",
|
"version": "3.10.22",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.6",
|
"axios": "^1.6.6",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"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.",
|
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { PermissionsV5 } from '../v5-shared';
|
import { PermissionsV5 } from '../v5-shared';
|
||||||
|
|
||||||
|
|
||||||
export interface CreateSubMemberParamsV5 {
|
export interface CreateSubMemberParamsV5 {
|
||||||
username: string;
|
username: string;
|
||||||
password?: string;
|
password?: string;
|
||||||
@@ -20,7 +19,7 @@ export interface CreateSubApiKeyParamsV5 {
|
|||||||
subuid: number;
|
subuid: number;
|
||||||
note?: string;
|
note?: string;
|
||||||
readOnly: 0 | 1;
|
readOnly: 0 | 1;
|
||||||
ips?: string[];
|
ips?: string;
|
||||||
permissions: PermissionsV5;
|
permissions: PermissionsV5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -45,4 +44,4 @@ export interface GetSubAccountAllApiKeysParamsV5 {
|
|||||||
subMemberId: string;
|
subMemberId: string;
|
||||||
limit?: number;
|
limit?: number;
|
||||||
cursor?: string;
|
cursor?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user