Comparing version 1.2.0 to 1.2.1
@@ -403,2 +403,18 @@ import { AxiosRequestConfig } from 'axios'; | ||
getBrokerAccountInformation(): Promise<any[]>; | ||
createSubAccount(params: { | ||
subAcct: string; | ||
label?: string; | ||
clientIP?: string; | ||
mainAcct: string; | ||
}): Promise<any[]>; | ||
deleteSubAccount(params: { | ||
subAcct: string; | ||
}): Promise<any[]>; | ||
createSubAccountAPIKey(params: { | ||
subAcct: string; | ||
label: string; | ||
passphrase: string; | ||
ip?: string; | ||
perm?: string; | ||
}): Promise<any[]>; | ||
} |
@@ -758,4 +758,13 @@ "use strict"; | ||
} | ||
createSubAccount(params) { | ||
return this.postPrivate('/api/v5/broker/nd/create-subaccount', params); | ||
} | ||
deleteSubAccount(params) { | ||
return this.postPrivate('/api/v5/broker/nd/delete-subaccount', params); | ||
} | ||
createSubAccountAPIKey(params) { | ||
return this.postPrivate('/api/v5/broker/nd/subaccount/apikey', params); | ||
} | ||
} | ||
exports.RestClient = RestClient; | ||
//# sourceMappingURL=rest-client.js.map |
{ | ||
"name": "okx-api", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Complete & robust Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
249303
4693