@gainsnetwork/sdk 0.2.50-rc1 → 0.2.50-rc2

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.
@@ -325,6 +325,8 @@ export declare const pairs: {
325
325
  "AI16Z/USD": string;
326
326
  "AIXBT/USD": string;
327
327
  "BIO/USD": string;
328
+ "XRPDEGEN/USD": string;
329
+ "BNBDEGEN/USD": string;
328
330
  };
329
331
  export declare const syntheticPairs: Set<string>;
330
332
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -333,16 +333,22 @@ exports.pairs = {
333
333
  "AI16Z/USD": CRYPTO,
334
334
  "AIXBT/USD": CRYPTO,
335
335
  "BIO/USD": CRYPTO,
336
+ "XRPDEGEN/USD": CRYPTO,
337
+ "BNBDEGEN/USD": CRYPTO,
336
338
  };
337
339
  exports.syntheticPairs = new Set([
338
340
  "BTCDEGEN/USD",
339
341
  "ETHDEGEN/USD",
340
342
  "SOLDEGEN/USD",
343
+ "XRPDEGEN/USD",
344
+ "BNBDEGEN/USD",
341
345
  ]);
342
346
  exports.parentToSyntheticPairMap = new Map([
343
347
  ["BTC/USD", "BTCDEGEN/USD"],
344
348
  ["ETH/USD", "ETHDEGEN/USD"],
345
349
  ["SOL/USD", "SOLDEGEN/USD"],
350
+ ["XRP/USD", "XRPDEGEN/USD"],
351
+ ["BNB/USD", "BNBDEGEN/USD"],
346
352
  ]);
347
353
  const getAssetClassFromGroupIndex = (groupIndex) => {
348
354
  switch (groupIndex) {
@@ -380,6 +386,7 @@ exports.delistedPairIxs = new Set([
380
386
  71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
381
387
  97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
382
388
  15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 320, 321, 322, 323, 324, 325,
389
+ 326, 327,
383
390
  ]);
384
391
  exports.delistedGroupsIxs = new Set([6, 7]);
385
392
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
@@ -431,4 +431,6 @@ const PAIR_INDEX_TO_DESCRIPTION = {
431
431
  [types_1.PairIndex.AI16ZUSD]: "ai16z to US Dollar",
432
432
  [types_1.PairIndex.AIXBTUSD]: "aixbt by Virtuals to US Dollar",
433
433
  [types_1.PairIndex.BIOUSD]: "Bio Protocol to US Dollar",
434
+ [types_1.PairIndex.XRPDEGEN]: "Ripple to US Dollar",
435
+ [types_1.PairIndex.BNBDEGEN]: "Binance Coin to US Dollar",
434
436
  };
@@ -544,5 +544,7 @@ export declare enum PairIndex {
544
544
  ZEREBROUSD = 322,
545
545
  AI16ZUSD = 323,
546
546
  AIXBTUSD = 324,
547
- BIOUSD = 325
547
+ BIOUSD = 325,
548
+ XRPDEGEN = 326,
549
+ BNBDEGEN = 327
548
550
  }
@@ -355,4 +355,6 @@ var PairIndex;
355
355
  PairIndex[PairIndex["AI16ZUSD"] = 323] = "AI16ZUSD";
356
356
  PairIndex[PairIndex["AIXBTUSD"] = 324] = "AIXBTUSD";
357
357
  PairIndex[PairIndex["BIOUSD"] = 325] = "BIOUSD";
358
+ PairIndex[PairIndex["XRPDEGEN"] = 326] = "XRPDEGEN";
359
+ PairIndex[PairIndex["BNBDEGEN"] = 327] = "BNBDEGEN";
358
360
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.50-rc1",
3
+ "version": "0.2.50-rc2",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [