ccxt 4.0.96 → 4.0.97

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.
package/js/src/deribit.js CHANGED
@@ -1320,7 +1320,7 @@ export default class deribit extends Exchange {
1320
1320
  request['start_timestamp'] = since;
1321
1321
  }
1322
1322
  if (limit !== undefined) {
1323
- request['count'] = limit; // default 10
1323
+ request['count'] = Math.min(limit, 1000); // default 10
1324
1324
  }
1325
1325
  const response = await this[method](this.extend(request, params));
1326
1326
  //
package/js/src/kucoin.js CHANGED
@@ -4144,7 +4144,7 @@ export default class kucoin extends Exchange {
4144
4144
  this.throwExactlyMatchedException(this.exceptions['exact'], message, feedback);
4145
4145
  this.throwExactlyMatchedException(this.exceptions['exact'], errorCode, feedback);
4146
4146
  this.throwBroadlyMatchedException(this.exceptions['broad'], body, feedback);
4147
- if (errorCode !== '200000') {
4147
+ if (errorCode !== '200000' && errorCode !== '200') {
4148
4148
  throw new ExchangeError(feedback);
4149
4149
  }
4150
4150
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.0.96",
3
+ "version": "4.0.97",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.js",
6
6
  "type": "module",