Skip to content

Commit 101fd75

Browse files
committed
Bump JS client to @solana/kit v7
Kit v7 removes the synchronous `getMinimumBalanceForRentExemption` helper, so `getCreateMintInstructionPlan` now takes a client and fetches the rent-exempt minimum via `rpc.getMinimumBalanceForRentExemption(...).send()`, mirroring the client's other async plan builders. This makes the plan builder async and adds the rent RPC to the plugin requirements.
1 parent 405c917 commit 101fd75

4 files changed

Lines changed: 1390 additions & 497 deletions

File tree

clients/js/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
"prepublishOnly": "pnpm build"
4545
},
4646
"dependencies": {
47-
"@solana-program/system": "^0.12.0"
47+
"@solana-program/system": "^0.13.0"
4848
},
4949
"devDependencies": {
5050
"@solana-config/oxc": "^0.1.1",
51-
"@solana/kit": "^6.10.0",
52-
"@solana/kit-client-rpc": "^0.9.0",
53-
"@solana/kit-plugin-litesvm": "^0.10.0",
54-
"@solana/kit-plugin-signer": "^0.10.0",
51+
"@solana/kit": "^7.0.0",
52+
"@solana/kit-client-rpc": "^0.13.0",
53+
"@solana/kit-plugin-litesvm": "^0.13.0",
54+
"@solana/kit-plugin-signer": "^0.13.0",
5555
"@types/node": "^24",
5656
"oxfmt": "^0.55.0",
5757
"oxlint": "^1.70.0",
@@ -63,7 +63,7 @@
6363
"vitest": "^4.0.15"
6464
},
6565
"peerDependencies": {
66-
"@solana/kit": "^6.10.0"
66+
"@solana/kit": "^7.0.0"
6767
},
6868
"engines": {
6969
"node": ">=24.0.0"

0 commit comments

Comments
 (0)