ccxt 4.2.28 → 4.2.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
 
7
7
  // ---------------------------------------------------------------------------
8
8
  import coinbaseRest from '../coinbase.js';
9
- import { ArgumentsRequired, ExchangeError } from '../base/errors.js';
9
+ import { ExchangeError } from '../base/errors.js';
10
10
  import { ArrayCacheBySymbolById } from '../base/ws/Cache.js';
11
11
  import { sha256 } from '../static_dependencies/noble-hashes/sha256.js';
12
12
  // ---------------------------------------------------------------------------
@@ -113,7 +113,7 @@ export default class coinbase extends coinbaseRest {
113
113
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
114
114
  */
115
115
  if (symbols === undefined) {
116
- throw new ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
116
+ symbols = this.symbols;
117
117
  }
118
118
  const name = 'ticker_batch';
119
119
  const tickers = await this.subscribe(name, symbols, params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.2.28",
3
+ "version": "4.2.29",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.js",
6
6
  "type": "module",