@drift-labs/sdk 2.32.1-beta.12 → 2.32.1-beta.13

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.32.1-beta.12
1
+ 2.32.1-beta.13
@@ -2053,7 +2053,7 @@ class DriftClient {
2053
2053
  state: await this.getStatePublicKey(),
2054
2054
  user: userAccountPublicKeyToUse,
2055
2055
  userStats: this.getUserStatsAccountPublicKey(),
2056
- authority: this.authority,
2056
+ authority: this.wallet.publicKey,
2057
2057
  outSpotMarketVault: outSpotMarket.vault,
2058
2058
  inSpotMarketVault: inSpotMarket.vault,
2059
2059
  inTokenAccount,
@@ -2069,7 +2069,7 @@ class DriftClient {
2069
2069
  state: await this.getStatePublicKey(),
2070
2070
  user: userAccountPublicKeyToUse,
2071
2071
  userStats: this.getUserStatsAccountPublicKey(),
2072
- authority: this.authority,
2072
+ authority: this.wallet.publicKey,
2073
2073
  outSpotMarketVault: outSpotMarket.vault,
2074
2074
  inSpotMarketVault: inSpotMarket.vault,
2075
2075
  inTokenAccount,
package/lib/types.d.ts CHANGED
@@ -725,6 +725,8 @@ export type SpotMarketAccount = {
725
725
  nextDepositRecordId: BN;
726
726
  orderStepSize: BN;
727
727
  orderTickSize: BN;
728
+ minOrderSize: BN;
729
+ maxPositionSize: BN;
728
730
  nextFillRecordId: BN;
729
731
  spotFeePool: PoolBalance;
730
732
  totalSpotFee: BN;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.32.1-beta.12",
3
+ "version": "2.32.1-beta.13",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -3594,7 +3594,7 @@ export class DriftClient {
3594
3594
  state: await this.getStatePublicKey(),
3595
3595
  user: userAccountPublicKeyToUse,
3596
3596
  userStats: this.getUserStatsAccountPublicKey(),
3597
- authority: this.authority,
3597
+ authority: this.wallet.publicKey,
3598
3598
  outSpotMarketVault: outSpotMarket.vault,
3599
3599
  inSpotMarketVault: inSpotMarket.vault,
3600
3600
  inTokenAccount,
@@ -3617,7 +3617,7 @@ export class DriftClient {
3617
3617
  state: await this.getStatePublicKey(),
3618
3618
  user: userAccountPublicKeyToUse,
3619
3619
  userStats: this.getUserStatsAccountPublicKey(),
3620
- authority: this.authority,
3620
+ authority: this.wallet.publicKey,
3621
3621
  outSpotMarketVault: outSpotMarket.vault,
3622
3622
  inSpotMarketVault: inSpotMarket.vault,
3623
3623
  inTokenAccount,
package/src/types.ts CHANGED
@@ -660,6 +660,8 @@ export type SpotMarketAccount = {
660
660
 
661
661
  orderStepSize: BN;
662
662
  orderTickSize: BN;
663
+ minOrderSize: BN;
664
+ maxPositionSize: BN;
663
665
  nextFillRecordId: BN;
664
666
  spotFeePool: PoolBalance;
665
667
  totalSpotFee: BN;