feat(sdk-core): pass optional attestation through multisig send/initiate#9216
feat(sdk-core): pass optional attestation through multisig send/initiate#9216mr-neptune wants to merge 2 commits into
Conversation
|
Claude finished @Marzooqa's task —— View job PR Review Analysis
|
Add a local AttestationPayload codec and thread it through wallet.sendMany's build/send/initiate path so a WebAuthn attestation survives to POST /tx/send and /tx/initiate: appended to BuildParams (clears the sendMany prebuild-whitelist pick), to whitelistedSendParams, and re-added via a local t.intersection partial since @bitgo/public-types' TxSendBody (t.exact) doesn't declare the field yet and would strip it on encode. Pure pass-through — no attestation validation in the SDK. Scoped to what WCN-539 (UI) needs end-to-end: multisig only. The shared upstream codec change and the /txrequests, /signatureshares, and /pendingapprovals endpoints are left as TODO(WCN-541) markers for the dedicated SDK/Express pass-through ticket. Ticket: WCN-539
be4672f to
d17616f
Compare

Summary
Add a local
AttestationPayloadcodec and thread it throughwallet.sendMany's build/send/initiate path so a WebAuthn attestation survives toPOST /tx/sendand/tx/initiate: appended toBuildParams(clears thesendManyprebuild-whitelist pick), towhitelistedSendParams, and re-added via a localt.intersectionpartial since @bitgo/public-types'TxSendBody(t.exact) doesn't declare the field yet and would strip it on encode. Pure pass-through — no attestation validation in the SDK.Scoped to what WCN-539 (UI) needs end-to-end: multisig only. The shared upstream codec change and the
/txrequests,/signatureshares, and/pendingapprovalsendpoints are left as TODO(WCN-541) markers for the dedicated SDK/Express pass-through ticket.Ticket: WCN-539