@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 CHANGED
@@ -1 +1 @@
1
- 2.86.0-beta.21
1
+ 2.86.0-beta.22
@@ -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.isSubscribed
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.86.0-beta.21",
3
+ "version": "2.86.0-beta.22",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -3681,9 +3681,7 @@ export class AdminClient extends DriftClient {
3681
3681
  fuelBonusInsurance || null,
3682
3682
  {
3683
3683
  accounts: {
3684
- admin: this.isSubscribed
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,