@drift-labs/sdk 2.86.0-beta.21 → 2.86.0-beta.22
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/adminClient.js +1 -3
- package/package.json +1 -1
- package/src/adminClient.ts +1 -3
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.86.0-beta.
|
|
1
|
+
2.86.0-beta.22
|
package/lib/adminClient.js
CHANGED
|
@@ -1677,9 +1677,7 @@ class AdminClient extends driftClient_1.DriftClient {
|
|
|
1677
1677
|
const userStats = await (0, pda_1.getUserStatsAccountPublicKey)(this.program.programId, authority);
|
|
1678
1678
|
return await this.program.instruction.initUserFuel(fuelBonusDeposits || null, fuelBonusBorrows || null, fuelBonusTaker || null, fuelBonusMaker || null, fuelBonusInsurance || null, {
|
|
1679
1679
|
accounts: {
|
|
1680
|
-
admin: this.
|
|
1681
|
-
? this.getStateAccount().admin
|
|
1682
|
-
: this.wallet.publicKey,
|
|
1680
|
+
admin: this.wallet.publicKey,
|
|
1683
1681
|
state: await this.getStatePublicKey(),
|
|
1684
1682
|
user,
|
|
1685
1683
|
userStats,
|
package/package.json
CHANGED
package/src/adminClient.ts
CHANGED
|
@@ -3681,9 +3681,7 @@ export class AdminClient extends DriftClient {
|
|
|
3681
3681
|
fuelBonusInsurance || null,
|
|
3682
3682
|
{
|
|
3683
3683
|
accounts: {
|
|
3684
|
-
admin: this.
|
|
3685
|
-
? this.getStateAccount().admin
|
|
3686
|
-
: this.wallet.publicKey,
|
|
3684
|
+
admin: this.wallet.publicKey,
|
|
3687
3685
|
state: await this.getStatePublicKey(),
|
|
3688
3686
|
user,
|
|
3689
3687
|
userStats,
|