v2.5
Don't use: The types are incorrect.
- Add the type
JsonValue
and changePayload
accordingly - Change
decode
return type to[header: JsonValue, payload: JsonValue, signature: Uint8Array]
- Add optional
VerifyOptions
to configure the leeway forexp
andnbf