Skip to content

Commit

Permalink
fix(typescript): apply updated compact and jwt headers to compact/jwt…
Browse files Browse the repository at this point in the history
… verify and decrypt results
  • Loading branch information
panva committed Nov 11, 2021
1 parent 4423395 commit 0c1946c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ export interface CompactDecryptResult {
/**
* JWE Protected Header.
*/
protectedHeader: JWEHeaderParameters
protectedHeader: CompactJWEHeaderParameters
}

export interface FlattenedVerifyResult {
Expand Down Expand Up @@ -687,7 +687,7 @@ export interface CompactVerifyResult {
/**
* JWS Protected Header.
*/
protectedHeader: JWSHeaderParameters
protectedHeader: CompactJWSHeaderParameters
}

export interface JWTVerifyResult {
Expand All @@ -699,7 +699,7 @@ export interface JWTVerifyResult {
/**
* JWS Protected Header.
*/
protectedHeader: JWSHeaderParameters
protectedHeader: JWTHeaderParameters
}

export interface JWTDecryptResult {
Expand All @@ -711,7 +711,7 @@ export interface JWTDecryptResult {
/**
* JWE Protected Header.
*/
protectedHeader: JWEHeaderParameters
protectedHeader: CompactJWEHeaderParameters
}

export interface ResolvedKey {
Expand Down

0 comments on commit 0c1946c

Please sign in to comment.