@gainsnetwork/sdk 0.2.5-rc3 → 0.2.7-rc1

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.
@@ -239,6 +239,13 @@ export declare const pairs: {
239
239
  "ZK/USD": string;
240
240
  "LISTA/USD": string;
241
241
  "BLAST/USD": string;
242
+ "RATS/USD": string;
243
+ "BNX/USD": string;
244
+ "PEOPLE/USD": string;
245
+ "TURBO/USD": string;
246
+ "SATS/USD": string;
247
+ "POPCAT/USD": string;
248
+ "MOG/USD": string;
242
249
  };
243
250
  export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
244
251
  export declare const tickerChanges: {
package/lib/constants.js CHANGED
@@ -247,6 +247,13 @@ exports.pairs = {
247
247
  "ZK/USD": CRYPTO,
248
248
  "LISTA/USD": CRYPTO,
249
249
  "BLAST/USD": CRYPTO,
250
+ "RATS/USD": CRYPTO,
251
+ "BNX/USD": CRYPTO,
252
+ "PEOPLE/USD": CRYPTO,
253
+ "TURBO/USD": CRYPTO,
254
+ "SATS/USD": CRYPTO,
255
+ "POPCAT/USD": CRYPTO,
256
+ "MOG/USD": CRYPTO,
250
257
  };
251
258
  const getAssetClassFromGroupIndex = (groupIndex) => {
252
259
  switch (groupIndex) {
@@ -345,4 +345,11 @@ const PAIR_INDEX_TO_DESCRIPTION = {
345
345
  [types_1.PairIndex.ZKUSD]: "ZKsync to US Dollar",
346
346
  [types_1.PairIndex.LISTAUSD]: "Lista DAO to US Dollar",
347
347
  [types_1.PairIndex.BLASTUSD]: "Blast to US Dollar",
348
+ [types_1.PairIndex.RATSUSD]: "Rats to US Dollar",
349
+ [types_1.PairIndex.BNXUSD]: "BinaryX to US Dollar",
350
+ [types_1.PairIndex.PEOPLEUSD]: "Constitution DAO to US Dollar",
351
+ [types_1.PairIndex.TURBOUSD]: "Turbo to US Dollar",
352
+ [types_1.PairIndex.SATSUSD]: "SATS Ordinals to US Dollar",
353
+ [types_1.PairIndex.POPCATUSD]: "Popcat to US Dollar",
354
+ [types_1.PairIndex.MOGUSD]: "Mog Coin to US Dollar",
348
355
  };
@@ -74,6 +74,9 @@ export type TradeHistoryRecord = {
74
74
  price: number;
75
75
  size: number;
76
76
  tx: string;
77
+ collateralDelta: number | null;
78
+ leverageDelta: number | null;
79
+ marketPrice: number | null;
77
80
  };
78
81
  export type MarketOrder = {
79
82
  trader: string;
@@ -426,5 +429,12 @@ export declare enum PairIndex {
426
429
  ZROUSD = 236,
427
430
  ZKUSD = 237,
428
431
  LISTAUSD = 238,
429
- BLASTUSD = 239
432
+ BLASTUSD = 239,
433
+ RATSUSD = 240,
434
+ BNXUSD = 241,
435
+ PEOPLEUSD = 242,
436
+ TURBOUSD = 243,
437
+ SATSUSD = 244,
438
+ POPCATUSD = 245,
439
+ MOGUSD = 246
430
440
  }
@@ -269,4 +269,11 @@ var PairIndex;
269
269
  PairIndex[PairIndex["ZKUSD"] = 237] = "ZKUSD";
270
270
  PairIndex[PairIndex["LISTAUSD"] = 238] = "LISTAUSD";
271
271
  PairIndex[PairIndex["BLASTUSD"] = 239] = "BLASTUSD";
272
+ PairIndex[PairIndex["RATSUSD"] = 240] = "RATSUSD";
273
+ PairIndex[PairIndex["BNXUSD"] = 241] = "BNXUSD";
274
+ PairIndex[PairIndex["PEOPLEUSD"] = 242] = "PEOPLEUSD";
275
+ PairIndex[PairIndex["TURBOUSD"] = 243] = "TURBOUSD";
276
+ PairIndex[PairIndex["SATSUSD"] = 244] = "SATSUSD";
277
+ PairIndex[PairIndex["POPCATUSD"] = 245] = "POPCATUSD";
278
+ PairIndex[PairIndex["MOGUSD"] = 246] = "MOGUSD";
272
279
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.5-rc3",
3
+ "version": "0.2.7-rc1",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [