@drift-labs/sdk 2.87.0-beta.1 → 2.87.0-beta.3

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.87.0-beta.1
1
+ 2.87.0-beta.3
@@ -484,9 +484,7 @@ class AdminClient extends driftClient_1.DriftClient {
484
484
  netUnsettledFundingPnl: netUnsettledFundingPnl !== null && netUnsettledFundingPnl !== void 0 ? netUnsettledFundingPnl : null,
485
485
  }, {
486
486
  accounts: {
487
- admin: this.isSubscribed
488
- ? this.getStateAccount().admin
489
- : this.wallet.publicKey,
487
+ admin: this.wallet.publicKey,
490
488
  state: await this.getStatePublicKey(),
491
489
  perpMarket: await (0, pda_1.getPerpMarketPublicKey)(this.program.programId, perpMarketIndex),
492
490
  spotMarket: await (0, pda_1.getSpotMarketPublicKey)(this.program.programId, numericConstants_1.QUOTE_SPOT_MARKET_INDEX),
@@ -425,15 +425,15 @@ exports.MainnetPerpMarkets = [
425
425
  pythFeedId: '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
426
426
  },
427
427
  {
428
- fullName: 'RNDR',
428
+ fullName: 'RENDER',
429
429
  category: ['Infra', 'Solana'],
430
- symbol: 'RNDR-PERP',
431
- baseAssetSymbol: 'RNDR',
430
+ symbol: 'RENDER-PERP',
431
+ baseAssetSymbol: 'RENDER',
432
432
  marketIndex: 12,
433
- oracle: new web3_js_1.PublicKey('F3mPHRtJqqq57JPDBmUwUVhpyPLmjE5dAzDfpVgpFkug'),
433
+ oracle: new web3_js_1.PublicKey('8TQztfGcNjHGRusX4ejQQtPZs3Ypczt9jWF6pkgQMqUX'),
434
434
  launchTs: 1687201081000,
435
435
  oracleSource: __1.OracleSource.PYTH_PULL,
436
- pythFeedId: '0xab7347771135fc733f8f38db462ba085ed3309955f42554a14fa13e855ac0e2f',
436
+ pythFeedId: '0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d',
437
437
  },
438
438
  {
439
439
  fullName: 'XRP',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.87.0-beta.1",
3
+ "version": "2.87.0-beta.3",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -1115,9 +1115,7 @@ export class AdminClient extends DriftClient {
1115
1115
  },
1116
1116
  {
1117
1117
  accounts: {
1118
- admin: this.isSubscribed
1119
- ? this.getStateAccount().admin
1120
- : this.wallet.publicKey,
1118
+ admin: this.wallet.publicKey,
1121
1119
  state: await this.getStatePublicKey(),
1122
1120
  perpMarket: await getPerpMarketPublicKey(
1123
1121
  this.program.programId,
@@ -475,16 +475,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
475
475
  '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
476
476
  },
477
477
  {
478
- fullName: 'RNDR',
478
+ fullName: 'RENDER',
479
479
  category: ['Infra', 'Solana'],
480
- symbol: 'RNDR-PERP',
481
- baseAssetSymbol: 'RNDR',
480
+ symbol: 'RENDER-PERP',
481
+ baseAssetSymbol: 'RENDER',
482
482
  marketIndex: 12,
483
- oracle: new PublicKey('F3mPHRtJqqq57JPDBmUwUVhpyPLmjE5dAzDfpVgpFkug'),
483
+ oracle: new PublicKey('8TQztfGcNjHGRusX4ejQQtPZs3Ypczt9jWF6pkgQMqUX'),
484
484
  launchTs: 1687201081000,
485
485
  oracleSource: OracleSource.PYTH_PULL,
486
486
  pythFeedId:
487
- '0xab7347771135fc733f8f38db462ba085ed3309955f42554a14fa13e855ac0e2f',
487
+ '0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d',
488
488
  },
489
489
  {
490
490
  fullName: 'XRP',