jose 4.12.1 → 4.12.2
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/README.md +1 -1
- package/dist/types/jwk/embedded.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FlattenedJWSInput, JWSHeaderParameters } from '../types';
|
|
1
|
+
import type { KeyLike, FlattenedJWSInput, JWSHeaderParameters } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
* EmbeddedJWK is an implementation of a GetKeyFunction intended to be used with the JWS/JWT verify
|
|
4
4
|
* operations whenever you need to opt-in to verify signatures with a public key embedded in the
|
|
@@ -20,4 +20,4 @@ import type { FlattenedJWSInput, JWSHeaderParameters } from '../types';
|
|
|
20
20
|
* console.log(payload)
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
export declare function EmbeddedJWK(protectedHeader: JWSHeaderParameters, token: FlattenedJWSInput): Promise<
|
|
23
|
+
export declare function EmbeddedJWK(protectedHeader: JWSHeaderParameters, token: FlattenedJWSInput): Promise<KeyLike>;
|
package/package.json
CHANGED