ccxt-ir 4.9.15 → 4.9.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/abantether.js +2 -2
- package/dist/cjs/src/hamtapay.js +4 -1
- package/dist/cjs/src/sarmayex.js +367 -366
- package/dist/cjs/src/toobit.js +436 -382
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abantether.js +2 -2
- package/js/src/abstract/toobit.d.ts +10 -9
- package/js/src/hamtapay.js +4 -1
- package/js/src/sarmayex.js +370 -369
- package/js/src/toobit.js +439 -385
- package/package.json +1 -1
package/dist/cjs/ccxt.js
CHANGED
|
@@ -233,7 +233,7 @@ var xt$1 = require('./src/pro/xt.js');
|
|
|
233
233
|
|
|
234
234
|
//-----------------------------------------------------------------------------
|
|
235
235
|
// this is updated by vss.js when building
|
|
236
|
-
const version = '4.9.
|
|
236
|
+
const version = '4.9.16';
|
|
237
237
|
Exchange["default"].ccxtVersion = version;
|
|
238
238
|
const exchanges = {
|
|
239
239
|
'abantether': abantether["default"],
|
|
@@ -191,8 +191,8 @@ class abantether extends abantether$1["default"] {
|
|
|
191
191
|
'baseId': baseId,
|
|
192
192
|
'quoteId': quoteId,
|
|
193
193
|
'settleId': undefined,
|
|
194
|
-
'type': '
|
|
195
|
-
'spot':
|
|
194
|
+
'type': 'otc',
|
|
195
|
+
'spot': false,
|
|
196
196
|
'margin': false,
|
|
197
197
|
'swap': false,
|
|
198
198
|
'future': false,
|
package/dist/cjs/src/hamtapay.js
CHANGED
|
@@ -293,7 +293,10 @@ class hamtapay extends hamtapay$1["default"] {
|
|
|
293
293
|
}
|
|
294
294
|
sign(path, api = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
|
|
295
295
|
const url = this.urls['api']['public'] + '/' + path;
|
|
296
|
-
headers = {
|
|
296
|
+
headers = {
|
|
297
|
+
'Content-Type': 'application/json',
|
|
298
|
+
'Origin': 'https://hamtapay.net',
|
|
299
|
+
};
|
|
297
300
|
return { 'url': url, 'method': method, 'body': body, 'headers': headers };
|
|
298
301
|
}
|
|
299
302
|
}
|