@ignitionfi/spl-stake-pool 1.1.16 → 1.1.18

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.
@@ -288,6 +288,7 @@ export declare class StakePoolInstruction {
288
288
  tokenProgramId: PublicKey;
289
289
  programId: PublicKey;
290
290
  payer?: PublicKey;
291
+ userWallet: PublicKey;
291
292
  lamportsIn: number;
292
293
  minimumPoolTokensOut: number;
293
294
  }): TransactionInstruction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignitionfi/spl-stake-pool",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "description": "Ignition Stake Pool SDK for FOGO",
5
5
  "contributors": [
6
6
  "Anza Maintainers <maintainers@anza.xyz>",
package/src/index.ts CHANGED
@@ -369,6 +369,7 @@ export async function depositWsolWithSession(
369
369
  tokenProgramId: stakePool.tokenProgramId,
370
370
  programSigner,
371
371
  payer,
372
+ userWallet: userPubkey,
372
373
  }),
373
374
  )
374
375
  return {
@@ -965,6 +965,7 @@ export class StakePoolInstruction {
965
965
  tokenProgramId: PublicKey
966
966
  programId: PublicKey
967
967
  payer?: PublicKey
968
+ userWallet: PublicKey
968
969
  lamportsIn: number
969
970
  minimumPoolTokensOut: number
970
971
  }): TransactionInstruction {
@@ -993,6 +994,7 @@ export class StakePoolInstruction {
993
994
  { pubkey: params.programSigner, isSigner: false, isWritable: true },
994
995
  { pubkey: params.payer ?? params.fundingAccount, isSigner: true, isWritable: true },
995
996
  { pubkey: ASSOCIATED_TOKEN_PROGRAM_ID, isSigner: false, isWritable: false },
997
+ { pubkey: params.userWallet, isSigner: false, isWritable: false },
996
998
  ]
997
999
 
998
1000
  if (params.depositAuthority) {