Comparing version 6.0.0 to 6.0.1
@@ -1,48 +0,48 @@ | ||
export { compactDecrypt } from './jwe/compact/decrypt'; | ||
export type { CompactDecryptGetKey } from './jwe/compact/decrypt'; | ||
export { flattenedDecrypt } from './jwe/flattened/decrypt'; | ||
export type { FlattenedDecryptGetKey } from './jwe/flattened/decrypt'; | ||
export { generalDecrypt } from './jwe/general/decrypt'; | ||
export type { GeneralDecryptGetKey } from './jwe/general/decrypt'; | ||
export { GeneralEncrypt } from './jwe/general/encrypt'; | ||
export type { Recipient } from './jwe/general/encrypt'; | ||
export { compactVerify } from './jws/compact/verify'; | ||
export type { CompactVerifyGetKey } from './jws/compact/verify'; | ||
export { flattenedVerify } from './jws/flattened/verify'; | ||
export type { FlattenedVerifyGetKey } from './jws/flattened/verify'; | ||
export { generalVerify } from './jws/general/verify'; | ||
export type { GeneralVerifyGetKey } from './jws/general/verify'; | ||
export { jwtVerify } from './jwt/verify'; | ||
export type { JWTVerifyOptions, JWTVerifyGetKey } from './jwt/verify'; | ||
export { jwtDecrypt } from './jwt/decrypt'; | ||
export type { JWTDecryptOptions, JWTDecryptGetKey } from './jwt/decrypt'; | ||
export type { ProduceJWT } from './jwt/produce'; | ||
export { CompactEncrypt } from './jwe/compact/encrypt'; | ||
export { FlattenedEncrypt } from './jwe/flattened/encrypt'; | ||
export { CompactSign } from './jws/compact/sign'; | ||
export { FlattenedSign } from './jws/flattened/sign'; | ||
export { GeneralSign } from './jws/general/sign'; | ||
export type { Signature } from './jws/general/sign'; | ||
export { SignJWT } from './jwt/sign'; | ||
export { EncryptJWT } from './jwt/encrypt'; | ||
export { calculateJwkThumbprint, calculateJwkThumbprintUri } from './jwk/thumbprint'; | ||
export { EmbeddedJWK } from './jwk/embedded'; | ||
export { createLocalJWKSet } from './jwks/local'; | ||
export { createRemoteJWKSet, jwksCache } from './jwks/remote'; | ||
export type { RemoteJWKSetOptions, JWKSCacheInput, ExportedJWKSCache, customFetch, FetchImplementation, } from './jwks/remote'; | ||
export { UnsecuredJWT } from './jwt/unsecured'; | ||
export type { UnsecuredResult } from './jwt/unsecured'; | ||
export { exportPKCS8, exportSPKI, exportJWK } from './key/export'; | ||
export { importSPKI, importPKCS8, importX509, importJWK } from './key/import'; | ||
export type { KeyImportOptions } from './key/import'; | ||
export { decodeProtectedHeader } from './util/decode_protected_header'; | ||
export { decodeJwt } from './util/decode_jwt'; | ||
export type { ProtectedHeaderParameters } from './util/decode_protected_header'; | ||
export * as errors from './util/errors'; | ||
export { generateKeyPair } from './key/generate_key_pair'; | ||
export type { GenerateKeyPairResult, GenerateKeyPairOptions } from './key/generate_key_pair'; | ||
export { generateSecret } from './key/generate_secret'; | ||
export type { GenerateSecretOptions } from './key/generate_secret'; | ||
export * as base64url from './util/base64url'; | ||
export type { CompactDecryptResult, CompactJWEHeaderParameters, CompactJWSHeaderParameters, CompactVerifyResult, CritOption, CryptoKey, DecryptOptions, EncryptOptions, FlattenedDecryptResult, FlattenedJWE, FlattenedJWS, FlattenedJWSInput, FlattenedVerifyResult, GeneralDecryptResult, GeneralJWE, GeneralJWS, GeneralJWSInput, GeneralVerifyResult, GetKeyFunction, JoseHeaderParameters, JSONWebKeySet, JWEHeaderParameters, JWEKeyManagementHeaderParameters, JWK_EC_Private, JWK_EC_Public, JWK_oct, JWK_OKP_Private, JWK_OKP_Public, JWK_RSA_Private, JWK_RSA_Public, JWK, JWKParameters, JWSHeaderParameters, JWTClaimVerificationOptions, JWTDecryptResult, JWTHeaderParameters, JWTPayload, JWTVerifyResult, KeyObject, ResolvedKey, SignOptions, VerifyOptions, } from './types'; | ||
export { compactDecrypt } from './jwe/compact/decrypt.js'; | ||
export type { CompactDecryptGetKey } from './jwe/compact/decrypt.js'; | ||
export { flattenedDecrypt } from './jwe/flattened/decrypt.js'; | ||
export type { FlattenedDecryptGetKey } from './jwe/flattened/decrypt.js'; | ||
export { generalDecrypt } from './jwe/general/decrypt.js'; | ||
export type { GeneralDecryptGetKey } from './jwe/general/decrypt.js'; | ||
export { GeneralEncrypt } from './jwe/general/encrypt.js'; | ||
export type { Recipient } from './jwe/general/encrypt.js'; | ||
export { compactVerify } from './jws/compact/verify.js'; | ||
export type { CompactVerifyGetKey } from './jws/compact/verify.js'; | ||
export { flattenedVerify } from './jws/flattened/verify.js'; | ||
export type { FlattenedVerifyGetKey } from './jws/flattened/verify.js'; | ||
export { generalVerify } from './jws/general/verify.js'; | ||
export type { GeneralVerifyGetKey } from './jws/general/verify.js'; | ||
export { jwtVerify } from './jwt/verify.js'; | ||
export type { JWTVerifyOptions, JWTVerifyGetKey } from './jwt/verify.js'; | ||
export { jwtDecrypt } from './jwt/decrypt.js'; | ||
export type { JWTDecryptOptions, JWTDecryptGetKey } from './jwt/decrypt.js'; | ||
export type { ProduceJWT } from './jwt/produce.js'; | ||
export { CompactEncrypt } from './jwe/compact/encrypt.js'; | ||
export { FlattenedEncrypt } from './jwe/flattened/encrypt.js'; | ||
export { CompactSign } from './jws/compact/sign.js'; | ||
export { FlattenedSign } from './jws/flattened/sign.js'; | ||
export { GeneralSign } from './jws/general/sign.js'; | ||
export type { Signature } from './jws/general/sign.js'; | ||
export { SignJWT } from './jwt/sign.js'; | ||
export { EncryptJWT } from './jwt/encrypt.js'; | ||
export { calculateJwkThumbprint, calculateJwkThumbprintUri } from './jwk/thumbprint.js'; | ||
export { EmbeddedJWK } from './jwk/embedded.js'; | ||
export { createLocalJWKSet } from './jwks/local.js'; | ||
export { createRemoteJWKSet, jwksCache } from './jwks/remote.js'; | ||
export type { RemoteJWKSetOptions, JWKSCacheInput, ExportedJWKSCache, customFetch, FetchImplementation, } from './jwks/remote.js'; | ||
export { UnsecuredJWT } from './jwt/unsecured.js'; | ||
export type { UnsecuredResult } from './jwt/unsecured.js'; | ||
export { exportPKCS8, exportSPKI, exportJWK } from './key/export.js'; | ||
export { importSPKI, importPKCS8, importX509, importJWK } from './key/import.js'; | ||
export type { KeyImportOptions } from './key/import.js'; | ||
export { decodeProtectedHeader } from './util/decode_protected_header.js'; | ||
export { decodeJwt } from './util/decode_jwt.js'; | ||
export type { ProtectedHeaderParameters } from './util/decode_protected_header.js'; | ||
export * as errors from './util/errors.js'; | ||
export { generateKeyPair } from './key/generate_key_pair.js'; | ||
export type { GenerateKeyPairResult, GenerateKeyPairOptions } from './key/generate_key_pair.js'; | ||
export { generateSecret } from './key/generate_secret.js'; | ||
export type { GenerateSecretOptions } from './key/generate_secret.js'; | ||
export * as base64url from './util/base64url.js'; | ||
export type { CompactDecryptResult, CompactJWEHeaderParameters, CompactJWSHeaderParameters, CompactVerifyResult, CritOption, CryptoKey, DecryptOptions, EncryptOptions, FlattenedDecryptResult, FlattenedJWE, FlattenedJWS, FlattenedJWSInput, FlattenedVerifyResult, GeneralDecryptResult, GeneralJWE, GeneralJWS, GeneralJWSInput, GeneralVerifyResult, GetKeyFunction, JoseHeaderParameters, JSONWebKeySet, JWEHeaderParameters, JWEKeyManagementHeaderParameters, JWK_EC_Private, JWK_EC_Public, JWK_oct, JWK_OKP_Private, JWK_OKP_Public, JWK_RSA_Private, JWK_RSA_Public, JWK, JWKParameters, JWSHeaderParameters, JWTClaimVerificationOptions, JWTDecryptResult, JWTHeaderParameters, JWTPayload, JWTVerifyResult, KeyObject, ResolvedKey, SignOptions, VerifyOptions, } from './types.d.ts'; | ||
export declare const cryptoRuntime = "WebCryptoAPI"; |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Interface for Compact JWE Decryption dynamic key resolution. No token components have been |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * The CompactEncrypt class is used to build and encrypt Compact JWE strings. |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Interface for Flattened JWE Decryption dynamic key resolution. No token components have been |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * The FlattenedEncrypt class is used to build and encrypt Flattened JWE objects. |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Interface for General JWE Decryption dynamic key resolution. No token components have been |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
export interface Recipient { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * EmbeddedJWK is an implementation of a GetKeyFunction intended to be used with the JWS/JWT verify |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Calculates a base64url-encoded JSON Web Key (JWK) Thumbprint |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Returns a function that resolves a JWS JOSE Header to a public key object from a locally stored, |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * When passed to {@link jwks/remote.createRemoteJWKSet createRemoteJWKSet} this allows the resolver |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * The CompactSign class is used to build and sign Compact JWS strings. |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Interface for Compact JWS Verification dynamic key resolution. No token components have been |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * The FlattenedSign class is used to build and sign Flattened JWS objects. |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Interface for Flattened JWS Verification dynamic key resolution. No token components have been |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
export interface Signature { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../../types'; | ||
import type * as types from '../../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Interface for General JWS Verification dynamic key resolution. No token components have been |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** Combination of JWE Decryption options and JWT Claims Set verification options. */ | ||
@@ -3,0 +3,0 @@ export interface JWTDecryptOptions extends types.DecryptOptions, types.JWTClaimVerificationOptions { |
@@ -1,3 +0,3 @@ | ||
import type * as types from '../types'; | ||
import { ProduceJWT } from './produce'; | ||
import type * as types from '../types.d.ts'; | ||
import { ProduceJWT } from './produce.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * The EncryptJWT class is used to build and encrypt Compact JWE formatted JSON Web Tokens. |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** Generic class for JWT producing. */ | ||
@@ -3,0 +3,0 @@ export declare class ProduceJWT { |
@@ -1,3 +0,3 @@ | ||
import type * as types from '../types'; | ||
import { ProduceJWT } from './produce'; | ||
import type * as types from '../types.d.ts'; | ||
import { ProduceJWT } from './produce.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * The SignJWT class is used to build and sign Compact JWS formatted JSON Web Tokens. |
@@ -1,3 +0,3 @@ | ||
import type * as types from '../types'; | ||
import { ProduceJWT } from './produce'; | ||
import type * as types from '../types.d.ts'; | ||
import { ProduceJWT } from './produce.js'; | ||
export interface UnsecuredResult<PayloadType = types.JWTPayload> { | ||
@@ -4,0 +4,0 @@ payload: PayloadType & types.JWTPayload; |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** Combination of JWS Verification options and JWT Claims Set verification options. */ | ||
@@ -3,0 +3,0 @@ export interface JWTVerifyOptions extends types.VerifyOptions, types.JWTClaimVerificationOptions { |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Exports a public {@link !CryptoKey} or {@link !KeyObject} to a PEM-encoded SPKI string format. |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
export interface GenerateKeyPairResult { | ||
@@ -3,0 +3,0 @@ /** The generated Private Key. */ |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
export interface GenerateSecretOptions { | ||
@@ -3,0 +3,0 @@ /** The value to use as {@link !SubtleCrypto.generateKey} `extractable` argument. Default is false. */ |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
export interface KeyImportOptions { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Decodes a signed JSON Web Token payload. This does not validate the JWT Claims Set types or |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
export type ProtectedHeaderParameters = types.JWSHeaderParameters & types.JWEHeaderParameters; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type * as types from '../types'; | ||
import type * as types from '../types.d.ts'; | ||
/** | ||
@@ -3,0 +3,0 @@ * A generic Error that all other JOSE specific Error subclasses extend. |
@@ -12,3 +12,3 @@ import { JOSEError, JWKSNoMatchingKey, JWKSTimeout } from '../util/errors.js'; | ||
const NAME = 'jose'; | ||
const VERSION = 'v6.0.0'; | ||
const VERSION = 'v6.0.1'; | ||
USER_AGENT = `${NAME}/${VERSION}`; | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "jose", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"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": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
243471
1