Fix doubleKnock request.clone() errors
This refactors the doubleKnock function and related signing functions to get the request body once at the top level instead of cloning it multiple times during iterations and redirects. Changes: - Add optional `body` parameter to SignRequestOptions and DoubleKnockOptions - Update signRequestDraft and signRequestRfc9421 to accept pre-read body - Modify doubleKnock to read body once and pass through all operations - Update redirect handling to reuse the same body buffer
Loading
Please register or sign in to comment