@myx-trade/sdk 0.1.31 → 0.1.32
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/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1827,7 +1827,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1827
1827
|
// package.json
|
|
1828
1828
|
var package_default = {
|
|
1829
1829
|
name: "@myx-trade/sdk",
|
|
1830
|
-
version: "0.1.
|
|
1830
|
+
version: "0.1.32",
|
|
1831
1831
|
private: false,
|
|
1832
1832
|
publishConfig: {
|
|
1833
1833
|
access: "public"
|
|
@@ -11848,6 +11848,7 @@ var SubScription = class {
|
|
|
11848
11848
|
*/
|
|
11849
11849
|
async auth(isReconnect = false) {
|
|
11850
11850
|
const token = await this.getAccessToken();
|
|
11851
|
+
this.logger.debug("new access token-->", token, "prevAccessToken-->", this.prevAccessToken, "clientAuth-->", this.clientAuth, "isReconnect-->", isReconnect);
|
|
11851
11852
|
if (token === this.prevAccessToken && this.clientAuth && !isReconnect) {
|
|
11852
11853
|
return Promise.resolve();
|
|
11853
11854
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1742,7 +1742,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1742
1742
|
// package.json
|
|
1743
1743
|
var package_default = {
|
|
1744
1744
|
name: "@myx-trade/sdk",
|
|
1745
|
-
version: "0.1.
|
|
1745
|
+
version: "0.1.32",
|
|
1746
1746
|
private: false,
|
|
1747
1747
|
publishConfig: {
|
|
1748
1748
|
access: "public"
|
|
@@ -11763,6 +11763,7 @@ var SubScription = class {
|
|
|
11763
11763
|
*/
|
|
11764
11764
|
async auth(isReconnect = false) {
|
|
11765
11765
|
const token = await this.getAccessToken();
|
|
11766
|
+
this.logger.debug("new access token-->", token, "prevAccessToken-->", this.prevAccessToken, "clientAuth-->", this.clientAuth, "isReconnect-->", isReconnect);
|
|
11766
11767
|
if (token === this.prevAccessToken && this.clientAuth && !isReconnect) {
|
|
11767
11768
|
return Promise.resolve();
|
|
11768
11769
|
}
|