@solana/kit
v5.1.0 (2025-12-12)
Minor Changes
-
[
@solana/errors,@solana/kit,@solana/offchain-messages] #880becf5f6Thanks @steveluscher! - Added codecs for encoding and decoding Solana Offchain Messages (see solana-foundation/SRFCs#3) -
[
@solana/errors,@solana/kit,@solana/offchain-messages] #98432214f5Thanks @steveluscher! - Added the capability to sign Solana Offchain Messages using aCryptoKey -
[
@solana/instruction-plans] #1044e64a9b2Thanks @mcintyre94! - Add a function to summarize aTransactionPlanResult -
[
@solana/instruction-plans] #10352bd0bc2Thanks @mcintyre94! - Add a function to flatten a transaction plan result -
[
@solana/instruction-plans] #1056a0c394bThanks @lorisleiva! - Accept anyErrorobject in failedSingleTransactionPlanResult -
[
@solana/instruction-plans] #10435c1f9e5Thanks @mcintyre94! - Make Transaction optional in successful transaction plan result + add signature
Patch Changes
-
[
@solana/addresses,@solana/codecs-core,@solana/offchain-messages,@solana/react,@solana/transactions] #104032b13a8Thanks @OrmEmbaar! - Add a function called bytesEqual to codecs-core that you can use to compare two byte arrays for equality. -
[
@solana/codecs-strings,@solana/kit] #999d7f5a0cThanks @tmm! - Some npm packages are needed for specific runtimes only (eg. React Native, Node). To prevent package managers from unconditionally installing these packages when they haveauto-install-peersenabled, we are marking them as optional inpeerDependenciesMeta. When running in React Native, be sure to explicitly installfastestsmallesttextencoderdecoder. When running in Node, be sure to explicitly installws. When using@solana/react, we will presume that you have already installedreact. -
[
@solana/rpc] #1028eb49ed7Thanks @mcintyre94! - Add a typeSolanaRpcApiFromClusterUrl -
[
@solana/rpc-api] #978c97df88Thanks @nonergodic! - Expanded the type of several RPC inputs to accept readonly arrays of values -
[
@solana/transaction-confirmation] #100318e7e2cThanks @damianac! - Actually fixed a bug where transaction errors discovered during recent transaction confirmation might not be thrown. The fix in #793 was insufficient. -
[
@solana/transaction-messages] #102681a0eecThanks @mcintyre94! - Export BlockhashLifetimeConstraint and NonceLifetimeConstraint -
[
@solana/transactions] #10582f7bda8Thanks @mcintyre94! - RemoveTransactionWithLifetimefrom required input type forsignTransactionandpartiallySignTransaction