Comparing version
@@ -84,3 +84,3 @@ /* eslint-disable camelcase */ | ||
async connect () { | ||
async connect (opts = {}) { | ||
await this.disconnect() | ||
@@ -113,2 +113,4 @@ | ||
if (opts.minimal) return | ||
// get profile and user data | ||
@@ -115,0 +117,0 @@ await this.subscribe('profile-changed', { returnResult: false }) |
{ | ||
"name": "iqoption", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Real-time forex data using IQ Option WebSocket API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
72234
0.05%2418
0.04%