ccxt 4.0.85 → 4.0.87

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.
@@ -741,8 +741,8 @@ export default class blockchaincom extends blockchaincomRest {
741
741
  };
742
742
  }
743
743
  handleDelta(bookside, delta) {
744
- const array = this.parseCountedBidAsk(delta, 'px', 'qty', 'num');
745
- bookside.storeArray(array);
744
+ const bookArray = this.parseCountedBidAsk(delta, 'px', 'qty', 'num');
745
+ bookside.storeArray(bookArray);
746
746
  }
747
747
  handleDeltas(bookside, deltas) {
748
748
  for (let i = 0; i < deltas.length; i++) {
@@ -291,13 +291,13 @@ export default class luno extends lunoRest {
291
291
  const asksOrderSide = orderbook['asks'];
292
292
  const bidsOrderSide = orderbook['bids'];
293
293
  if (createUpdate !== undefined) {
294
- const array = this.customParseBidAsk(createUpdate, 'price', 'volume', 'order_id');
294
+ const bidAskArray = this.customParseBidAsk(createUpdate, 'price', 'volume', 'order_id');
295
295
  const type = this.safeString(createUpdate, 'type');
296
296
  if (type === 'ASK') {
297
- asksOrderSide.storeArray(array);
297
+ asksOrderSide.storeArray(bidAskArray);
298
298
  }
299
299
  else if (type === 'BID') {
300
- bidsOrderSide.storeArray(array);
300
+ bidsOrderSide.storeArray(bidAskArray);
301
301
  }
302
302
  }
303
303
  const deleteUpdate = this.safeValue(message, 'delete_update');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.0.85",
3
+ "version": "4.0.87",
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",