Skip to content

v2.6

Compare
Choose a tag to compare
@timonson timonson released this 10 Jun 16:49
· 23 commits to master since this release
e4b7695

Don't use: The types are incorrect.

Make verify accept an optional type argument for Payload

const payload = await verify<{foo: string}>(jwt, key); // { foo: "bar" }