@drift-labs/sdk 2.74.0-beta.1 → 2.74.0-beta.11

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.
Files changed (53) hide show
  1. package/VERSION +1 -1
  2. package/lib/adminClient.d.ts +12 -3
  3. package/lib/adminClient.js +60 -32
  4. package/lib/blockhashSubscriber/BlockhashSubscriber.d.ts +21 -0
  5. package/lib/blockhashSubscriber/BlockhashSubscriber.js +73 -0
  6. package/lib/blockhashSubscriber/index.d.ts +1 -0
  7. package/lib/blockhashSubscriber/index.js +17 -0
  8. package/lib/blockhashSubscriber/types.d.ts +7 -0
  9. package/lib/blockhashSubscriber/types.js +2 -0
  10. package/lib/dlob/orderBookLevels.js +47 -12
  11. package/lib/driftClient.d.ts +5 -0
  12. package/lib/driftClient.js +17 -0
  13. package/lib/events/parse.d.ts +1 -1
  14. package/lib/events/parse.js +12 -12
  15. package/lib/idl/drift.json +85 -0
  16. package/lib/index.d.ts +1 -0
  17. package/lib/index.js +1 -0
  18. package/lib/math/funding.js +0 -6
  19. package/lib/math/oracles.js +1 -1
  20. package/lib/math/tiers.js +1 -1
  21. package/lib/oracles/prelaunchOracleClient.js +1 -0
  22. package/lib/oracles/types.d.ts +1 -0
  23. package/lib/tx/baseTxSender.d.ts +1 -1
  24. package/lib/tx/baseTxSender.js +9 -2
  25. package/lib/tx/fastSingleTxSender.d.ts +1 -1
  26. package/lib/tx/fastSingleTxSender.js +11 -3
  27. package/lib/tx/types.d.ts +1 -1
  28. package/lib/types.d.ts +3 -0
  29. package/lib/types.js +1 -0
  30. package/lib/user.d.ts +6 -4
  31. package/lib/user.js +24 -21
  32. package/package.json +1 -1
  33. package/src/adminClient.ts +297 -87
  34. package/src/blockhashSubscriber/BlockhashSubscriber.ts +108 -0
  35. package/src/blockhashSubscriber/index.ts +1 -0
  36. package/src/blockhashSubscriber/types.ts +8 -0
  37. package/src/dlob/orderBookLevels.ts +51 -15
  38. package/src/driftClient.ts +37 -0
  39. package/src/events/parse.ts +26 -12
  40. package/src/idl/drift.json +85 -0
  41. package/src/index.ts +1 -0
  42. package/src/math/funding.ts +0 -4
  43. package/src/math/oracles.ts +1 -1
  44. package/src/math/tiers.ts +1 -1
  45. package/src/oracles/prelaunchOracleClient.ts +1 -0
  46. package/src/oracles/types.ts +1 -0
  47. package/src/tx/baseTxSender.ts +12 -4
  48. package/src/tx/fastSingleTxSender.ts +13 -5
  49. package/src/tx/types.ts +2 -1
  50. package/src/types.ts +1 -0
  51. package/src/user.ts +32 -30
  52. package/tests/amm/test.ts +3 -1
  53. package/tests/dlob/test.ts +57 -0
package/lib/index.d.ts CHANGED
@@ -98,4 +98,5 @@ export * from './auctionSubscriber';
98
98
  export * from './auctionSubscriber/types';
99
99
  export * from './memcmp';
100
100
  export * from './decode/user';
101
+ export * from './blockhashSubscriber';
101
102
  export { BN, PublicKey, pyth };
package/lib/index.js CHANGED
@@ -121,3 +121,4 @@ __exportStar(require("./auctionSubscriber"), exports);
121
121
  __exportStar(require("./auctionSubscriber/types"), exports);
122
122
  __exportStar(require("./memcmp"), exports);
123
123
  __exportStar(require("./decode/user"), exports);
124
+ __exportStar(require("./blockhashSubscriber"), exports);
@@ -148,12 +148,6 @@ function getMaxPriceDivergenceForFundingRate(market, oracleTwap) {
148
148
  else if ((0, types_1.isVariant)(market.contractTier, 'c')) {
149
149
  return oracleTwap.divn(20);
150
150
  }
151
- else if ((0, types_1.isVariant)(market.contractTier, 'speculative')) {
152
- return oracleTwap.divn(10);
153
- }
154
- else if ((0, types_1.isVariant)(market.contractTier, 'isolated')) {
155
- return oracleTwap.divn(10);
156
- }
157
151
  else {
158
152
  return oracleTwap.divn(10);
159
153
  }
@@ -28,7 +28,7 @@ function getMaxConfidenceIntervalMultiplier(market) {
28
28
  else if ((0, types_1.isVariant)(market.contractTier, 'speculative')) {
29
29
  maxConfidenceIntervalMultiplier = new index_1.BN(10);
30
30
  }
31
- else if ((0, types_1.isVariant)(market.contractTier, 'isolated')) {
31
+ else {
32
32
  maxConfidenceIntervalMultiplier = new index_1.BN(50);
33
33
  }
34
34
  return maxConfidenceIntervalMultiplier;
package/lib/math/tiers.js CHANGED
@@ -15,7 +15,7 @@ function getPerpMarketTierNumber(perpMarket) {
15
15
  else if ((0, types_1.isVariant)(perpMarket.contractTier, 'speculative')) {
16
16
  return 3;
17
17
  }
18
- else if ((0, types_1.isVariant)(perpMarket.contractTier, 'isolated')) {
18
+ else if ((0, types_1.isVariant)(perpMarket.contractTier, 'highlySpeculative')) {
19
19
  return 4;
20
20
  }
21
21
  else {
@@ -17,6 +17,7 @@ class PrelaunchOracleClient {
17
17
  slot: prelaunchOracle.ammLastUpdateSlot,
18
18
  confidence: prelaunchOracle.confidence,
19
19
  hasSufficientNumberOfDataPoints: true,
20
+ maxPrice: prelaunchOracle.maxPrice,
20
21
  };
21
22
  }
22
23
  }
@@ -10,6 +10,7 @@ export type OraclePriceData = {
10
10
  hasSufficientNumberOfDataPoints: boolean;
11
11
  twap?: BN;
12
12
  twapConfidence?: BN;
13
+ maxPrice?: BN;
13
14
  };
14
15
  export type OracleInfo = {
15
16
  publicKey: PublicKey;
@@ -22,7 +22,7 @@ export declare abstract class BaseTxSender implements TxSender {
22
22
  });
23
23
  send(tx: Transaction, additionalSigners?: Array<Signer>, opts?: ConfirmOptions, preSigned?: boolean, extraConfirmationOptions?: ExtraConfirmationOptions): Promise<TxSigAndSlot>;
24
24
  prepareTx(tx: Transaction, additionalSigners: Array<Signer>, opts: ConfirmOptions): Promise<Transaction>;
25
- getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Array<Signer>, opts?: ConfirmOptions): Promise<VersionedTransaction>;
25
+ getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Array<Signer>, opts?: ConfirmOptions, blockhash?: string): Promise<VersionedTransaction>;
26
26
  sendVersionedTransaction(tx: VersionedTransaction, additionalSigners?: Array<Signer>, opts?: ConfirmOptions, preSigned?: boolean, extraConfirmationOptions?: ExtraConfirmationOptions): Promise<TxSigAndSlot>;
27
27
  sendRawTransaction(rawTransaction: Buffer | Uint8Array, opts: ConfirmOptions): Promise<TxSigAndSlot>;
28
28
  simulateTransaction(tx: VersionedTransaction): Promise<boolean>;
@@ -47,16 +47,23 @@ class BaseTxSender {
47
47
  const signedTx = await this.wallet.signTransaction(tx);
48
48
  return signedTx;
49
49
  }
50
- async getVersionedTransaction(ixs, lookupTableAccounts, additionalSigners, opts) {
50
+ async getVersionedTransaction(ixs, lookupTableAccounts, additionalSigners, opts, blockhash) {
51
51
  if (additionalSigners === undefined) {
52
52
  additionalSigners = [];
53
53
  }
54
54
  if (opts === undefined) {
55
55
  opts = this.opts;
56
56
  }
57
+ let recentBlockhash = '';
58
+ if (blockhash) {
59
+ recentBlockhash = blockhash;
60
+ }
61
+ else {
62
+ recentBlockhash = (await this.connection.getLatestBlockhash(opts.preflightCommitment)).blockhash;
63
+ }
57
64
  const message = new web3_js_1.TransactionMessage({
58
65
  payerKey: this.wallet.publicKey,
59
- recentBlockhash: (await this.connection.getLatestBlockhash(opts.preflightCommitment)).blockhash,
66
+ recentBlockhash,
60
67
  instructions: ixs,
61
68
  }).compileToV0Message(lookupTableAccounts);
62
69
  const tx = new web3_js_1.VersionedTransaction(message);
@@ -27,6 +27,6 @@ export declare class FastSingleTxSender extends BaseTxSender {
27
27
  });
28
28
  startBlockhashRefreshLoop(): void;
29
29
  prepareTx(tx: Transaction, additionalSigners: Array<Signer>, _opts: ConfirmOptions): Promise<Transaction>;
30
- getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Array<Signer>, opts?: ConfirmOptions): Promise<VersionedTransaction>;
30
+ getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Array<Signer>, opts?: ConfirmOptions, blockhash?: string): Promise<VersionedTransaction>;
31
31
  sendRawTransaction(rawTransaction: Buffer | Uint8Array, opts: ConfirmOptions): Promise<TxSigAndSlot>;
32
32
  }
@@ -52,7 +52,7 @@ class FastSingleTxSender extends baseTxSender_1.BaseTxSender {
52
52
  const signedTx = await this.wallet.signTransaction(tx);
53
53
  return signedTx;
54
54
  }
55
- async getVersionedTransaction(ixs, lookupTableAccounts, additionalSigners, opts) {
55
+ async getVersionedTransaction(ixs, lookupTableAccounts, additionalSigners, opts, blockhash) {
56
56
  var _a;
57
57
  if (additionalSigners === undefined) {
58
58
  additionalSigners = [];
@@ -60,10 +60,18 @@ class FastSingleTxSender extends baseTxSender_1.BaseTxSender {
60
60
  if (opts === undefined) {
61
61
  opts = this.opts;
62
62
  }
63
+ let recentBlockhash = '';
64
+ if (blockhash) {
65
+ recentBlockhash = blockhash;
66
+ }
67
+ else {
68
+ recentBlockhash =
69
+ (_a = this.recentBlockhash) !== null && _a !== void 0 ? _a : (await this.connection.getLatestBlockhash(opts.preflightCommitment))
70
+ .blockhash;
71
+ }
63
72
  const message = new web3_js_1.TransactionMessage({
64
73
  payerKey: this.wallet.publicKey,
65
- recentBlockhash: (_a = this.recentBlockhash) !== null && _a !== void 0 ? _a : (await this.connection.getLatestBlockhash(opts.preflightCommitment))
66
- .blockhash,
74
+ recentBlockhash,
67
75
  instructions: ixs,
68
76
  }).compileToV0Message(lookupTableAccounts);
69
77
  const tx = new web3_js_1.VersionedTransaction(message);
package/lib/tx/types.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface TxSender {
17
17
  wallet: IWallet;
18
18
  send(tx: Transaction, additionalSigners?: Array<Signer>, opts?: ConfirmOptions, preSigned?: boolean, extraConfirmationOptions?: ExtraConfirmationOptions): Promise<TxSigAndSlot>;
19
19
  sendVersionedTransaction(tx: VersionedTransaction, additionalSigners?: Array<Signer>, opts?: ConfirmOptions, preSigned?: boolean, extraConfirmationOptions?: ExtraConfirmationOptions): Promise<TxSigAndSlot>;
20
- getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Array<Signer>, opts?: ConfirmOptions): Promise<VersionedTransaction>;
20
+ getVersionedTransaction(ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[], additionalSigners?: Array<Signer>, opts?: ConfirmOptions, blockhash?: string): Promise<VersionedTransaction>;
21
21
  sendRawTransaction(rawTransaction: Buffer | Uint8Array, opts: ConfirmOptions): Promise<TxSigAndSlot>;
22
22
  simulateTransaction(tx: VersionedTransaction): Promise<boolean>;
23
23
  getTimeoutCount(): number;
package/lib/types.d.ts CHANGED
@@ -80,6 +80,9 @@ export declare class ContractTier {
80
80
  static readonly SPECULATIVE: {
81
81
  speculative: {};
82
82
  };
83
+ static readonly HIGHLY_SPECULATIVE: {
84
+ highlySpeculative: {};
85
+ };
83
86
  static readonly ISOLATED: {
84
87
  isolated: {};
85
88
  };
package/lib/types.js CHANGED
@@ -60,6 +60,7 @@ ContractTier.A = { a: {} };
60
60
  ContractTier.B = { b: {} };
61
61
  ContractTier.C = { c: {} };
62
62
  ContractTier.SPECULATIVE = { speculative: {} };
63
+ ContractTier.HIGHLY_SPECULATIVE = { highlySpeculative: {} };
63
64
  ContractTier.ISOLATED = { isolated: {} };
64
65
  class AssetTier {
65
66
  }
package/lib/user.d.ts CHANGED
@@ -246,13 +246,15 @@ export declare class User {
246
246
  /**
247
247
  * Calculate the liquidation price of a perp position, with optional parameter to calculate the liquidation price after a trade
248
248
  * @param marketIndex
249
- * @param positionBaseSizeChange // change in position size to calculate liquidation price for : Precision 10^13
249
+ * @param positionBaseSizeChange // change in position size to calculate liquidation price for : Precision 10^9
250
+ * @param estimatedEntryPrice
250
251
  * @param marginCategory // allow Initial to be passed in if we are trying to calculate price for DLP de-risking
252
+ * @param includeOpenOrders
251
253
  * @returns Precision : PRICE_PRECISION
252
254
  */
253
- liquidationPrice(marketIndex: number, positionBaseSizeChange?: BN, estimatedEntryPrice?: BN, marginCategory?: MarginCategory): BN;
254
- calculateEntriesEffectOnFreeCollateral(market: PerpMarketAccount, oraclePrice: BN, perpPosition: PerpPosition, positionBaseSizeChange: BN, estimatedEntryPrice: BN): BN;
255
- calculateFreeCollateralDeltaForPerp(market: PerpMarketAccount, perpPosition: PerpPosition, positionBaseSizeChange: BN, marginCategory?: MarginCategory): BN | undefined;
255
+ liquidationPrice(marketIndex: number, positionBaseSizeChange?: BN, estimatedEntryPrice?: BN, marginCategory?: MarginCategory, includeOpenOrders?: boolean): BN;
256
+ calculateEntriesEffectOnFreeCollateral(market: PerpMarketAccount, oraclePrice: BN, perpPosition: PerpPosition, positionBaseSizeChange: BN, estimatedEntryPrice: BN, includeOpenOrders: boolean): BN;
257
+ calculateFreeCollateralDeltaForPerp(market: PerpMarketAccount, perpPosition: PerpPosition, positionBaseSizeChange: BN, marginCategory?: MarginCategory, includeOpenOrders?: boolean): BN | undefined;
256
258
  calculateFreeCollateralDeltaForSpot(market: SpotMarketAccount, signedTokenAmount: BN, marginCategory?: MarginCategory): BN;
257
259
  /**
258
260
  * Calculates the estimated liquidation price for a position after closing a quote amount of the position.
package/lib/user.js CHANGED
@@ -1082,13 +1082,15 @@ class User {
1082
1082
  /**
1083
1083
  * Calculate the liquidation price of a perp position, with optional parameter to calculate the liquidation price after a trade
1084
1084
  * @param marketIndex
1085
- * @param positionBaseSizeChange // change in position size to calculate liquidation price for : Precision 10^13
1085
+ * @param positionBaseSizeChange // change in position size to calculate liquidation price for : Precision 10^9
1086
+ * @param estimatedEntryPrice
1086
1087
  * @param marginCategory // allow Initial to be passed in if we are trying to calculate price for DLP de-risking
1088
+ * @param includeOpenOrders
1087
1089
  * @returns Precision : PRICE_PRECISION
1088
1090
  */
1089
- liquidationPrice(marketIndex, positionBaseSizeChange = numericConstants_1.ZERO, estimatedEntryPrice = numericConstants_1.ZERO, marginCategory = 'Maintenance') {
1091
+ liquidationPrice(marketIndex, positionBaseSizeChange = numericConstants_1.ZERO, estimatedEntryPrice = numericConstants_1.ZERO, marginCategory = 'Maintenance', includeOpenOrders = false) {
1090
1092
  const totalCollateral = this.getTotalCollateral(marginCategory);
1091
- const marginRequirement = this.getMarginRequirement(marginCategory, undefined, false);
1093
+ const marginRequirement = this.getMarginRequirement(marginCategory, undefined, false, includeOpenOrders);
1092
1094
  let freeCollateral = _1.BN.max(numericConstants_1.ZERO, totalCollateral.sub(marginRequirement));
1093
1095
  const oracle = this.driftClient.getPerpMarketAccount(marketIndex).amm.oracle;
1094
1096
  const oraclePrice = this.driftClient.getOracleDataForPerpMarket(marketIndex).price;
@@ -1096,9 +1098,9 @@ class User {
1096
1098
  const currentPerpPosition = this.getPerpPositionWithLPSettle(marketIndex, undefined, true)[0] ||
1097
1099
  this.getEmptyPosition(marketIndex);
1098
1100
  positionBaseSizeChange = (0, _1.standardizeBaseAssetAmount)(positionBaseSizeChange, market.amm.orderStepSize);
1099
- const freeCollateralChangeFromNewPosition = this.calculateEntriesEffectOnFreeCollateral(market, oraclePrice, currentPerpPosition, positionBaseSizeChange, estimatedEntryPrice);
1101
+ const freeCollateralChangeFromNewPosition = this.calculateEntriesEffectOnFreeCollateral(market, oraclePrice, currentPerpPosition, positionBaseSizeChange, estimatedEntryPrice, includeOpenOrders);
1100
1102
  freeCollateral = freeCollateral.add(freeCollateralChangeFromNewPosition);
1101
- let freeCollateralDelta = this.calculateFreeCollateralDeltaForPerp(market, currentPerpPosition, positionBaseSizeChange, marginCategory);
1103
+ let freeCollateralDelta = this.calculateFreeCollateralDeltaForPerp(market, currentPerpPosition, positionBaseSizeChange, marginCategory, includeOpenOrders);
1102
1104
  if (!freeCollateralDelta) {
1103
1105
  return new _1.BN(-1);
1104
1106
  }
@@ -1125,7 +1127,7 @@ class User {
1125
1127
  }
1126
1128
  return liqPrice;
1127
1129
  }
1128
- calculateEntriesEffectOnFreeCollateral(market, oraclePrice, perpPosition, positionBaseSizeChange, estimatedEntryPrice) {
1130
+ calculateEntriesEffectOnFreeCollateral(market, oraclePrice, perpPosition, positionBaseSizeChange, estimatedEntryPrice, includeOpenOrders) {
1129
1131
  let freeCollateralChange = numericConstants_1.ZERO;
1130
1132
  // update free collateral to account for change in pnl from new position
1131
1133
  if (!estimatedEntryPrice.eq(numericConstants_1.ZERO) && !positionBaseSizeChange.eq(numericConstants_1.ZERO)) {
@@ -1139,8 +1141,6 @@ class User {
1139
1141
  freeCollateralChange = costBasis.sub(newPositionValue);
1140
1142
  }
1141
1143
  else {
1142
- console.log('newPositionValue', newPositionValue.toString());
1143
- console.log('costBasis', costBasis.toString());
1144
1144
  freeCollateralChange = newPositionValue.sub(costBasis);
1145
1145
  }
1146
1146
  // assume worst fee tier
@@ -1150,30 +1150,33 @@ class User {
1150
1150
  .divn(takerFeeTier.feeDenominator);
1151
1151
  freeCollateralChange = freeCollateralChange.sub(takerFee);
1152
1152
  }
1153
- const worstCaseBaseAssetAmount = (0, margin_1.calculateWorstCaseBaseAssetAmount)(perpPosition);
1154
- const newWorstCaseBaseAssetAmount = worstCaseBaseAssetAmount.add(positionBaseSizeChange);
1155
- const newMarginRatio = (0, _1.calculateMarketMarginRatio)(market, newWorstCaseBaseAssetAmount.abs(), 'Maintenance');
1153
+ const baseAssetAmount = includeOpenOrders
1154
+ ? (0, margin_1.calculateWorstCaseBaseAssetAmount)(perpPosition)
1155
+ : perpPosition.baseAssetAmount;
1156
+ const newBaseAssetAmount = baseAssetAmount.add(positionBaseSizeChange);
1157
+ const newMarginRatio = (0, _1.calculateMarketMarginRatio)(market, newBaseAssetAmount.abs(), 'Maintenance');
1156
1158
  // update free collateral to account for new margin requirement from position change
1157
- freeCollateralChange = freeCollateralChange.sub(newWorstCaseBaseAssetAmount
1159
+ freeCollateralChange = freeCollateralChange.sub(newBaseAssetAmount
1158
1160
  .abs()
1159
- .sub(worstCaseBaseAssetAmount.abs())
1161
+ .sub(baseAssetAmount.abs())
1160
1162
  .mul(oraclePrice)
1161
1163
  .div(numericConstants_1.BASE_PRECISION)
1162
1164
  .mul(new _1.BN(newMarginRatio))
1163
1165
  .div(numericConstants_1.MARGIN_PRECISION));
1164
1166
  return freeCollateralChange;
1165
1167
  }
1166
- calculateFreeCollateralDeltaForPerp(market, perpPosition, positionBaseSizeChange, marginCategory = 'Maintenance') {
1167
- const currentBaseAssetAmount = perpPosition.baseAssetAmount;
1168
- const worstCaseBaseAssetAmount = (0, margin_1.calculateWorstCaseBaseAssetAmount)(perpPosition);
1169
- const orderBaseAssetAmount = worstCaseBaseAssetAmount.sub(currentBaseAssetAmount);
1170
- const proposedBaseAssetAmount = currentBaseAssetAmount.add(positionBaseSizeChange);
1171
- const proposedWorstCaseBaseAssetAmount = worstCaseBaseAssetAmount.add(positionBaseSizeChange);
1172
- const marginRatio = (0, _1.calculateMarketMarginRatio)(market, proposedWorstCaseBaseAssetAmount.abs(), marginCategory, this.getUserAccount().maxMarginRatio);
1168
+ calculateFreeCollateralDeltaForPerp(market, perpPosition, positionBaseSizeChange, marginCategory = 'Maintenance', includeOpenOrders = false) {
1169
+ const baseAssetAmount = includeOpenOrders
1170
+ ? (0, margin_1.calculateWorstCaseBaseAssetAmount)(perpPosition)
1171
+ : perpPosition.baseAssetAmount;
1172
+ // zero if include orders == false
1173
+ const orderBaseAssetAmount = baseAssetAmount.sub(perpPosition.baseAssetAmount);
1174
+ const proposedBaseAssetAmount = baseAssetAmount.add(positionBaseSizeChange);
1175
+ const marginRatio = (0, _1.calculateMarketMarginRatio)(market, proposedBaseAssetAmount.abs(), marginCategory, this.getUserAccount().maxMarginRatio);
1173
1176
  const marginRatioQuotePrecision = new _1.BN(marginRatio)
1174
1177
  .mul(numericConstants_1.QUOTE_PRECISION)
1175
1178
  .div(numericConstants_1.MARGIN_PRECISION);
1176
- if (proposedWorstCaseBaseAssetAmount.eq(numericConstants_1.ZERO)) {
1179
+ if (proposedBaseAssetAmount.eq(numericConstants_1.ZERO)) {
1177
1180
  return undefined;
1178
1181
  }
1179
1182
  let freeCollateralDelta = numericConstants_1.ZERO;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.74.0-beta.1",
3
+ "version": "2.74.0-beta.11",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",