Skip to content

v2.5

Compare
Choose a tag to compare
@timonson timonson released this 01 Jun 11:03
· 26 commits to master since this release

Don't use: The types are incorrect.

  • Add the type JsonValue and change Payload accordingly
  • Change decode return type to [header: JsonValue, payload: JsonValue, signature: Uint8Array]
  • Add optional VerifyOptions to configure the leeway for exp and nbf