@ignitionfi/spl-stake-pool 1.1.16 → 1.1.17
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/dist/index.browser.cjs.js +2 -1
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.browser.esm.js +3 -2
- package/dist/index.browser.esm.js.map +1 -1
- package/dist/index.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +2 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.iife.min.js.map +1 -1
- package/dist/instructions.d.ts +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/instructions.ts +3 -2
|
@@ -1468,7 +1468,7 @@ class StakePoolInstruction {
|
|
|
1468
1468
|
{ pubkey: params.wsolTransientAccount, isSigner: false, isWritable: true },
|
|
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
|
-
{ pubkey:
|
|
1471
|
+
{ pubkey: params.userWallet, isSigner: false, isWritable: false },
|
|
1472
1472
|
];
|
|
1473
1473
|
if (params.depositAuthority) {
|
|
1474
1474
|
keys.push({
|
|
@@ -1886,6 +1886,7 @@ async function depositWsolWithSession(connection, stakePoolAddress, signerOrSess
|
|
|
1886
1886
|
tokenProgramId: stakePool.tokenProgramId,
|
|
1887
1887
|
programSigner,
|
|
1888
1888
|
payer,
|
|
1889
|
+
userWallet: userPubkey,
|
|
1889
1890
|
}));
|
|
1890
1891
|
return {
|
|
1891
1892
|
instructions,
|