@drift-labs/sdk 2.82.0-beta.17 → 2.82.0-beta.19

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.82.0-beta.17
1
+ 2.82.0-beta.19
@@ -197,6 +197,17 @@ exports.MainnetSpotMarkets = [
197
197
  phoenixMarket: new web3_js_1.PublicKey('AbJCZ9TAJiby5AY3cHcXS2gUdENC6mtsm6m7XpC2ZMvE'),
198
198
  launchTs: 1712593532000,
199
199
  },
200
+ {
201
+ symbol: 'DRIFT',
202
+ marketIndex: 15,
203
+ oracle: new web3_js_1.PublicKey('PeNpQeGEm9UEFJ6MBCMauY4WW4h3YxoESPWbsqVKucE'),
204
+ oracleSource: __1.OracleSource.SWITCHBOARD,
205
+ mint: new web3_js_1.PublicKey('DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7'),
206
+ precision: new __1.BN(10).pow(numericConstants_1.SIX),
207
+ precisionExp: numericConstants_1.SIX,
208
+ phoenixMarket: new web3_js_1.PublicKey('8BV6rrWsUabnTDA3dE6A69oUDJAj3hMhtBHTJyXB7czp'),
209
+ launchTs: 1715860800000,
210
+ },
200
211
  ];
201
212
  exports.SpotMarkets = {
202
213
  devnet: exports.DevnetSpotMarkets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.82.0-beta.17",
3
+ "version": "2.82.0-beta.19",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -240,6 +240,19 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
240
240
  ),
241
241
  launchTs: 1712593532000,
242
242
  },
243
+ {
244
+ symbol: 'DRIFT',
245
+ marketIndex: 15,
246
+ oracle: new PublicKey('PeNpQeGEm9UEFJ6MBCMauY4WW4h3YxoESPWbsqVKucE'),
247
+ oracleSource: OracleSource.SWITCHBOARD,
248
+ mint: new PublicKey('DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7'),
249
+ precision: new BN(10).pow(SIX),
250
+ precisionExp: SIX,
251
+ phoenixMarket: new PublicKey(
252
+ '8BV6rrWsUabnTDA3dE6A69oUDJAj3hMhtBHTJyXB7czp'
253
+ ),
254
+ launchTs: 1715860800000,
255
+ },
243
256
  ];
244
257
 
245
258
  export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
@@ -350,6 +350,7 @@ export const mockSpotMarkets: Array<SpotMarketAccount> = [
350
350
  lastIndexPriceTwapTs: new BN(0),
351
351
  },
352
352
  pausedOperations: 0,
353
+ ifPausedOperations: 0,
353
354
  },
354
355
  {
355
356
  status: MarketStatus.ACTIVE,
@@ -432,6 +433,7 @@ export const mockSpotMarkets: Array<SpotMarketAccount> = [
432
433
  lastIndexPriceTwapTs: new BN(0),
433
434
  },
434
435
  pausedOperations: 0,
436
+ ifPausedOperations: 0,
435
437
  },
436
438
  {
437
439
  status: MarketStatus.ACTIVE,
@@ -514,6 +516,7 @@ export const mockSpotMarkets: Array<SpotMarketAccount> = [
514
516
  lastIndexPriceTwapTs: new BN(0),
515
517
  },
516
518
  pausedOperations: 0,
519
+ ifPausedOperations: 0,
517
520
  },
518
521
  ];
519
522