@myx-trade/sdk 0.1.30 → 0.1.31
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 +4 -1
- package/dist/index.mjs +4 -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.31",
|
|
1831
1831
|
private: false,
|
|
1832
1832
|
publishConfig: {
|
|
1833
1833
|
access: "public"
|
|
@@ -11462,10 +11462,13 @@ var MyxWebSocketClient = class {
|
|
|
11462
11462
|
*/
|
|
11463
11463
|
subscribe(subscription, callback) {
|
|
11464
11464
|
const subscriptionList = Array.isArray(subscription) ? subscription : [subscription];
|
|
11465
|
+
console.log("sinscribes:", subscriptionList);
|
|
11466
|
+
this.logger.debug("subscriptionList:", subscriptionList);
|
|
11465
11467
|
const newSubscriptionIds = [];
|
|
11466
11468
|
const processedIds = /* @__PURE__ */ new Set();
|
|
11467
11469
|
subscriptionList.forEach((subscriptionItem) => {
|
|
11468
11470
|
const subscriptionId = generateListenerId(subscriptionItem);
|
|
11471
|
+
this.logger.debug("subscriptionId:", subscriptionId);
|
|
11469
11472
|
if (processedIds.has(subscriptionId)) {
|
|
11470
11473
|
return;
|
|
11471
11474
|
}
|
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.31",
|
|
1746
1746
|
private: false,
|
|
1747
1747
|
publishConfig: {
|
|
1748
1748
|
access: "public"
|
|
@@ -11377,10 +11377,13 @@ var MyxWebSocketClient = class {
|
|
|
11377
11377
|
*/
|
|
11378
11378
|
subscribe(subscription, callback) {
|
|
11379
11379
|
const subscriptionList = Array.isArray(subscription) ? subscription : [subscription];
|
|
11380
|
+
console.log("sinscribes:", subscriptionList);
|
|
11381
|
+
this.logger.debug("subscriptionList:", subscriptionList);
|
|
11380
11382
|
const newSubscriptionIds = [];
|
|
11381
11383
|
const processedIds = /* @__PURE__ */ new Set();
|
|
11382
11384
|
subscriptionList.forEach((subscriptionItem) => {
|
|
11383
11385
|
const subscriptionId = generateListenerId(subscriptionItem);
|
|
11386
|
+
this.logger.debug("subscriptionId:", subscriptionId);
|
|
11384
11387
|
if (processedIds.has(subscriptionId)) {
|
|
11385
11388
|
return;
|
|
11386
11389
|
}
|