Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

okx-api

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

okx-api - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

16

lib/rest-client.d.ts

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc