ccxt 4.1.31 → 4.1.33

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.
Files changed (41) hide show
  1. package/README.md +4 -4
  2. package/build.sh +5 -2
  3. package/dist/ccxt.browser.js +350 -202
  4. package/dist/ccxt.browser.min.js +9 -9
  5. package/dist/cjs/ccxt.js +1 -1
  6. package/dist/cjs/src/base/Exchange.js +4 -1
  7. package/dist/cjs/src/base/functions/misc.js +6 -0
  8. package/dist/cjs/src/bitmex.js +16 -22
  9. package/dist/cjs/src/digifinex.js +14 -0
  10. package/dist/cjs/src/huobi.js +18 -12
  11. package/dist/cjs/src/krakenfutures.js +1 -0
  12. package/dist/cjs/src/phemex.js +8 -6
  13. package/dist/cjs/src/pro/bittrex.js +68 -2
  14. package/dist/cjs/src/pro/huobi.js +79 -32
  15. package/dist/cjs/src/pro/woo.js +5 -2
  16. package/dist/cjs/src/upbit.js +8 -6
  17. package/dist/cjs/src/wavesexchange.js +6 -7
  18. package/dist/cjs/src/woo.js +27 -31
  19. package/dist/cjs/src/zonda.js +37 -30
  20. package/js/ccxt.d.ts +1 -1
  21. package/js/ccxt.js +1 -1
  22. package/js/src/abstract/bitbay.d.ts +2 -0
  23. package/js/src/abstract/digifinex.d.ts +14 -0
  24. package/js/src/abstract/zonda.d.ts +2 -0
  25. package/js/src/base/Exchange.d.ts +1 -1
  26. package/js/src/base/Exchange.js +7 -2
  27. package/js/src/base/functions/misc.js +6 -0
  28. package/js/src/bitmex.js +16 -22
  29. package/js/src/digifinex.js +14 -0
  30. package/js/src/huobi.js +18 -12
  31. package/js/src/krakenfutures.js +1 -0
  32. package/js/src/phemex.js +8 -6
  33. package/js/src/pro/bittrex.d.ts +1 -0
  34. package/js/src/pro/bittrex.js +69 -3
  35. package/js/src/pro/huobi.js +79 -32
  36. package/js/src/pro/woo.js +5 -2
  37. package/js/src/upbit.js +8 -6
  38. package/js/src/wavesexchange.js +6 -7
  39. package/js/src/woo.js +27 -31
  40. package/js/src/zonda.js +37 -30
  41. package/package.json +1 -1
package/README.md CHANGED
@@ -152,7 +152,7 @@ The CCXT library currently supports the following 97 cryptocurrency exchange mar
152
152
  | [![woo](https://user-images.githubusercontent.com/1294454/150730761-1a00e5e0-d28c-480f-9e65-089ce3e6ef3b.jpg)](https://x.woo.org/register?ref=YWOWC96B) | woo | [WOO X](https://x.woo.org/register?ref=YWOWC96B) | [![API Version 1](https://img.shields.io/badge/1-lightgray)](https://docs.woo.org/) | [![CCXT Certified](https://img.shields.io/badge/CCXT-Certified-green.svg)](https://github.com/ccxt/ccxt/wiki/Certification) | [![CCXT Pro](https://img.shields.io/badge/CCXT-Pro-black)](https://ccxt.pro) |
153
153
  | [![yobit](https://user-images.githubusercontent.com/1294454/27766910-cdcbfdae-5eea-11e7-9859-03fea873272d.jpg)](https://www.yobit.net) | yobit | [YoBit](https://www.yobit.net) | [![API Version 3](https://img.shields.io/badge/3-lightgray)](https://www.yobit.net/en/api/) | | |
154
154
  | [![zaif](https://user-images.githubusercontent.com/1294454/27766927-39ca2ada-5eeb-11e7-972f-1b4199518ca6.jpg)](https://zaif.jp) | zaif | [Zaif](https://zaif.jp) | [![API Version 1](https://img.shields.io/badge/1-lightgray)](https://techbureau-api-document.readthedocs.io/ja/latest/index.html) | | |
155
- | [![zonda](https://user-images.githubusercontent.com/1294454/159202310-a0e38007-5e7c-4ba9-a32f-c8263a0291fe.jpg)](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | zonda | [Zonda](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | [![API Version *](https://img.shields.io/badge/*-lightgray)](https://docs.zonda.exchange/) | | |
155
+ | [![zonda](https://user-images.githubusercontent.com/1294454/159202310-a0e38007-5e7c-4ba9-a32f-c8263a0291fe.jpg)](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | zonda | [Zonda](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | [![API Version *](https://img.shields.io/badge/*-lightgray)](https://docs.zondacrypto.exchange/) | | |
156
156
 
157
157
  The list above is updated frequently, new crypto markets, exchanges, bug fixes, and API endpoints are introduced on a regular basis. See the [Manual](https://github.com/ccxt/ccxt/wiki/) for more details. If you can't find a cryptocurrency exchange in the list above and want it to be added, post a link to it by opening an issue here on GitHub or send us an email.
158
158
 
@@ -210,13 +210,13 @@ console.log(version, Object.keys(exchanges));
210
210
 
211
211
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
212
212
 
213
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.31/dist/ccxt.browser.js
214
- * unpkg: https://unpkg.com/ccxt@4.1.31/dist/ccxt.browser.js
213
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.33/dist/ccxt.browser.js
214
+ * unpkg: https://unpkg.com/ccxt@4.1.33/dist/ccxt.browser.js
215
215
 
216
216
  CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
217
217
 
218
218
  ```HTML
219
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.31/dist/ccxt.browser.js"></script>
219
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.33/dist/ccxt.browser.js"></script>
220
220
  ```
221
221
 
222
222
  Creates a global `ccxt` object:
package/build.sh CHANGED
@@ -137,8 +137,11 @@ done
137
137
  # faster version of post-transpile
138
138
  npm run check-php-syntax
139
139
 
140
- echo "$msgPrefix Linting python files: ${PYTHON_FILES[@]}"
141
- ruff ${PYTHON_FILES[*]}
140
+ # only run the python linter if exchange related files are changed
141
+ if [ ${#PYTHON_FILES[@]} -gt 0 ]; then
142
+ echo "$msgPrefix Linting python files: ${PYTHON_FILES[@]}"
143
+ ruff ${PYTHON_FILES[*]}
144
+ fi
142
145
 
143
146
 
144
147
  ### RUN SPECIFIC TESTS (ONLY IN TRAVIS) ###