jose 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/types.d.ts +4 -4
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -235,7 +235,7 @@ export interface FlattenedDecryptResult {
|
|
|
235
235
|
export interface GeneralDecryptResult extends FlattenedDecryptResult {}
|
|
236
236
|
export interface CompactDecryptResult {
|
|
237
237
|
plaintext: Uint8Array
|
|
238
|
-
protectedHeader:
|
|
238
|
+
protectedHeader: CompactJWEHeaderParameters
|
|
239
239
|
}
|
|
240
240
|
export interface FlattenedVerifyResult {
|
|
241
241
|
payload: Uint8Array
|
|
@@ -245,15 +245,15 @@ export interface FlattenedVerifyResult {
|
|
|
245
245
|
export interface GeneralVerifyResult extends FlattenedVerifyResult {}
|
|
246
246
|
export interface CompactVerifyResult {
|
|
247
247
|
payload: Uint8Array
|
|
248
|
-
protectedHeader:
|
|
248
|
+
protectedHeader: CompactJWSHeaderParameters
|
|
249
249
|
}
|
|
250
250
|
export interface JWTVerifyResult {
|
|
251
251
|
payload: JWTPayload
|
|
252
|
-
protectedHeader:
|
|
252
|
+
protectedHeader: JWTHeaderParameters
|
|
253
253
|
}
|
|
254
254
|
export interface JWTDecryptResult {
|
|
255
255
|
payload: JWTPayload
|
|
256
|
-
protectedHeader:
|
|
256
|
+
protectedHeader: CompactJWEHeaderParameters
|
|
257
257
|
}
|
|
258
258
|
export interface ResolvedKey {
|
|
259
259
|
key: KeyLike | Uint8Array
|