@@ -781,3 +781,3 @@ /** | ||
| export interface KeyObject { | ||
| type: 'private' | 'public' | 'secret' | ||
| type: string | ||
| } | ||
@@ -798,6 +798,6 @@ | ||
| /** | ||
| * Used as {@link CryptoKey} only when the host runtime's `crypto` global is not typed at all, e.g. a | ||
| * consumer compiling with neither the DOM lib nor `@types/node`. Whenever a `CryptoKey` type is | ||
| * available it is aliased instead, deliberately, so that this module never introduces a competing | ||
| * nominal `CryptoKey` and values flow freely to and from {@link !SubtleCrypto} APIs. | ||
| * Used as {@link CryptoKey} when the host runtime's `crypto` global is not exposed on `typeof | ||
| * globalThis`, including when it is absent from ambient types or declared with `const` or `let`. It | ||
| * remains structurally compatible with host {@link !CryptoKey} declarations so values flow freely to | ||
| * and from {@link !SubtleCrypto} APIs. | ||
| */ | ||
@@ -807,6 +807,4 @@ export interface CryptoKeyStructuralFallback { | ||
| readonly extractable: boolean | ||
| readonly type: 'private' | 'public' | 'secret' | ||
| readonly usages: ( | ||
| 'decrypt' | 'deriveBits' | 'deriveKey' | 'encrypt' | 'sign' | 'unwrapKey' | 'verify' | 'wrapKey' | ||
| )[] | ||
| readonly type: string | ||
| readonly usages: string[] | ||
| } | ||
@@ -813,0 +811,0 @@ |
@@ -12,3 +12,3 @@ import { JOSEError, JWKSNoMatchingKey, JWKSTimeout } from '../util/errors.js'; | ||
| const NAME = 'jose'; | ||
| const VERSION = 'v6.2.5'; | ||
| const VERSION = 'v6.2.6'; | ||
| USER_AGENT = `${NAME}/${VERSION}`; | ||
@@ -15,0 +15,0 @@ } |
+1
-1
| { | ||
| "name": "jose", | ||
| "version": "6.2.5", | ||
| "version": "6.2.6", | ||
| "description": "JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
256829
-0.08%5929
-0.03%