@solana/kit
v5.5.0 (2026-01-27)
Minor Changes
-
[
@solana/errors,@solana/instruction-plans] #1253b4f5897Thanks @lorisleiva! - AddisXandassertIsXtype guard helpers for instruction plans, transaction plans, and transaction plan results -
[
@solana/errors] #126008c9062Thanks @mcintyre94! - Mark thecausedeprecated forSOLANA_ERROR__INSTRUCTION_PLANS__FAILED_TO_EXECUTE_TRANSACTION_PLANerror -
[
@solana/errors,@solana/instruction-plans] #1254ba3f186Thanks @lorisleiva! - AddSuccessfulTransactionPlanResulttype withisSuccessfulTransactionPlanResultandassertIsSuccessfulTransactionPlanResulttype guards -
[
@solana/errors,@solana/instruction-plans] #12361cc0a31Thanks @mcintyre94! - AddgetFirstFailedSingleTransactionPlanResult, which you can use to get the first failed transaction plan result from a transaction plan result, or throw if none failed -
[
@solana/errors] #12306af7c15Thanks @mcintyre94! - Add a functionunwrapSimulationError, which will return the cause of an error if it is a simulation error. Otherwise it is returned unchanged. -
[
@solana/instruction-plans] #1245f731129Thanks @mcintyre94! - AddflattenInstructionPlanandflattenTransactionPlanfunctions, that can be used to remove the sequential/parallel structure from these plans. DeprecategetAllSingleTransactionPlanswhich is superseded byflattenTransactionPlan. -
[
@solana/instruction-plans] #1233b174ed5Thanks @lorisleiva! - AddeveryInstructionPlan,everyTransactionPlanandeveryTransactionPlanResultfunctions that can be used to ensure a given predicate holds for all nodes inside their respective plan structures. -
[
@solana/instruction-plans] #1247ea97d43Thanks @mcintyre94! - Add a new functionappendTransactionMessageInstructionPlanthat can be used to add the instructions from an instruction plan to a transaction message -
[
@solana/instruction-plans] #124360e8c45Thanks @lorisleiva! - AddtransformInstructionPlan,transformTransactionPlanandtransformTransactionPlanResulthelpers for bottom-up transformation of instruction plan trees. -
[
@solana/instruction-plans] #1235a47e441Thanks @lorisleiva! - AddpassthroughFailedTransactionPlanExecutionhelper function that wraps a transaction plan execution promise to return aTransactionPlanResulteven on execution failure. This allows handling execution results in a unified way without try/catch. -
[
@solana/instruction-plans] #1232589d761Thanks @mcintyre94! - AddfindInstructionPlan,findTransactionPlanandfindTransactionPlanResultfunctions that can be used to find the plan matching a given predicate
Patch Changes
-
[
@solana/instruction-plans] #1256cccea6fThanks @mcintyre94! - Fix a bug where a message packer that requires multiple iterations is not correctly added when forced to fit in a single transaction, even if it can fit -
[
@solana/kit] #12347e0377bThanks @mcintyre94! - Fix a race condition insendAndConfirmDurableNonceTransactionFactory -
[
@solana/react] #121056433e9Thanks @rajgoesout! - Return immediately when passing empty array of transactions touseSignTransactionsanduseSignAndSendTransactions