feat: deprecate request and implement axios. bump ws. cleaning. expose request options for proxy support. resolves #12. resolves #4.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
|
||||
const assert = require('assert');
|
||||
|
||||
const Request = require('./request-v2');
|
||||
const RequestWrapper = require('./util/requestWrapper');
|
||||
|
||||
module.exports = class RestClient {
|
||||
|
||||
constructor(key, secret, livenet=false, options={}) {
|
||||
this.request = new Request(...arguments);
|
||||
this.request = new RequestWrapper(...arguments);
|
||||
}
|
||||
|
||||
async placeActiveOrder(params) {
|
||||
|
||||
Reference in New Issue
Block a user