@myx-trade/sdk 0.1.29 → 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.d.mts CHANGED
@@ -423,6 +423,7 @@ interface SearchResultContractItem {
423
423
  priceChange: string;
424
424
  tvl: string;
425
425
  marketCap: string;
426
+ globalId: number;
426
427
  }
427
428
  interface SearchResultCookItem {
428
429
  chainId: ChainId;
@@ -437,6 +438,7 @@ interface SearchResultCookItem {
437
438
  marketCap: string;
438
439
  lpPrice: string;
439
440
  lpPriceChange: string;
441
+ globalId: number;
440
442
  }
441
443
  interface SearchResultEarnItem {
442
444
  chainId: ChainId;
@@ -451,6 +453,7 @@ interface SearchResultEarnItem {
451
453
  tvl: string;
452
454
  marketCap: string;
453
455
  apr: string;
456
+ globalId: number;
454
457
  }
455
458
  interface SearchResultResponse {
456
459
  earnInfo: {
package/dist/index.d.ts CHANGED
@@ -423,6 +423,7 @@ interface SearchResultContractItem {
423
423
  priceChange: string;
424
424
  tvl: string;
425
425
  marketCap: string;
426
+ globalId: number;
426
427
  }
427
428
  interface SearchResultCookItem {
428
429
  chainId: ChainId;
@@ -437,6 +438,7 @@ interface SearchResultCookItem {
437
438
  marketCap: string;
438
439
  lpPrice: string;
439
440
  lpPriceChange: string;
441
+ globalId: number;
440
442
  }
441
443
  interface SearchResultEarnItem {
442
444
  chainId: ChainId;
@@ -451,6 +453,7 @@ interface SearchResultEarnItem {
451
453
  tvl: string;
452
454
  marketCap: string;
453
455
  apr: string;
456
+ globalId: number;
454
457
  }
455
458
  interface SearchResultResponse {
456
459
  earnInfo: {
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.29",
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.29",
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myx-trade/sdk",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"