@drift-labs/sdk 2.100.0-beta.4 → 2.100.0-beta.5

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.100.0-beta.4
1
+ 2.100.0-beta.5
@@ -13,7 +13,8 @@ export declare enum ExchangeStatus {
13
13
  LIQ_PAUSED = 16,
14
14
  FUNDING_PAUSED = 32,
15
15
  SETTLE_PNL_PAUSED = 64,
16
- PAUSED = 127
16
+ AMM_IMMEDIATE_FILL_PAUSED = 128,
17
+ PAUSED = 255
17
18
  }
18
19
  export declare class MarketStatus {
19
20
  static readonly INITIALIZED: {
@@ -13,7 +13,8 @@ var ExchangeStatus;
13
13
  ExchangeStatus[ExchangeStatus["LIQ_PAUSED"] = 16] = "LIQ_PAUSED";
14
14
  ExchangeStatus[ExchangeStatus["FUNDING_PAUSED"] = 32] = "FUNDING_PAUSED";
15
15
  ExchangeStatus[ExchangeStatus["SETTLE_PNL_PAUSED"] = 64] = "SETTLE_PNL_PAUSED";
16
- ExchangeStatus[ExchangeStatus["PAUSED"] = 127] = "PAUSED";
16
+ ExchangeStatus[ExchangeStatus["AMM_IMMEDIATE_FILL_PAUSED"] = 128] = "AMM_IMMEDIATE_FILL_PAUSED";
17
+ ExchangeStatus[ExchangeStatus["PAUSED"] = 255] = "PAUSED";
17
18
  })(ExchangeStatus = exports.ExchangeStatus || (exports.ExchangeStatus = {}));
18
19
  class MarketStatus {
19
20
  }
@@ -13,7 +13,8 @@ export declare enum ExchangeStatus {
13
13
  LIQ_PAUSED = 16,
14
14
  FUNDING_PAUSED = 32,
15
15
  SETTLE_PNL_PAUSED = 64,
16
- PAUSED = 127
16
+ AMM_IMMEDIATE_FILL_PAUSED = 128,
17
+ PAUSED = 255
17
18
  }
18
19
  export declare class MarketStatus {
19
20
  static readonly INITIALIZED: {
package/lib/node/types.js CHANGED
@@ -13,7 +13,8 @@ var ExchangeStatus;
13
13
  ExchangeStatus[ExchangeStatus["LIQ_PAUSED"] = 16] = "LIQ_PAUSED";
14
14
  ExchangeStatus[ExchangeStatus["FUNDING_PAUSED"] = 32] = "FUNDING_PAUSED";
15
15
  ExchangeStatus[ExchangeStatus["SETTLE_PNL_PAUSED"] = 64] = "SETTLE_PNL_PAUSED";
16
- ExchangeStatus[ExchangeStatus["PAUSED"] = 127] = "PAUSED";
16
+ ExchangeStatus[ExchangeStatus["AMM_IMMEDIATE_FILL_PAUSED"] = 128] = "AMM_IMMEDIATE_FILL_PAUSED";
17
+ ExchangeStatus[ExchangeStatus["PAUSED"] = 255] = "PAUSED";
17
18
  })(ExchangeStatus = exports.ExchangeStatus || (exports.ExchangeStatus = {}));
18
19
  class MarketStatus {
19
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.100.0-beta.4",
3
+ "version": "2.100.0-beta.5",
4
4
  "main": "lib/node/index.js",
5
5
  "types": "lib/node/index.d.ts",
6
6
  "browser": "./lib/browser/index.js",
package/src/types.ts CHANGED
@@ -22,7 +22,8 @@ export enum ExchangeStatus {
22
22
  LIQ_PAUSED = 16,
23
23
  FUNDING_PAUSED = 32,
24
24
  SETTLE_PNL_PAUSED = 64,
25
- PAUSED = 127,
25
+ AMM_IMMEDIATE_FILL_PAUSED = 128,
26
+ PAUSED = 255,
26
27
  }
27
28
 
28
29
  export class MarketStatus {