From 9c08e431b702d1d3f93cc5e4899c2cf7cd09afe3 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 28 Nov 2019 21:55:14 +0000 Subject: [PATCH] 1.20.12 [ci skip] --- README.md | 6 +++--- ccxt.js | 2 +- dist/ccxt.browser.js | 4 ++-- doc/README.rst | 6 +++--- doc/install.rst | 6 +++--- package-lock.json | 2 +- package.json | 2 +- php/base/Exchange.php | 4 ++-- php/kuna.php | 2 +- python/README.rst | 6 +++--- python/ccxt/__init__.py | 2 +- python/ccxt/async_support/__init__.py | 2 +- python/ccxt/async_support/base/exchange.py | 2 +- python/ccxt/async_support/kuna.py | 2 +- python/ccxt/base/exchange.py | 2 +- python/ccxt/kuna.py | 2 +- wiki/Install.md | 6 +++--- 17 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 437c3997e18f..845480733c0b 100644 --- a/README.md +++ b/README.md @@ -230,13 +230,13 @@ console.log (ccxt.exchanges) // print all available exchanges All-in-one browser bundle (dependencies included), served from a CDN of your choice: -* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.20.11/dist/ccxt.browser.js -* unpkg: https://unpkg.com/ccxt@1.20.11/dist/ccxt.browser.js +* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.20.12/dist/ccxt.browser.js +* unpkg: https://unpkg.com/ccxt@1.20.12/dist/ccxt.browser.js 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. ```HTML - + ``` Creates a global `ccxt` object: diff --git a/ccxt.js b/ccxt.js index dafbda825b1a..4966da8f3b32 100644 --- a/ccxt.js +++ b/ccxt.js @@ -35,7 +35,7 @@ const Exchange = require ('./js/base/Exchange') //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '1.20.11' +const version = '1.20.12' Exchange.ccxtVersion = version diff --git a/dist/ccxt.browser.js b/dist/ccxt.browser.js index b915f523fe10..7b6199a7c166 100644 --- a/dist/ccxt.browser.js +++ b/dist/ccxt.browser.js @@ -43,7 +43,7 @@ const Exchange = require ('./js/base/Exchange') //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '1.20.11' +const version = '1.20.12' Exchange.ccxtVersion = version @@ -65319,7 +65319,7 @@ module.exports = class kuna extends acx { if (market) { symbol = market['symbol']; } - let side = this.safeString (trade, 'side'); + let side = this.safeString2 (trade, 'side', 'trend'); if (side !== undefined) { const sideMap = { 'ask': 'sell', diff --git a/doc/README.rst b/doc/README.rst index 9ba078bb629c..b0dd0c3be936 100644 --- a/doc/README.rst +++ b/doc/README.rst @@ -377,14 +377,14 @@ JavaScript (for use with the `` + Creates a global ``ccxt`` object: diff --git a/doc/install.rst b/doc/install.rst index 353bb71f2fff..0027153bd4fc 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -62,14 +62,14 @@ JavaScript (for use with the `` + Creates a global ``ccxt`` object: diff --git a/package-lock.json b/package-lock.json index cdd1014d1396..4b1581de34dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ccxt", - "version": "1.20.11", + "version": "1.20.12", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b446adadc0b5..a595ceebed3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ccxt", - "version": "1.20.11", + "version": "1.20.12", "description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges", "main": "./ccxt.js", "unpkg": "dist/ccxt.browser.js", diff --git a/php/base/Exchange.php b/php/base/Exchange.php index d45eacf2b1a9..7d9d4049336a 100644 --- a/php/base/Exchange.php +++ b/php/base/Exchange.php @@ -35,7 +35,7 @@ use Elliptic\EC; use BN\BN; -$version = '1.20.11'; +$version = '1.20.12'; // rounding mode const TRUNCATE = 0; @@ -54,7 +54,7 @@ class Exchange { - const VERSION = '1.20.11'; + const VERSION = '1.20.12'; public static $eth_units = array ( 'wei' => '1', diff --git a/php/kuna.php b/php/kuna.php index f03e1d065b81..b435cf257ff3 100644 --- a/php/kuna.php +++ b/php/kuna.php @@ -138,7 +138,7 @@ public function parse_trade ($trade, $market = null) { if ($market) { $symbol = $market['symbol']; } - $side = $this->safe_string($trade, 'side'); + $side = $this->safe_string_2($trade, 'side', 'trend'); if ($side !== null) { $sideMap = array ( 'ask' => 'sell', diff --git a/python/README.rst b/python/README.rst index f2edb5984797..d34987c98459 100644 --- a/python/README.rst +++ b/python/README.rst @@ -377,14 +377,14 @@ JavaScript (for use with the `` + Creates a global ``ccxt`` object: diff --git a/python/ccxt/__init__.py b/python/ccxt/__init__.py index da8c5e5c6971..93d362a7a405 100644 --- a/python/ccxt/__init__.py +++ b/python/ccxt/__init__.py @@ -22,7 +22,7 @@ # ---------------------------------------------------------------------------- -__version__ = '1.20.11' +__version__ = '1.20.12' # ---------------------------------------------------------------------------- diff --git a/python/ccxt/async_support/__init__.py b/python/ccxt/async_support/__init__.py index c47d49fd4bdc..f952a7168a77 100644 --- a/python/ccxt/async_support/__init__.py +++ b/python/ccxt/async_support/__init__.py @@ -4,7 +4,7 @@ # ----------------------------------------------------------------------------- -__version__ = '1.20.11' +__version__ = '1.20.12' # ----------------------------------------------------------------------------- diff --git a/python/ccxt/async_support/base/exchange.py b/python/ccxt/async_support/base/exchange.py index 6a7841ac9b41..06da90d1e33d 100644 --- a/python/ccxt/async_support/base/exchange.py +++ b/python/ccxt/async_support/base/exchange.py @@ -2,7 +2,7 @@ # ----------------------------------------------------------------------------- -__version__ = '1.20.11' +__version__ = '1.20.12' # ----------------------------------------------------------------------------- diff --git a/python/ccxt/async_support/kuna.py b/python/ccxt/async_support/kuna.py index 011f8978dc22..a833f11bd6b4 100644 --- a/python/ccxt/async_support/kuna.py +++ b/python/ccxt/async_support/kuna.py @@ -130,7 +130,7 @@ def parse_trade(self, trade, market=None): symbol = None if market: symbol = market['symbol'] - side = self.safe_string(trade, 'side') + side = self.safe_string_2(trade, 'side', 'trend') if side is not None: sideMap = { 'ask': 'sell', diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index 82c6e356fb3c..5632312c5ef5 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -4,7 +4,7 @@ # ----------------------------------------------------------------------------- -__version__ = '1.20.11' +__version__ = '1.20.12' # ----------------------------------------------------------------------------- diff --git a/python/ccxt/kuna.py b/python/ccxt/kuna.py index 842054487e99..56318f811e5a 100644 --- a/python/ccxt/kuna.py +++ b/python/ccxt/kuna.py @@ -130,7 +130,7 @@ def parse_trade(self, trade, market=None): symbol = None if market: symbol = market['symbol'] - side = self.safe_string(trade, 'side') + side = self.safe_string_2(trade, 'side', 'trend') if side is not None: sideMap = { 'ask': 'sell', diff --git a/wiki/Install.md b/wiki/Install.md index db1f137e83a2..170a05b8b04c 100644 --- a/wiki/Install.md +++ b/wiki/Install.md @@ -58,13 +58,13 @@ If that does not help, please, follow here: https://github.com/nodejs/node-gyp#o All-in-one browser bundle (dependencies included), served from a CDN of your choice: -* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.20.11/dist/ccxt.browser.js -* unpkg: https://unpkg.com/ccxt@1.20.11/dist/ccxt.browser.js +* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.20.12/dist/ccxt.browser.js +* unpkg: https://unpkg.com/ccxt@1.20.12/dist/ccxt.browser.js You can obtain a live-updated version of the bundle by removing the version number from the URL (the `@a.b.c` thing) — however, we do not recommend to do that, as it may break your app eventually. Also, please keep in mind that we are not responsible for the correct operation of those CDN servers. ```HTML - + ``` Creates a global `ccxt` object: