Skip to content

httpsig v1.6.0

Latest

Choose a tag to compare

@rohanharikr rohanharikr released this 21 May 15:28

@hellocoop/httpsig 1.6.0

Added

  • returnSent fetch option — when passed returnSent: true, fetch() returns { response, sent }, exposing the signed request that actually went on the wire (method, url, headers including Signature/Signature-Input/Content-Digest, body) for logging and audit.

This is a non-breaking, additive change. The option defaults to false; existing callers continue to receive a plain Response with no behavioral change. TypeScript overloads now return more precise types per option (dryRun{ headers }, returnSent{ response, sent }, neither → Response).