@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.
@@ -1469,6 +1469,7 @@ class StakePoolInstruction {
1469
1469
  { pubkey: params.programSigner, isSigner: false, isWritable: true },
1470
1470
  { pubkey: (_a = params.payer) !== null && _a !== void 0 ? _a : params.fundingAccount, isSigner: true, isWritable: true },
1471
1471
  { pubkey: splToken.ASSOCIATED_TOKEN_PROGRAM_ID, isSigner: false, isWritable: false },
1472
+ { pubkey: params.userWallet, isSigner: false, isWritable: false },
1472
1473
  ];
1473
1474
  if (params.depositAuthority) {
1474
1475
  keys.push({
@@ -1886,6 +1887,7 @@ async function depositWsolWithSession(connection, stakePoolAddress, signerOrSess
1886
1887
  tokenProgramId: stakePool.tokenProgramId,
1887
1888
  programSigner,
1888
1889
  payer,
1890
+ userWallet: userPubkey,
1889
1891
  }));
1890
1892
  return {
1891
1893
  instructions,