Skip to content

Releases: hellocoop/packages-js

v1.4.0

15 Apr 18:41

Choose a tag to compare

@hellocoop/httpsig v1.4.0

New Features

  • Browser support: Accept CryptoKey handle for signing via signingCryptoKey option when JWK has no private key material
  • generateKeyPair() utility: Generate Ed25519 or ES256 key pairs with configurable extractable option
  • Browser-safe base64: Replaced Node.js Buffer with btoa/atob for full browser compatibility

Backwards Compatible

Existing code passing a private JWK works exactly as before.

@hellocoop/httpsig@1.3.0

12 Apr 01:17

Choose a tag to compare

What's New

Update httpsig to match draft-hardt-httpbis-signature-key-04:

  • Rename well-known to dwk in jwks_uri scheme (breaking: wellKnown property renamed to dwk in types)
  • Add Signature-Error header support with generateSignatureErrorHeader() and parseSignatureError() for all 8 spec error codes
  • Add Accept-Signature header support with generateAcceptSignatureHeader() and parseAcceptSignature() including the sigkey parameter (jkt, uri, x509)
  • Structured errors on verification failure: verify() now returns a signatureError field that can be used to build Signature-Error response headers

@hellocoop/better-auth@1.0.14

03 Apr 09:16

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/hellocoop/packages-js/commits/@hellocoop/better-auth@1.0.14

@hellocoop/httpsig@1.2.0

17 Mar 20:29

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/hellocoop/packages-js/commits/@hellocoop/httpsig@1.2.0