@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
package/dist/instructions.d.ts
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/instructions.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as BufferLayout from '@solana/buffer-layout'
|
|
2
|
-
import {
|
|
2
|
+
import { TOKEN_PROGRAM_ID } from '@solana/spl-token'
|
|
3
3
|
import {
|
|
4
4
|
PublicKey,
|
|
5
5
|
STAKE_CONFIG_ID,
|
|
@@ -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 {
|
|
@@ -992,7 +993,7 @@ export class StakePoolInstruction {
|
|
|
992
993
|
{ pubkey: params.wsolTransientAccount, isSigner: false, isWritable: true },
|
|
993
994
|
{ pubkey: params.programSigner, isSigner: false, isWritable: true },
|
|
994
995
|
{ pubkey: params.payer ?? params.fundingAccount, isSigner: true, isWritable: true },
|
|
995
|
-
{ pubkey:
|
|
996
|
+
{ pubkey: params.userWallet, isSigner: false, isWritable: false },
|
|
996
997
|
]
|
|
997
998
|
|
|
998
999
|
if (params.depositAuthority) {
|