ccxt 4.4.62 → 4.4.64

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.
@@ -2703,12 +2703,10 @@ export default class whitebit extends Exchange {
2703
2703
  }
2704
2704
  if (accessibility === 'private') {
2705
2705
  this.checkRequiredCredentials();
2706
- const nonce = this.nonce();
2707
- const timestamp = this.parseToInt(nonce / 1000);
2708
- const timestampString = timestamp.toString();
2706
+ const nonce = this.nonce().toString();
2709
2707
  const secret = this.encode(this.secret);
2710
2708
  const request = '/' + 'api' + '/' + version + pathWithParams;
2711
- body = this.json(this.extend({ 'request': request, 'nonce': timestampString }, params));
2709
+ body = this.json(this.extend({ 'request': request, 'nonce': nonce }, params));
2712
2710
  const payload = this.stringToBase64(body);
2713
2711
  const signature = this.hmac(this.encode(payload), secret, sha512);
2714
2712
  headers = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.4.62",
3
+ "version": "4.4.64",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.min.js",
6
6
  "type": "module",