cloudflare-worker-jwt
cloudflare-worker-jwt copied to clipboard
fix sign/verify secret parameter typing
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.