v0.4.0
Pre-release
Pre-release
generateSecret
now supportsKeyObject
returns (d18a089). This ensures seamless compatibility with JWT libraries such as jsonwebtoken, which accepts keys in form ofKeyObject
for signing and verifying tokens.extractable
as an argument togenerateSecret
andgenerateKeyPair
is no longer supported. Instead, users can pass anoptions
object withextractable
as a property (true
by default) (d18a089) (73a208b).