@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 +1 -1
- package/lib/driftClient.js +2 -2
- package/lib/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/driftClient.ts +2 -2
- package/src/types.ts +2 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.32.1-beta.
|
|
1
|
+
2.32.1-beta.13
|
package/lib/driftClient.js
CHANGED
|
@@ -2053,7 +2053,7 @@ class DriftClient {
|
|
|
2053
2053
|
state: await this.getStatePublicKey(),
|
|
2054
2054
|
user: userAccountPublicKeyToUse,
|
|
2055
2055
|
userStats: this.getUserStatsAccountPublicKey(),
|
|
2056
|
-
authority: this.
|
|
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.
|
|
2072
|
+
authority: this.wallet.publicKey,
|
|
2073
2073
|
outSpotMarketVault: outSpotMarket.vault,
|
|
2074
2074
|
inSpotMarketVault: inSpotMarket.vault,
|
|
2075
2075
|
inTokenAccount,
|
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/driftClient.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
3620
|
+
authority: this.wallet.publicKey,
|
|
3621
3621
|
outSpotMarketVault: outSpotMarket.vault,
|
|
3622
3622
|
inSpotMarketVault: inSpotMarket.vault,
|
|
3623
3623
|
inTokenAccount,
|