@gainsnetwork/sdk 0.2.45-rc1 → 0.2.46

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.
@@ -312,6 +312,8 @@ export declare const pairs: {
312
312
  "CHILLGUY/USD": string;
313
313
  "CHEX/USD": string;
314
314
  "BITCOIN/USD": string;
315
+ "ETHDEGEN/USD": string;
316
+ "SOLDEGEN/USD": string;
315
317
  };
316
318
  export declare const syntheticPairs: Set<string>;
317
319
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -320,9 +320,19 @@ exports.pairs = {
320
320
  "CHILLGUY/USD": CRYPTO,
321
321
  "CHEX/USD": CRYPTO,
322
322
  "BITCOIN/USD": CRYPTO,
323
+ "ETHDEGEN/USD": CRYPTO,
324
+ "SOLDEGEN/USD": CRYPTO,
323
325
  };
324
- exports.syntheticPairs = new Set(["BTCDEGEN/USD"]);
325
- exports.parentToSyntheticPairMap = new Map([["BTC/USD", "BTCDEGEN/USD"]]);
326
+ exports.syntheticPairs = new Set([
327
+ "BTCDEGEN/USD",
328
+ "ETHDEGEN/USD",
329
+ "SOLDEGEN/USD",
330
+ ]);
331
+ exports.parentToSyntheticPairMap = new Map([
332
+ ["BTC/USD", "BTCDEGEN/USD"],
333
+ ["ETH/USD", "ETHDEGEN/USD"],
334
+ ["SOL/USD", "SOLDEGEN/USD"],
335
+ ]);
326
336
  const getAssetClassFromGroupIndex = (groupIndex) => {
327
337
  switch (groupIndex) {
328
338
  case 0:
@@ -418,4 +418,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
418
418
  [types_1.PairIndex.CHILLGUYUSD]: "Just a chill guy to US Dollar",
419
419
  [types_1.PairIndex.CHEXUSD]: "CHEX to US Dollar",
420
420
  [types_1.PairIndex.BITCOINUSD]: "HarryPotterObamaSonic10Inu to US Dollar",
421
+ [types_1.PairIndex.ETHDEGEN]: "Ethereum to US Dollar",
422
+ [types_1.PairIndex.SOLDEGEN]: "Solana to US Dollar",
421
423
  };
@@ -531,5 +531,7 @@ export declare enum PairIndex {
531
531
  ACXUSD = 309,
532
532
  CHILLGUYUSD = 310,
533
533
  CHEXUSD = 311,
534
- BITCOINUSD = 312
534
+ BITCOINUSD = 312,
535
+ ETHDEGEN = 313,
536
+ SOLDEGEN = 314
535
537
  }
@@ -342,4 +342,6 @@ var PairIndex;
342
342
  PairIndex[PairIndex["CHILLGUYUSD"] = 310] = "CHILLGUYUSD";
343
343
  PairIndex[PairIndex["CHEXUSD"] = 311] = "CHEXUSD";
344
344
  PairIndex[PairIndex["BITCOINUSD"] = 312] = "BITCOINUSD";
345
+ PairIndex[PairIndex["ETHDEGEN"] = 313] = "ETHDEGEN";
346
+ PairIndex[PairIndex["SOLDEGEN"] = 314] = "SOLDEGEN";
345
347
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.45-rc1",
3
+ "version": "0.2.46",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [