@gainsnetwork/sdk 1.8.8 → 1.8.10

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.
@@ -451,6 +451,8 @@ export declare const pairs: {
451
451
  "NATGAS/USD": string;
452
452
  "BRENT/USD": string;
453
453
  "URNM/USD": string;
454
+ "HYPEDEGEN/USD": string;
455
+ "MEGA/USD": string;
454
456
  };
455
457
  export declare const syntheticPairs: Set<string>;
456
458
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -459,6 +459,8 @@ exports.pairs = {
459
459
  "NATGAS/USD": COMMODITIES,
460
460
  "BRENT/USD": COMMODITIES,
461
461
  "URNM/USD": INDICES,
462
+ "HYPEDEGEN/USD": CRYPTO,
463
+ "MEGA/USD": CRYPTO,
462
464
  };
463
465
  exports.syntheticPairs = new Set([
464
466
  "BTCDEGEN/USD",
@@ -466,6 +468,7 @@ exports.syntheticPairs = new Set([
466
468
  "SOLDEGEN/USD",
467
469
  "XRPDEGEN/USD",
468
470
  "BNBDEGEN/USD",
471
+ "HYPEDEGEN/USD",
469
472
  ]);
470
473
  exports.parentToSyntheticPairMap = new Map([
471
474
  ["BTC/USD", "BTCDEGEN/USD"],
@@ -473,6 +476,7 @@ exports.parentToSyntheticPairMap = new Map([
473
476
  ["SOL/USD", "SOLDEGEN/USD"],
474
477
  ["XRP/USD", "XRPDEGEN/USD"],
475
478
  ["BNB/USD", "BNBDEGEN/USD"],
479
+ ["HYPE/USD", "HYPEDEGEN/USD"],
476
480
  ]);
477
481
  const getAssetClassFromGroupIndex = (groupIndex) => {
478
482
  switch (groupIndex) {
@@ -605,4 +605,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
605
605
  [types_1.PairIndex.NATGASUSD]: "Natural Gas to US Dollar",
606
606
  [types_1.PairIndex.BRENTUSD]: "Brent Crude Oil to US Dollar",
607
607
  [types_1.PairIndex.URNMUSD]: "Sprott Uranium Miners ETF to US Dollar",
608
+ [types_1.PairIndex.HYPEDEGEN]: "Hyperliquid to US Dollar",
609
+ [types_1.PairIndex.MEGA]: "MegaETH to US Dollar",
608
610
  };
@@ -779,5 +779,7 @@ export declare enum PairIndex {
779
779
  WPMUSD = 448,
780
780
  NATGASUSD = 449,
781
781
  BRENTUSD = 450,
782
- URNMUSD = 451
782
+ URNMUSD = 451,
783
+ HYPEDEGEN = 452,
784
+ MEGA = 453
783
785
  }
@@ -481,4 +481,6 @@ var PairIndex;
481
481
  PairIndex[PairIndex["NATGASUSD"] = 449] = "NATGASUSD";
482
482
  PairIndex[PairIndex["BRENTUSD"] = 450] = "BRENTUSD";
483
483
  PairIndex[PairIndex["URNMUSD"] = 451] = "URNMUSD";
484
+ PairIndex[PairIndex["HYPEDEGEN"] = 452] = "HYPEDEGEN";
485
+ PairIndex[PairIndex["MEGA"] = 453] = "MEGA";
484
486
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "1.8.8",
3
+ "version": "1.8.10",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [