@drift-labs/sdk 2.25.0-beta.1 → 2.25.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.
@@ -176,6 +176,16 @@ exports.MainnetPerpMarkets = [
176
176
  launchTs: 1680808053000,
177
177
  oracleSource: __1.OracleSource.PYTH,
178
178
  },
179
+ {
180
+ fullName: 'Binance Coin',
181
+ category: ['Exchange'],
182
+ symbol: 'BNB-PERP',
183
+ baseAssetSymbol: 'BNB',
184
+ marketIndex: 8,
185
+ oracle: new web3_js_1.PublicKey('4CkQJBxhU8EZ2UjhigbtdaPbpTe6mqf811fipYBFbSYN'),
186
+ launchTs: 1680808053000,
187
+ oracleSource: __1.OracleSource.PYTH,
188
+ },
179
189
  ];
180
190
  exports.PerpMarkets = {
181
191
  devnet: exports.DevnetPerpMarkets,
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.25.0-beta.1",
2
+ "version": "2.25.0",
3
3
  "name": "drift",
4
4
  "instructions": [
5
5
  {
@@ -69,7 +69,6 @@ class UserMap {
69
69
  await this.addPubkey(new web3_js_1.PublicKey(key));
70
70
  }
71
71
  const user = this.userMap.get(key);
72
- await user.fetchAccounts();
73
72
  return user;
74
73
  }
75
74
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.25.0-beta.1",
3
+ "version": "2.25.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -187,6 +187,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
187
187
  launchTs: 1680808053000,
188
188
  oracleSource: OracleSource.PYTH,
189
189
  },
190
+ {
191
+ fullName: 'Binance Coin',
192
+ category: ['Exchange'],
193
+ symbol: 'BNB-PERP',
194
+ baseAssetSymbol: 'BNB',
195
+ marketIndex: 8,
196
+ oracle: new PublicKey('4CkQJBxhU8EZ2UjhigbtdaPbpTe6mqf811fipYBFbSYN'),
197
+ launchTs: 1680808053000,
198
+ oracleSource: OracleSource.PYTH,
199
+ },
190
200
  ];
191
201
 
192
202
  export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.25.0-beta.1",
2
+ "version": "2.25.0",
3
3
  "name": "drift",
4
4
  "instructions": [
5
5
  {
@@ -113,7 +113,6 @@ export class UserMap implements UserMapInterface {
113
113
  await this.addPubkey(new PublicKey(key));
114
114
  }
115
115
  const user = this.userMap.get(key);
116
- await user.fetchAccounts();
117
116
  return user;
118
117
  }
119
118