You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sdk-core): add explicit recipient mode typing for TSS signTxRequest
Introduce TssTxRecipientSource and TssSignTxRequestParams so callers can opt
into compile-time enforcement of non-empty txParams.recipients via
recipientSource Explicit. Default resolved behavior matches existing optional
txParams. ECDSA, MPCv2, and EDDSA signing all validate Explicit at runtime for
non-TS callers. ITssUtils.signTxRequest uses the new param type. Add MPCv2
positive and negative unit tests for Explicit.
BREAKING CHANGE: ITssUtils.signTxRequest is now typed as TssSignTxRequestParamsWithPrv instead of a minimal inline shape. TypeScript consumers that implement or narrow this interface may need signature updates; runtime behavior for existing callers is unchanged.
Refs: WAL-375#8462WAL-375
0 commit comments