Skip to content

Commit 055ce69

Browse files
authored
Bump Codama renderer and adopt @solana/kit 6.10 (#163)
This bumps the Codama renderer and regenerates the JS client so it stays compatible with @solana/kit 6.10. The generated program plugins now return the homomorphic `ExtendedClient` type (introduced in kit 6.10) instead of the previous `Omit<T, ...>` intersection, and the client's kit floor is raised to ^6.10.0. The hand-written `tokenProgram()` plugin is updated to compose the generated plugin via `extendClient` instead of an object spread. Under kit 6.10's homomorphic `ExtendedClient` type, the previous spread caused the hand-written `batch` instruction override to merge with the generated `batch` signature into a two-overload type; composing with `extendClient` cleanly replaces the `token` namespace so `batch` keeps its single intended signature (and nested batches remain a compile error).
1 parent f39c246 commit 055ce69

7 files changed

Lines changed: 508 additions & 486 deletions

File tree

clients/js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"devDependencies": {
5050
"@solana-config/oxc": "^0.1.1",
51-
"@solana/kit": "^6.5.0",
51+
"@solana/kit": "^6.10.0",
5252
"@solana/kit-client-rpc": "^0.9.0",
5353
"@solana/kit-plugin-litesvm": "^0.10.0",
5454
"@solana/kit-plugin-signer": "^0.10.0",
@@ -63,7 +63,7 @@
6363
"vitest": "^4.0.15"
6464
},
6565
"peerDependencies": {
66-
"@solana/kit": "^6.5.0"
66+
"@solana/kit": "^6.10.0"
6767
},
6868
"engines": {
6969
"node": ">=24.0.0"

0 commit comments

Comments
 (0)