@ignitionfi/spl-stake-pool 1.1.13 → 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/package.json +2 -3
- package/src/index.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ignitionfi/spl-stake-pool",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
4
4
|
"description": "Ignition Stake Pool SDK for FOGO",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Anza Maintainers <maintainers@anza.xyz>",
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
"lint": "eslint --max-warnings 0 .",
|
|
85
85
|
"lint:fix": "eslint . --fix",
|
|
86
86
|
"test": "jest",
|
|
87
|
-
"clean": "rimraf ./dist"
|
|
88
|
-
"postinstall": "npm run build"
|
|
87
|
+
"clean": "rimraf ./dist"
|
|
89
88
|
}
|
|
90
89
|
}
|
package/src/index.ts
CHANGED
|
@@ -857,14 +857,14 @@ export async function withdrawWsolWithSession(
|
|
|
857
857
|
const instructions: TransactionInstruction[] = []
|
|
858
858
|
const signers: Signer[] = []
|
|
859
859
|
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
860
|
+
instructions.push(
|
|
861
|
+
createAssociatedTokenAccountIdempotentInstruction(
|
|
862
|
+
signerOrSession,
|
|
863
|
+
userWsolAccount,
|
|
864
|
+
userPubkey,
|
|
865
|
+
NATIVE_MINT,
|
|
866
|
+
),
|
|
867
|
+
)
|
|
868
868
|
|
|
869
869
|
const [programSigner] = PublicKey.findProgramAddressSync(
|
|
870
870
|
[Buffer.from('fogo_session_program_signer')],
|