(opt = {})
| 186 | } |
| 187 | |
| 188 | options(opt = {}): Binance { |
| 189 | // // return await this.setOptions(opt, callback); // keep this method for backwards compatibility |
| 190 | // this.assignOptions(opt, callback); |
| 191 | this.setOptions(opt); |
| 192 | return this; |
| 193 | } |
| 194 | |
| 195 | assignOptions(opt = {}) { |
| 196 | if (typeof opt === 'string') { // Pass json config filename |
no test coverage detected