@ignitionfi/spl-stake-pool 1.1.14 → 1.1.15
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 +1 -8
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.browser.esm.js +1 -8
- package/dist/index.browser.esm.js.map +1 -1
- package/dist/index.cjs.js +1 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +1 -8
- 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/package.json +1 -1
- package/src/index.ts +8 -8
package/dist/index.iife.js
CHANGED
|
@@ -23345,14 +23345,7 @@ var solanaStakePool = (function (exports, node_buffer) {
|
|
|
23345
23345
|
const userWsolAccount = getAssociatedTokenAddressSync(NATIVE_MINT, userPubkey);
|
|
23346
23346
|
const instructions = [];
|
|
23347
23347
|
const signers = [];
|
|
23348
|
-
|
|
23349
|
-
// createAssociatedTokenAccountIdempotentInstruction(
|
|
23350
|
-
// signerOrSession,
|
|
23351
|
-
// userWsolAccount,
|
|
23352
|
-
// userPubkey,
|
|
23353
|
-
// NATIVE_MINT,
|
|
23354
|
-
// ),
|
|
23355
|
-
// )
|
|
23348
|
+
instructions.push(createAssociatedTokenAccountIdempotentInstruction(signerOrSession, userWsolAccount, userPubkey, NATIVE_MINT));
|
|
23356
23349
|
const [programSigner] = PublicKey.findProgramAddressSync([Buffer.from('fogo_session_program_signer')], stakePoolProgramId);
|
|
23357
23350
|
const withdrawAuthority = await findWithdrawAuthorityProgramAddress(stakePoolProgramId, stakePoolAddress);
|
|
23358
23351
|
instructions.push(StakePoolInstruction.withdrawWsolWithSession({
|