mirror of
https://github.com/danbulant/jose
synced 2026-05-24 20:41:46 +00:00
fix(typescript): allow Buffer when verifying detached signature
This commit is contained in:
parent
4c23bd65fe
commit
cadbd047ca
1 changed files with 1 additions and 1 deletions
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
|
|
@ -311,7 +311,7 @@ export namespace JWKS {
|
|||
|
||||
export namespace JWS {
|
||||
interface JWSJSON {
|
||||
payload: string;
|
||||
payload: string | Buffer;
|
||||
}
|
||||
|
||||
interface JWSRecipient {
|
||||
|
|
|
|||
Loading…
Reference in a new issue