Skip to content

Commit

Permalink
1.67.63
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jan 14, 2022
1 parent d1e2624 commit 1b56267
Show file tree
Hide file tree
Showing 19 changed files with 55 additions and 25 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -221,13 +221,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.67.62/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.62/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.63/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
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.62/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Expand Up @@ -36,7 +36,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.67.62'
const version = '1.67.63'

Exchange.ccxtVersion = version

Expand Down
8 changes: 7 additions & 1 deletion dist/ccxt.browser.js
Expand Up @@ -44,7 +44,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.67.62'
const version = '1.67.63'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -45702,13 +45702,19 @@ module.exports = class bw extends Exchange {
const id = this.safeString (currency, 'currencyId');
const code = this.safeCurrencyCode (this.safeStringUpper (currency, 'name'));
const state = this.safeInteger (currency, 'state');
const rechargeFlag = this.safeInteger (currency, 'rechargeFlag');
const drawFlag = this.safeInteger (currency, 'drawFlag');
const deposit = rechargeFlag === 1;
const withdraw = drawFlag === 1;
const active = state === 1;
result[code] = {
'id': id,
'code': code,
'info': currency,
'name': code,
'active': active,
'deposit': deposit,
'withdraw': withdraw,
'fee': this.safeNumber (currency, 'drawFee'),
'precision': undefined,
'limits': {
Expand Down
6 changes: 3 additions & 3 deletions doc/readme.rst
Expand Up @@ -1957,14 +1957,14 @@ JavaScript (for use with the ``<script>`` tag):
All-in-one browser bundle (dependencies included), served from a CDN of your choice:


* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.62/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.62/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.63/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.

.. code-block:: HTML

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.62/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js"></script>

Creates a global ``ccxt`` object:

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
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.67.62",
"version": "1.67.63",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
Expand Down
4 changes: 2 additions & 2 deletions php/Exchange.php

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

4 changes: 2 additions & 2 deletions php/async/Exchange.php
Expand Up @@ -28,11 +28,11 @@

include 'Throttle.php';

$version = '1.67.62';
$version = '1.67.63';

class Exchange extends \ccxt\Exchange {

const VERSION = '1.67.62';
const VERSION = '1.67.63';

public static $loop;
public static $kernel;
Expand Down
6 changes: 6 additions & 0 deletions php/async/bw.php
Expand Up @@ -288,13 +288,19 @@ public function fetch_currencies($params = array ()) {
$id = $this->safe_string($currency, 'currencyId');
$code = $this->safe_currency_code($this->safe_string_upper($currency, 'name'));
$state = $this->safe_integer($currency, 'state');
$rechargeFlag = $this->safe_integer($currency, 'rechargeFlag');
$drawFlag = $this->safe_integer($currency, 'drawFlag');
$deposit = $rechargeFlag === 1;
$withdraw = $drawFlag === 1;
$active = $state === 1;
$result[$code] = array(
'id' => $id,
'code' => $code,
'info' => $currency,
'name' => $code,
'active' => $active,
'deposit' => $deposit,
'withdraw' => $withdraw,
'fee' => $this->safe_number($currency, 'drawFee'),
'precision' => null,
'limits' => array(
Expand Down
6 changes: 6 additions & 0 deletions php/bw.php

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

6 changes: 3 additions & 3 deletions python/README.md
Expand Up @@ -221,13 +221,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.67.62/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.62/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.63/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
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.62/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Expand Up @@ -22,7 +22,7 @@

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

__version__ = '1.67.62'
__version__ = '1.67.63'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/__init__.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.67.62'
__version__ = '1.67.63'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/base/exchange.py
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '1.67.62'
__version__ = '1.67.63'

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

Expand Down
6 changes: 6 additions & 0 deletions python/ccxt/async_support/bw.py
Expand Up @@ -289,13 +289,19 @@ async def fetch_currencies(self, params={}):
id = self.safe_string(currency, 'currencyId')
code = self.safe_currency_code(self.safe_string_upper(currency, 'name'))
state = self.safe_integer(currency, 'state')
rechargeFlag = self.safe_integer(currency, 'rechargeFlag')
drawFlag = self.safe_integer(currency, 'drawFlag')
deposit = rechargeFlag == 1
withdraw = drawFlag == 1
active = state == 1
result[code] = {
'id': id,
'code': code,
'info': currency,
'name': code,
'active': active,
'deposit': deposit,
'withdraw': withdraw,
'fee': self.safe_number(currency, 'drawFee'),
'precision': None,
'limits': {
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.67.62'
__version__ = '1.67.63'

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

Expand Down
6 changes: 6 additions & 0 deletions python/ccxt/bw.py

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

2 changes: 1 addition & 1 deletion python/package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.67.62",
"version": "1.67.63",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
Expand Down
6 changes: 3 additions & 3 deletions wiki/Install.md
Expand Up @@ -40,13 +40,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.67.62/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.62/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.63/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
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.62/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.63/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down

0 comments on commit 1b56267

Please sign in to comment.