Skip to content

Commit

Permalink
1.18.112
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jan 7, 2019
1 parent 6e16fa5 commit 7ceac58
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 14 deletions.
5 changes: 3 additions & 2 deletions build/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.18.111'
const version = '1.18.112'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -11296,7 +11296,8 @@ module.exports = class bithumb extends Exchange {
symbol = market['symbol'];
}
let ticker = tickers[id];
if (!Array.isArray (ticker)) {
let isArray = Array.isArray (ticker);
if (!isArray) {
ticker['date'] = timestamp;
result[symbol] = this.parseTicker (ticker, market);
}
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.18.111'
const version = '1.18.112'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.18.111",
"version": "1.18.112",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
4 changes: 2 additions & 2 deletions php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
use kornrunner\Secp256k1;
use kornrunner\Solidity;

$version = '1.18.111';
$version = '1.18.112';

// rounding mode
const TRUNCATE = 0;
Expand All @@ -50,7 +50,7 @@

class Exchange {

const VERSION = '1.18.111';
const VERSION = '1.18.112';

public static $eth_units = array (
'wei' => '1',
Expand Down
3 changes: 2 additions & 1 deletion php/bithumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ public function fetch_tickers ($symbols = null, $params = array ()) {
$symbol = $market['symbol'];
}
$ticker = $tickers[$id];
if (!gettype ($ticker) === 'array' && count (array_filter (array_keys ($ticker), 'is_string')) == 0) {
$isArray = gettype ($ticker) === 'array' && count (array_filter (array_keys ($ticker), 'is_string')) == 0;
if (!$isArray) {
$ticker['date'] = $timestamp;
$result[$symbol] = $this->parse_ticker($ticker, $market);
}
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# ----------------------------------------------------------------------------

__version__ = '1.18.111'
__version__ = '1.18.112'

# ----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.18.111'
__version__ = '1.18.112'

# -----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.18.111'
__version__ = '1.18.112'

# -----------------------------------------------------------------------------

Expand Down
3 changes: 2 additions & 1 deletion python/ccxt/async_support/bithumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ async def fetch_tickers(self, symbols=None, params={}):
market = self.markets_by_id[id]
symbol = market['symbol']
ticker = tickers[id]
if not isinstance(ticker, list):
isArray = isinstance(ticker, list)
if not isArray:
ticker['date'] = timestamp
result[symbol] = self.parse_ticker(ticker, market)
return result
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.18.111'
__version__ = '1.18.112'

# -----------------------------------------------------------------------------

Expand Down
3 changes: 2 additions & 1 deletion python/ccxt/bithumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def fetch_tickers(self, symbols=None, params={}):
market = self.markets_by_id[id]
symbol = market['symbol']
ticker = tickers[id]
if not isinstance(ticker, list):
isArray = isinstance(ticker, list)
if not isArray:
ticker['date'] = timestamp
result[symbol] = self.parse_ticker(ticker, market)
return result
Expand Down

0 comments on commit 7ceac58

Please sign in to comment.