@ignitionfi/spl-stake-pool 1.1.18 → 1.1.19
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 +2 -1
- 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 +2 -1
- 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 -1
- package/package.json +1 -1
- package/src/instructions.ts +4 -2
package/dist/index.iife.js
CHANGED
|
@@ -22649,7 +22649,6 @@ var solanaStakePool = (function (exports, node_buffer) {
|
|
|
22649
22649
|
{ pubkey: params.wsolTransientAccount, isSigner: false, isWritable: true },
|
|
22650
22650
|
{ pubkey: params.programSigner, isSigner: false, isWritable: true },
|
|
22651
22651
|
{ pubkey: (_a = params.payer) !== null && _a !== void 0 ? _a : params.fundingAccount, isSigner: true, isWritable: true },
|
|
22652
|
-
{ pubkey: ASSOCIATED_TOKEN_PROGRAM_ID, isSigner: false, isWritable: false },
|
|
22653
22652
|
{ pubkey: params.userWallet, isSigner: false, isWritable: false },
|
|
22654
22653
|
];
|
|
22655
22654
|
if (params.depositAuthority) {
|
|
@@ -22659,6 +22658,8 @@ var solanaStakePool = (function (exports, node_buffer) {
|
|
|
22659
22658
|
isWritable: false,
|
|
22660
22659
|
});
|
|
22661
22660
|
}
|
|
22661
|
+
// Associated Token Program must be last - only needed in transaction for CPI routing
|
|
22662
|
+
keys.push({ pubkey: ASSOCIATED_TOKEN_PROGRAM_ID, isSigner: false, isWritable: false });
|
|
22662
22663
|
return new TransactionInstruction({
|
|
22663
22664
|
programId: params.programId,
|
|
22664
22665
|
keys,
|