@drift-labs/sdk 2.39.1-beta.1 → 2.41.0-beta.0

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.39.1-beta.1
1
+ 2.41.0-beta.0
@@ -87,6 +87,7 @@ exports.MainnetSpotMarkets = [
87
87
  precision: new __1.BN(10).pow(numericConstants_1.EIGHT),
88
88
  precisionExp: numericConstants_1.EIGHT,
89
89
  serumMarket: new web3_js_1.PublicKey('BbJgE7HZMaDp5NTYvRh5jZSkQPVDTU8ubPFtpogUkEj4'),
90
+ phoenixMarket: new web3_js_1.PublicKey('Ew3vFDdtdGrknJAVVfraxCA37uNJtimXYPY4QjnfhFHH'),
90
91
  },
91
92
  {
92
93
  symbol: 'USDT',
@@ -98,6 +99,16 @@ exports.MainnetSpotMarkets = [
98
99
  precisionExp: numericConstants_1.QUOTE_PRECISION_EXP,
99
100
  serumMarket: new web3_js_1.PublicKey('B2na8Awyd7cpC59iEU43FagJAPLigr3AP3s38KM982bu'),
100
101
  },
102
+ {
103
+ symbol: 'jitoSOL',
104
+ marketIndex: 6,
105
+ oracle: new web3_js_1.PublicKey('7yyaeuJ1GGtVBLT2z2xub5ZWYKaNhF28mj1RdV4VDFVk'),
106
+ oracleSource: __1.OracleSource.PYTH,
107
+ mint: new web3_js_1.PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
108
+ precision: new __1.BN(10).pow(numericConstants_1.NINE),
109
+ precisionExp: numericConstants_1.NINE,
110
+ serumMarket: new web3_js_1.PublicKey('JAmhJbmBzLp2aTp9mNJodPsTcpCJsmq5jpr6CuCbWHvR'),
111
+ },
101
112
  ];
102
113
  exports.SpotMarkets = {
103
114
  devnet: exports.DevnetSpotMarkets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.39.1-beta.1",
3
+ "version": "2.41.0-beta.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -113,6 +113,9 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
113
113
  precision: new BN(10).pow(EIGHT),
114
114
  precisionExp: EIGHT,
115
115
  serumMarket: new PublicKey('BbJgE7HZMaDp5NTYvRh5jZSkQPVDTU8ubPFtpogUkEj4'),
116
+ phoenixMarket: new PublicKey(
117
+ 'Ew3vFDdtdGrknJAVVfraxCA37uNJtimXYPY4QjnfhFHH'
118
+ ),
116
119
  },
117
120
  {
118
121
  symbol: 'USDT',
@@ -124,6 +127,16 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
124
127
  precisionExp: QUOTE_PRECISION_EXP,
125
128
  serumMarket: new PublicKey('B2na8Awyd7cpC59iEU43FagJAPLigr3AP3s38KM982bu'),
126
129
  },
130
+ {
131
+ symbol: 'jitoSOL',
132
+ marketIndex: 6,
133
+ oracle: new PublicKey('7yyaeuJ1GGtVBLT2z2xub5ZWYKaNhF28mj1RdV4VDFVk'),
134
+ oracleSource: OracleSource.PYTH,
135
+ mint: new PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
136
+ precision: new BN(10).pow(NINE),
137
+ precisionExp: NINE,
138
+ serumMarket: new PublicKey('JAmhJbmBzLp2aTp9mNJodPsTcpCJsmq5jpr6CuCbWHvR'),
139
+ },
127
140
  ];
128
141
 
129
142
  export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {