cloudflare-worker-jwt icon indicating copy to clipboard operation
cloudflare-worker-jwt copied to clipboard

fix sign/verify secret parameter typing

Open denbeigh2000 opened this issue 10 months ago • 0 comments

The sign and verify methods both accept string | JsonWebKey | WebCrypto for the secret parameter.

This updates the documentation and type annotations everywhere to reflect that.

denbeigh2000 avatar Apr 06 '24 20:04 denbeigh2000