@gainsnetwork/sdk 0.2.33-rc1 → 0.2.33-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.
@@ -25,7 +25,9 @@ const getProtectionCloseFactor = (spreadCtx) => {
25
25
  };
26
26
  exports.getProtectionCloseFactor = getProtectionCloseFactor;
27
27
  const getCumulativeFactor = (spreadCtx) => {
28
- if (spreadCtx === undefined || spreadCtx.cumulativeFactor === undefined || spreadCtx.cumulativeFactor === 0) {
28
+ if (spreadCtx === undefined ||
29
+ spreadCtx.cumulativeFactor === undefined ||
30
+ spreadCtx.cumulativeFactor === 0) {
29
31
  return constants_1.DEFAULT_CUMULATIVE_FACTOR;
30
32
  }
31
33
  return spreadCtx.cumulativeFactor;
@@ -176,11 +176,14 @@ export type TraderFeeTiers = {
176
176
  outboundPoints: number;
177
177
  lastDayUpdatedPoints: number;
178
178
  expiredPoints: number[];
179
+ unclaimedPoints: number;
179
180
  };
180
181
  export type PairFactor = {
181
182
  cumulativeFactor: number;
182
183
  protectionCloseFactor: number;
183
184
  protectionCloseFactorBlocks: number;
185
+ exemptOnOpen: boolean;
186
+ exemptAfterProtectionCloseFactor: boolean;
184
187
  };
185
188
  export declare enum PendingOrderType {
186
189
  MARKET_OPEN = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "0.2.33-rc1",
3
+ "version": "0.2.33-rc2",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [