feat: deprecate request and implement axios. bump ws. cleaning. expose request options for proxy support. resolves #12. resolves #4.

This commit is contained in:
tiagosiebler
2020-10-04 19:37:26 +01:00
parent b201d364bf
commit 3a2125e77b
10 changed files with 223 additions and 4992 deletions

View File

@@ -4,7 +4,7 @@ const WebSocket = require('ws');
const defaultLogger = require('./logger');
const RestClient = require('./rest-client');
const { signMessage } = require('./utility');
const { signMessage } = require('./util/requestUtils');
const wsUrls = {
livenet: 'wss://stream.bybit.com/realtime',