Repository navigation
Bump Kit to 8.5 and Codama renderers-js to 2.7 - #122
Merged
Merged
Conversation
This PR bumps `@solana/kit` to 8.5 (dev and peer), the Kit plugins to 0.19 and `@solana-program/system` to 0.16 in the JS client, and bumps `@codama/renderers-js` to 2.7 at the root before regenerating the client. The regenerated code accepts `Address | HasAddress` for addresses, and this PR widens the hand-written helpers to match: the create, update and write plans, `getProgramAuthority`, the metadata content fetchers and `packExternalData`. Close destinations passed as address wrappers are now honoured instead of silently falling back to the payer, and tests cover each path end to end. Raising the `@solana/kit` peer range to `^8.5.0` means consumers need to be on Kit 8.5 or later.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR bumps
@solana/kitto 8.5 (dev and peer), the Kit plugins to 0.19 and@solana-program/systemto 0.16 in the JS client, and bumps@codama/renderers-jsto 2.7 at the root before regenerating the client. The regenerated code acceptsAddress | HasAddressfor addresses, and this PR widens the hand-written helpers to match: the create, update and write plans,getProgramAuthority, the metadata content fetchers andpackExternalData. Close destinations passed as address wrappers are now honoured instead of silently falling back to the payer, and tests cover each path end to end. Raising the@solana/kitpeer range to^8.5.0means consumers need to be on Kit 8.5 or later.