Skip to content

Commit

Permalink
Merge pull request ccxt#18027 from samgermain/hitbtc3-sockets
Browse files Browse the repository at this point in the history
feat(hitbtc): websockets class updated from V1 to V3

[ci skip]
  • Loading branch information
Travis CI committed Sep 12, 2023
1 parent dadeebb commit 85386de
Show file tree
Hide file tree
Showing 65 changed files with 5,431 additions and 1,497 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@ console.log(version, Object.keys(exchanges));

All-in-one browser bundle (dependencies included), served from a CDN of your choice:

* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].91/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].91/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].92/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].92/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/[email protected].91/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].92/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
1,142 changes: 901 additions & 241 deletions dist/ccxt.browser.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/ccxt.browser.min.js

Large diffs are not rendered by default.

1,134 changes: 895 additions & 239 deletions dist/ccxt.bundle.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ var woo$1 = require('./src/pro/woo.js');

//-----------------------------------------------------------------------------
// this is updated by vss.js when building
const version = '4.0.91';
const version = '4.0.92';
Exchange["default"].ccxtVersion = version;
const exchanges = {
'ace': ace,
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/binance.js
Original file line number Diff line number Diff line change
Expand Up @@ -7755,7 +7755,7 @@ class binance extends binance$1 {
* @param {int} [since] timestamp in ms
* @param {int} [limit] number of records, default 100, max 100
* @param {object} [params] exchange specific params
* @returns {object[]} a list of [settlement history objects]
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
await this.loadMarkets();
const market = (symbol === undefined) ? undefined : this.market(symbol);
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/bybit.js
Original file line number Diff line number Diff line change
Expand Up @@ -8960,7 +8960,7 @@ class bybit extends bybit$1 {
* @param {int} [since] timestamp in ms
* @param {int} [limit] number of records
* @param {object} [params] exchange specific params
* @returns {object[]} a list of [settlement history objects]
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
await this.loadMarkets();
const request = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/cryptocom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2675,7 +2675,7 @@ class cryptocom extends cryptocom$1 {
* @param {int} [limit] number of records
* @param {object} [params] exchange specific params
* @param {int} [params.type] 'future', 'option'
* @returns {object[]} a list of [settlement history objects]
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
await this.loadMarkets();
let market = undefined;
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/delta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2871,7 +2871,7 @@ class delta extends delta$1 {
* @param {int} [since] timestamp in ms
* @param {int} [limit] number of records
* @param {object} [params] exchange specific params
* @returns {object[]} a list of [settlement history objects]
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
await this.loadMarkets();
let market = undefined;
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/gate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5803,7 +5803,7 @@ class gate extends gate$1 {
* @param {int} [since] timestamp in ms
* @param {int} [limit] number of records
* @param {object} [params] exchange specific params
* @returns {object[]} a list of [settlement history objects]
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
this.checkRequiredSymbol('fetchSettlementHistory', symbol);
await this.loadMarkets();
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/huobi.js
Original file line number Diff line number Diff line change
Expand Up @@ -7856,7 +7856,7 @@ class huobi extends huobi$1 {
* @param {int} [params.until] timestamp in ms, value range = start_time -> current time,default = current time
* @param {int} [params.page_index] page index, default page 1 if not filled
* @param {int} [params.code] unified currency code, can be used when symbol is undefined
* @returns A list of settlement history objects
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
const code = this.safeString(params, 'code');
const until = this.safeInteger2(params, 'until', 'till');
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/okx.js
Original file line number Diff line number Diff line change
Expand Up @@ -6612,7 +6612,7 @@ class okx extends okx$1 {
* @param {int} [since] timestamp in ms
* @param {int} [limit] number of records
* @param {object} [params] exchange specific params
* @returns {object[]} a list of [settlement history objects]
* @returns {object[]} a list of [settlement history objects]{@link https://github.com/ccxt/ccxt/wiki/Manual#settlement-history-structure}
*/
this.checkRequiredSymbol('fetchSettlementHistory', symbol);
await this.loadMarkets();
Expand Down
Loading

0 comments on commit 85386de

Please sign in to comment.