Skip to content

Commit

Permalink
1.10.310
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 7, 2017
1 parent 4806b21 commit 8c4b486
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions build/ccxt.browser.js

Large diffs are not rendered by default.

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 errors = require ('./js/base/errors')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.10.309'
const version = '1.10.310'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion ccxt.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.10.309';
$version = '1.10.310';

const CLASSES_DIR = __DIR__ . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR;

Expand Down
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.10.309",
"version": "1.10.310",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion php/bitmex.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public function withdraw ($currency, $amount, $address, $params = array ()) {
}

public function handle_errors ($code, $reason, $url, $method, $headers, $body) {
if ($code == 400) {
if ($code >= 400) {
if ($body[0] == "{") {
$response = json_decode ($body, $as_associative_array = true);
if (array_key_exists ('error', $response)) {
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

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

__version__ = '1.10.309'
__version__ = '1.10.310'

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

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

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

__version__ = '1.10.309'
__version__ = '1.10.310'

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

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

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

__version__ = '1.10.309'
__version__ = '1.10.310'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/bitmex.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ async def withdraw(self, currency, amount, address, params={}):
}

def handle_errors(self, code, reason, url, method, headers, body):
if code == 400:
if code >= 400:
if body[0] == "{":
response = json.loads(body)
if 'error' in response:
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.10.309'
__version__ = '1.10.310'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/bitmex.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def withdraw(self, currency, amount, address, params={}):
}

def handle_errors(self, code, reason, url, method, headers, body):
if code == 400:
if code >= 400:
if body[0] == "{":
response = json.loads(body)
if 'error' in response:
Expand Down

0 comments on commit 8c4b486

Please sign in to comment.