@exodus/solana-lib 3.22.5 → 3.22.6
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/CHANGELOG.md +10 -0
- package/package.json +2 -2
- package/src/tx/prepare-for-signing.js +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.22.6](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.22.5...@exodus/solana-lib@3.22.6) (2026-04-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix(solana-lib): rename account to tokenPublicKey in createCloseAccountTransaction (#7783)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [3.22.5](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.22.4...@exodus/solana-lib@3.22.5) (2026-04-04)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-lib",
|
|
3
|
-
"version": "3.22.
|
|
3
|
+
"version": "3.22.6",
|
|
4
4
|
"description": "Solana utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"type": "git",
|
|
49
49
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "295b2329dc3925220d02e7c19c3eb21870276ba4"
|
|
52
52
|
}
|
|
@@ -255,10 +255,15 @@ const createTokenTransaction = (
|
|
|
255
255
|
options
|
|
256
256
|
).transaction
|
|
257
257
|
|
|
258
|
-
const createCloseAccountTransaction = ({
|
|
258
|
+
const createCloseAccountTransaction = ({
|
|
259
|
+
account: tokenPublicKey,
|
|
260
|
+
programId,
|
|
261
|
+
recentBlockhash,
|
|
262
|
+
walletPublicKey,
|
|
263
|
+
}) =>
|
|
259
264
|
Transaction.createCloseAccount({
|
|
260
|
-
account,
|
|
261
265
|
programId,
|
|
262
|
-
|
|
266
|
+
tokenPublicKey,
|
|
263
267
|
walletPublicKey,
|
|
268
|
+
recentBlockhash,
|
|
264
269
|
})
|