Skip to content

Commit

Permalink
Merge pull request #16205 from pcriadoperez/php-future
Browse files Browse the repository at this point in the history
php - authenticated websockets
  • Loading branch information
frosty00 committed Dec 26, 2022
2 parents f8d5679 + 5f4def6 commit 4b68d43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/pro/exmo.js
Expand Up @@ -649,14 +649,14 @@ module.exports = class exmo extends exmoRest {
}

async authenticate (params = {}) {
const messageHash = 'authenticated';
const [ type, query ] = this.handleMarketTypeAndParams ('authenticate', undefined, params);
const url = this.urls['api']['ws'][type];
const client = this.client (url);
const time = this.milliseconds ();
const messageHash = 'authenticated';
const future = client.future ('authenticated');
const authenticated = this.safeValue (client.subscriptions, messageHash);
if (authenticated === undefined) {
const time = this.milliseconds ();
this.checkRequiredCredentials ();
const requestId = this.requestId ();
const signData = this.apiKey + time.toString ();
Expand Down
2 changes: 1 addition & 1 deletion php/pro/Client.php

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

2 changes: 1 addition & 1 deletion php/pro/ClientTrait.php

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

0 comments on commit 4b68d43

Please sign in to comment.