jose 6.0.1 → 6.0.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/jwe/compact/decrypt.d.ts +5 -0
- package/dist/types/jwe/compact/encrypt.d.ts +5 -0
- package/dist/types/jwe/flattened/decrypt.d.ts +5 -0
- package/dist/types/jwe/flattened/encrypt.d.ts +5 -0
- package/dist/types/jwe/general/decrypt.d.ts +5 -0
- package/dist/types/jwe/general/encrypt.d.ts +5 -0
- package/dist/types/jwk/embedded.d.ts +5 -0
- package/dist/types/jwk/thumbprint.d.ts +5 -0
- package/dist/types/jwks/local.d.ts +5 -0
- package/dist/types/jwks/remote.d.ts +5 -0
- package/dist/types/jws/compact/sign.d.ts +5 -0
- package/dist/types/jws/compact/verify.d.ts +5 -0
- package/dist/types/jws/flattened/sign.d.ts +5 -0
- package/dist/types/jws/flattened/verify.d.ts +5 -0
- package/dist/types/jws/general/sign.d.ts +5 -0
- package/dist/types/jws/general/verify.d.ts +5 -0
- package/dist/types/jwt/decrypt.d.ts +5 -0
- package/dist/types/jwt/encrypt.d.ts +5 -0
- package/dist/types/jwt/sign.d.ts +5 -0
- package/dist/types/jwt/unsecured.d.ts +5 -0
- package/dist/types/jwt/verify.d.ts +5 -0
- package/dist/types/key/export.d.ts +5 -0
- package/dist/types/key/generate_key_pair.d.ts +5 -0
- package/dist/types/key/generate_secret.d.ts +5 -0
- package/dist/types/key/import.d.ts +5 -0
- package/dist/types/util/base64url.d.ts +5 -0
- package/dist/types/util/decode_jwt.d.ts +5 -0
- package/dist/types/util/decode_protected_header.d.ts +5 -0
- package/dist/types/util/errors.d.ts +5 -0
- package/dist/webapi/jwks/remote.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JSON Web Token (JWT) Decryption (JWT is in JWE format)
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
1
6
|
import type * as types from '../types.d.ts';
|
|
2
7
|
/** Combination of JWE Decryption options and JWT Claims Set verification options. */
|
|
3
8
|
export interface JWTDecryptOptions extends types.DecryptOptions, types.JWTClaimVerificationOptions {
|
package/dist/types/jwt/sign.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JSON Web Token (JWT) Verification (JWT is in JWS format)
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
1
6
|
import type * as types from '../types.d.ts';
|
|
2
7
|
/** Combination of JWS Verification options and JWT Claims Set verification options. */
|
|
3
8
|
export interface JWTVerifyOptions extends types.VerifyOptions, types.JWTClaimVerificationOptions {
|
|
@@ -9,7 +9,7 @@ function isCloudflareWorkers() {
|
|
|
9
9
|
let USER_AGENT;
|
|
10
10
|
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
|
|
11
11
|
const NAME = 'jose';
|
|
12
|
-
const VERSION = 'v6.0.
|
|
12
|
+
const VERSION = 'v6.0.3';
|
|
13
13
|
USER_AGENT = `${NAME}/${VERSION}`;
|
|
14
14
|
}
|
|
15
15
|
export const customFetch = Symbol();
|