jose-browser-runtime
Advanced tools
Comparing version 5.7.0 to 5.8.0
import { encode as base64url } from '../../runtime/base64url.js'; | ||
import { unprotected } from '../../lib/private_symbols.js'; | ||
import encrypt from '../../runtime/encrypt.js'; | ||
@@ -8,3 +9,2 @@ import encryptKeyManagement from '../../lib/encrypt_key_management.js'; | ||
import validateCrit from '../../lib/validate_crit.js'; | ||
export const unprotected = Symbol(); | ||
export class FlattenedEncrypt { | ||
@@ -11,0 +11,0 @@ constructor(plaintext) { |
@@ -1,2 +0,3 @@ | ||
import { FlattenedEncrypt, unprotected } from '../flattened/encrypt.js'; | ||
import { FlattenedEncrypt } from '../flattened/encrypt.js'; | ||
import { unprotected } from '../../lib/private_symbols.js'; | ||
import { JOSENotSupported, JWEInvalid } from '../../util/errors.js'; | ||
@@ -3,0 +4,0 @@ import generateCek from '../../lib/cek.js'; |
@@ -32,3 +32,3 @@ import { importJWK } from '../key/import.js'; | ||
} | ||
export class LocalJWKSet { | ||
class LocalJWKSet { | ||
constructor(jwks) { | ||
@@ -35,0 +35,0 @@ this._cached = new WeakMap(); |
@@ -13,3 +13,3 @@ import fetchJwks from '../runtime/fetch_jwks.js'; | ||
const NAME = 'jose'; | ||
const VERSION = 'v5.7.0'; | ||
const VERSION = 'v5.8.0'; | ||
USER_AGENT = `${NAME}/${VERSION}`; | ||
@@ -16,0 +16,0 @@ } |
@@ -11,2 +11,5 @@ import type { KeyLike, DecryptOptions, CompactJWEHeaderParameters, GetKeyFunction, FlattenedJWE, CompactDecryptResult, ResolvedKey } from '../../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwe/compact/decrypt'`. | ||
* | ||
* @param jwe Compact JWE. | ||
@@ -13,0 +16,0 @@ * @param key Private Key or Secret to decrypt the JWE with. See |
@@ -5,2 +5,5 @@ import type { KeyLike, JWEKeyManagementHeaderParameters, CompactJWEHeaderParameters, EncryptOptions } from '../../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jwe/compact/encrypt'`. | ||
* | ||
*/ | ||
@@ -7,0 +10,0 @@ export declare class CompactEncrypt { |
@@ -11,2 +11,5 @@ import type { FlattenedDecryptResult, KeyLike, FlattenedJWE, JWEHeaderParameters, DecryptOptions, GetKeyFunction, ResolvedKey } from '../../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwe/flattened/decrypt'`. | ||
* | ||
* @param jwe Flattened JWE. | ||
@@ -13,0 +16,0 @@ * @param key Private Key or Secret to decrypt the JWE with. See |
import type { KeyLike, FlattenedJWE, JWEHeaderParameters, JWEKeyManagementHeaderParameters, EncryptOptions } from '../../types'; | ||
/** @private */ | ||
export declare const unprotected: unique symbol; | ||
/** | ||
* The FlattenedEncrypt class is used to build and encrypt Flattened JWE objects. | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jwe/flattened/encrypt'`. | ||
* | ||
*/ | ||
@@ -8,0 +9,0 @@ export declare class FlattenedEncrypt { |
@@ -11,2 +11,5 @@ import type { KeyLike, DecryptOptions, JWEHeaderParameters, GetKeyFunction, FlattenedJWE, GeneralJWE, GeneralDecryptResult, ResolvedKey } from '../../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwe/general/decrypt'`. | ||
* | ||
* @param jwe General JWE. | ||
@@ -13,0 +16,0 @@ * @param key Private Key or Secret to decrypt the JWE with. See |
@@ -19,2 +19,5 @@ import type { KeyLike, GeneralJWE, JWEHeaderParameters, CritOption } from '../../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jwe/general/encrypt'`. | ||
* | ||
*/ | ||
@@ -21,0 +24,0 @@ export declare class GeneralEncrypt { |
@@ -8,3 +8,6 @@ import type { KeyLike, FlattenedJWSInput, JWSHeaderParameters } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwk/embedded'`. | ||
* | ||
*/ | ||
export declare function EmbeddedJWK<KeyLikeType extends KeyLike = KeyLike>(protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<KeyLikeType>; |
@@ -5,2 +5,5 @@ import type { JWK } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwk/thumbprint'`. | ||
* | ||
* @param jwk JSON Web Key. | ||
@@ -16,2 +19,5 @@ * @param digestAlgorithm Digest Algorithm to use for calculating the thumbprint. Default is | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwk/thumbprint'`. | ||
* | ||
* @param jwk JSON Web Key. | ||
@@ -18,0 +24,0 @@ * @param digestAlgorithm Digest Algorithm to use for calculating the thumbprint. Default is |
import type { KeyLike, JWSHeaderParameters, JSONWebKeySet, FlattenedJWSInput } from '../types'; | ||
/** @private */ | ||
export declare class LocalJWKSet<KeyLikeType extends KeyLike = KeyLike> { | ||
private _jwks?; | ||
private _cached; | ||
constructor(jwks: unknown); | ||
getKey(protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<KeyLikeType>; | ||
} | ||
/** | ||
@@ -25,4 +18,7 @@ * Returns a function that resolves a JWS JOSE Header to a public key object from a locally stored, | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwks/local'`. | ||
* | ||
* @param jwks JSON Web Key Set formatted object. | ||
*/ | ||
export declare function createLocalJWKSet<KeyLikeType extends KeyLike = KeyLike>(jwks: JSONWebKeySet): (protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput) => Promise<KeyLikeType>; |
@@ -111,2 +111,5 @@ import type { KeyLike, JWSHeaderParameters, FlattenedJWSInput, JSONWebKeySet } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwks/remote'`. | ||
* | ||
* @param url URL to fetch the JSON Web Key Set from. | ||
@@ -113,0 +116,0 @@ * @param options Options for the remote JSON Web Key Set. |
@@ -5,2 +5,5 @@ import type { CompactJWSHeaderParameters, KeyLike, SignOptions } from '../../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jws/compact/sign'`. | ||
* | ||
*/ | ||
@@ -7,0 +10,0 @@ export declare class CompactSign { |
@@ -13,2 +13,5 @@ import type { CompactVerifyResult, FlattenedJWSInput, GetKeyFunction, CompactJWSHeaderParameters, KeyLike, VerifyOptions, ResolvedKey } from '../../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jws/compact/verify'`. | ||
* | ||
* @param jws Compact JWS. | ||
@@ -15,0 +18,0 @@ * @param key Key to verify the JWS with. See |
@@ -5,2 +5,5 @@ import type { KeyLike, FlattenedJWS, JWSHeaderParameters, SignOptions } from '../../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jws/flattened/sign'`. | ||
* | ||
*/ | ||
@@ -7,0 +10,0 @@ export declare class FlattenedSign { |
@@ -13,2 +13,5 @@ import type { FlattenedVerifyResult, KeyLike, FlattenedJWSInput, JWSHeaderParameters, VerifyOptions, GetKeyFunction, ResolvedKey } from '../../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jws/flattened/verify'`. | ||
* | ||
* @param jws Flattened JWS. | ||
@@ -15,0 +18,0 @@ * @param key Key to verify the JWS with. See |
@@ -25,2 +25,5 @@ import type { KeyLike, GeneralJWS, JWSHeaderParameters, SignOptions } from '../../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jws/general/sign'`. | ||
* | ||
*/ | ||
@@ -27,0 +30,0 @@ export declare class GeneralSign { |
@@ -13,2 +13,5 @@ import type { GeneralJWSInput, GeneralVerifyResult, FlattenedJWSInput, GetKeyFunction, JWSHeaderParameters, KeyLike, VerifyOptions, ResolvedKey } from '../../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jws/general/verify'`. | ||
* | ||
* @param jws General JWS. | ||
@@ -15,0 +18,0 @@ * @param key Key to verify the JWS with. See |
@@ -15,2 +15,5 @@ import type { JWTPayload, KeyLike, DecryptOptions, JWTClaimVerificationOptions, GetKeyFunction, CompactJWEHeaderParameters, FlattenedJWE, JWTDecryptResult, ResolvedKey } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwt/decrypt'`. | ||
* | ||
* @param jwt JSON Web Token value (encoded as JWE). | ||
@@ -17,0 +20,0 @@ * @param key Private Key or Secret to decrypt and verify the JWT with. See |
@@ -6,2 +6,5 @@ import type { EncryptOptions, CompactJWEHeaderParameters, JWEKeyManagementHeaderParameters, KeyLike } from '../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jwt/encrypt'`. | ||
* | ||
*/ | ||
@@ -8,0 +11,0 @@ export declare class EncryptJWT extends ProduceJWT { |
@@ -6,2 +6,5 @@ import type { JWTHeaderParameters, KeyLike, SignOptions } from '../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jwt/sign'`. | ||
* | ||
*/ | ||
@@ -8,0 +11,0 @@ export declare class SignJWT extends ProduceJWT { |
@@ -10,2 +10,5 @@ import type { JWSHeaderParameters, JWTClaimVerificationOptions, JWTPayload } from '../types'; | ||
* | ||
* This class is exported (as a named export) from the main `'jose'` module entry point as well as | ||
* from its subpath export `'jose/jwt/unsecured'`. | ||
* | ||
*/ | ||
@@ -12,0 +15,0 @@ export declare class UnsecuredJWT extends ProduceJWT { |
@@ -17,2 +17,5 @@ import type { JWTPayload, KeyLike, VerifyOptions, JWTClaimVerificationOptions, JWTHeaderParameters, GetKeyFunction, FlattenedJWSInput, JWTVerifyResult, ResolvedKey } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwt/verify'`. | ||
* | ||
* @param jwt JSON Web Token value (encoded as JWS). | ||
@@ -19,0 +22,0 @@ * @param key Key to verify the JWT with. See |
@@ -6,2 +6,5 @@ import type { JWK, KeyLike } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/export'`. | ||
* | ||
* @param key Key representation to transform to a PEM-encoded SPKI string format. | ||
@@ -14,2 +17,5 @@ */ | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/export'`. | ||
* | ||
* @param key Key representation to transform to a PEM-encoded PKCS8 string format. | ||
@@ -21,4 +27,7 @@ */ | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/export'`. | ||
* | ||
* @param key Key representation to export as JWK. | ||
*/ | ||
export declare function exportJWK(key: KeyLike | Uint8Array): Promise<JWK>; |
@@ -35,2 +35,5 @@ import type { KeyLike } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/generate/keypair'`. | ||
* | ||
* @param alg JWA Algorithm Identifier to be used with the generated key pair. | ||
@@ -37,0 +40,0 @@ * @param options Additional options passed down to the key pair generation. |
@@ -16,2 +16,5 @@ import type { KeyLike } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/generate/secret'`. | ||
* | ||
* @param alg JWA Algorithm Identifier to be used with the generated secret. | ||
@@ -18,0 +21,0 @@ * @param options Additional options passed down to the secret generation. |
@@ -18,2 +18,5 @@ import type { JWK, KeyLike } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/import'`. | ||
* | ||
* @param spki PEM-encoded SPKI string | ||
@@ -33,2 +36,5 @@ * @param alg (Only effective in Web Crypto API runtimes) JSON Web Algorithm identifier to be used | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/import'`. | ||
* | ||
* @param x509 X.509 certificate string | ||
@@ -48,2 +54,5 @@ * @param alg (Only effective in Web Crypto API runtimes) JSON Web Algorithm identifier to be used | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/import'`. | ||
* | ||
* @param pkcs8 PEM-encoded PKCS#8 string | ||
@@ -62,2 +71,5 @@ * @param alg (Only effective in Web Crypto API runtimes) JSON Web Algorithm identifier to be used | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/key/import'`. | ||
* | ||
* @param jwk JSON Web Key. | ||
@@ -64,0 +76,0 @@ * @param alg (Only effective in Web Crypto API runtimes) JSON Web Algorithm identifier to be used |
@@ -8,4 +8,7 @@ import type { JWTPayload } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/jwt/decode'`. | ||
* | ||
* @param jwt JWT token in compact JWS serialization. | ||
*/ | ||
export declare function decodeJwt<PayloadType = JWTPayload>(jwt: string): PayloadType & JWTPayload; |
@@ -6,4 +6,7 @@ import type { JWSHeaderParameters, JWEHeaderParameters } from '../types'; | ||
* | ||
* This function is exported (as a named export) from the main `'jose'` module entry point as well | ||
* as from its subpath export `'jose/decode/protected_header'`. | ||
* | ||
* @param token JWE/JWS/JWT token in any JOSE serialization. | ||
*/ | ||
export declare function decodeProtectedHeader(token: string | object): ProtectedHeaderParameters; |
245
package.json
{ | ||
"name": "jose-browser-runtime", | ||
"version": "5.7.0", | ||
"version": "5.8.0", | ||
"homepage": "https://github.com/panva/jose", | ||
@@ -22,2 +22,245 @@ "repository": "panva/jose", | ||
}, | ||
"./jwk/embedded": { | ||
"types": "./dist/types/jwk/embedded.d.ts", | ||
"bun": "./dist/browser/jwk/embedded.js", | ||
"deno": "./dist/browser/jwk/embedded.js", | ||
"browser": "./dist/browser/jwk/embedded.js", | ||
"worker": "./dist/browser/jwk/embedded.js", | ||
"workerd": "./dist/browser/jwk/embedded.js", | ||
"node": "./dist/browser/jwk/embedded.js" | ||
}, | ||
"./jwk/thumbprint": { | ||
"types": "./dist/types/jwk/thumbprint.d.ts", | ||
"bun": "./dist/browser/jwk/thumbprint.js", | ||
"deno": "./dist/browser/jwk/thumbprint.js", | ||
"browser": "./dist/browser/jwk/thumbprint.js", | ||
"worker": "./dist/browser/jwk/thumbprint.js", | ||
"workerd": "./dist/browser/jwk/thumbprint.js", | ||
"node": "./dist/browser/jwk/thumbprint.js" | ||
}, | ||
"./key/import": { | ||
"types": "./dist/types/key/import.d.ts", | ||
"bun": "./dist/browser/key/import.js", | ||
"deno": "./dist/browser/key/import.js", | ||
"browser": "./dist/browser/key/import.js", | ||
"worker": "./dist/browser/key/import.js", | ||
"workerd": "./dist/browser/key/import.js", | ||
"node": "./dist/browser/key/import.js" | ||
}, | ||
"./key/export": { | ||
"types": "./dist/types/key/export.d.ts", | ||
"bun": "./dist/browser/key/export.js", | ||
"deno": "./dist/browser/key/export.js", | ||
"browser": "./dist/browser/key/export.js", | ||
"worker": "./dist/browser/key/export.js", | ||
"workerd": "./dist/browser/key/export.js", | ||
"node": "./dist/browser/key/export.js" | ||
}, | ||
"./key/generate/keypair": { | ||
"types": "./dist/types/key/generate_key_pair.d.ts", | ||
"bun": "./dist/browser/key/generate_key_pair.js", | ||
"deno": "./dist/browser/key/generate_key_pair.js", | ||
"browser": "./dist/browser/key/generate_key_pair.js", | ||
"worker": "./dist/browser/key/generate_key_pair.js", | ||
"workerd": "./dist/browser/key/generate_key_pair.js", | ||
"node": "./dist/browser/key/generate_key_pair.js" | ||
}, | ||
"./key/generate/secret": { | ||
"types": "./dist/types/key/generate_secret.d.ts", | ||
"bun": "./dist/browser/key/generate_secret.js", | ||
"deno": "./dist/browser/key/generate_secret.js", | ||
"browser": "./dist/browser/key/generate_secret.js", | ||
"worker": "./dist/browser/key/generate_secret.js", | ||
"workerd": "./dist/browser/key/generate_secret.js", | ||
"node": "./dist/browser/key/generate_secret.js" | ||
}, | ||
"./jwks/remote": { | ||
"types": "./dist/types/jwks/remote.d.ts", | ||
"bun": "./dist/browser/jwks/remote.js", | ||
"deno": "./dist/browser/jwks/remote.js", | ||
"browser": "./dist/browser/jwks/remote.js", | ||
"worker": "./dist/browser/jwks/remote.js", | ||
"workerd": "./dist/browser/jwks/remote.js", | ||
"node": "./dist/browser/jwks/remote.js" | ||
}, | ||
"./jwks/local": { | ||
"types": "./dist/types/jwks/local.d.ts", | ||
"bun": "./dist/browser/jwks/local.js", | ||
"deno": "./dist/browser/jwks/local.js", | ||
"browser": "./dist/browser/jwks/local.js", | ||
"worker": "./dist/browser/jwks/local.js", | ||
"workerd": "./dist/browser/jwks/local.js", | ||
"node": "./dist/browser/jwks/local.js" | ||
}, | ||
"./jwt/sign": { | ||
"types": "./dist/types/jwt/sign.d.ts", | ||
"bun": "./dist/browser/jwt/sign.js", | ||
"deno": "./dist/browser/jwt/sign.js", | ||
"browser": "./dist/browser/jwt/sign.js", | ||
"worker": "./dist/browser/jwt/sign.js", | ||
"workerd": "./dist/browser/jwt/sign.js", | ||
"node": "./dist/browser/jwt/sign.js" | ||
}, | ||
"./jwt/verify": { | ||
"types": "./dist/types/jwt/verify.d.ts", | ||
"bun": "./dist/browser/jwt/verify.js", | ||
"deno": "./dist/browser/jwt/verify.js", | ||
"browser": "./dist/browser/jwt/verify.js", | ||
"worker": "./dist/browser/jwt/verify.js", | ||
"workerd": "./dist/browser/jwt/verify.js", | ||
"node": "./dist/browser/jwt/verify.js" | ||
}, | ||
"./jwt/encrypt": { | ||
"types": "./dist/types/jwt/encrypt.d.ts", | ||
"bun": "./dist/browser/jwt/encrypt.js", | ||
"deno": "./dist/browser/jwt/encrypt.js", | ||
"browser": "./dist/browser/jwt/encrypt.js", | ||
"worker": "./dist/browser/jwt/encrypt.js", | ||
"workerd": "./dist/browser/jwt/encrypt.js", | ||
"node": "./dist/browser/jwt/encrypt.js" | ||
}, | ||
"./jwt/decrypt": { | ||
"types": "./dist/types/jwt/decrypt.d.ts", | ||
"bun": "./dist/browser/jwt/decrypt.js", | ||
"deno": "./dist/browser/jwt/decrypt.js", | ||
"browser": "./dist/browser/jwt/decrypt.js", | ||
"worker": "./dist/browser/jwt/decrypt.js", | ||
"workerd": "./dist/browser/jwt/decrypt.js", | ||
"node": "./dist/browser/jwt/decrypt.js" | ||
}, | ||
"./jwt/unsecured": { | ||
"types": "./dist/types/jwt/unsecured.d.ts", | ||
"bun": "./dist/browser/jwt/unsecured.js", | ||
"deno": "./dist/browser/jwt/unsecured.js", | ||
"browser": "./dist/browser/jwt/unsecured.js", | ||
"worker": "./dist/browser/jwt/unsecured.js", | ||
"workerd": "./dist/browser/jwt/unsecured.js", | ||
"node": "./dist/browser/jwt/unsecured.js" | ||
}, | ||
"./jwt/decode": { | ||
"types": "./dist/types/util/decode_jwt.d.ts", | ||
"bun": "./dist/browser/util/decode_jwt.js", | ||
"deno": "./dist/browser/util/decode_jwt.js", | ||
"browser": "./dist/browser/util/decode_jwt.js", | ||
"worker": "./dist/browser/util/decode_jwt.js", | ||
"workerd": "./dist/browser/util/decode_jwt.js", | ||
"node": "./dist/browser/util/decode_jwt.js" | ||
}, | ||
"./decode/protected_header": { | ||
"types": "./dist/types/util/decode_protected_header.d.ts", | ||
"bun": "./dist/browser/util/decode_protected_header.js", | ||
"deno": "./dist/browser/util/decode_protected_header.js", | ||
"browser": "./dist/browser/util/decode_protected_header.js", | ||
"worker": "./dist/browser/util/decode_protected_header.js", | ||
"workerd": "./dist/browser/util/decode_protected_header.js", | ||
"node": "./dist/browser/util/decode_protected_header.js" | ||
}, | ||
"./jws/compact/sign": { | ||
"types": "./dist/types/jws/compact/sign.d.ts", | ||
"bun": "./dist/browser/jws/compact/sign.js", | ||
"deno": "./dist/browser/jws/compact/sign.js", | ||
"browser": "./dist/browser/jws/compact/sign.js", | ||
"worker": "./dist/browser/jws/compact/sign.js", | ||
"workerd": "./dist/browser/jws/compact/sign.js", | ||
"node": "./dist/browser/jws/compact/sign.js" | ||
}, | ||
"./jws/compact/verify": { | ||
"types": "./dist/types/jws/compact/verify.d.ts", | ||
"bun": "./dist/browser/jws/compact/verify.js", | ||
"deno": "./dist/browser/jws/compact/verify.js", | ||
"browser": "./dist/browser/jws/compact/verify.js", | ||
"worker": "./dist/browser/jws/compact/verify.js", | ||
"workerd": "./dist/browser/jws/compact/verify.js", | ||
"node": "./dist/browser/jws/compact/verify.js" | ||
}, | ||
"./jws/flattened/sign": { | ||
"types": "./dist/types/jws/flattened/sign.d.ts", | ||
"bun": "./dist/browser/jws/flattened/sign.js", | ||
"deno": "./dist/browser/jws/flattened/sign.js", | ||
"browser": "./dist/browser/jws/flattened/sign.js", | ||
"worker": "./dist/browser/jws/flattened/sign.js", | ||
"workerd": "./dist/browser/jws/flattened/sign.js", | ||
"node": "./dist/browser/jws/flattened/sign.js" | ||
}, | ||
"./jws/flattened/verify": { | ||
"types": "./dist/types/jws/flattened/verify.d.ts", | ||
"bun": "./dist/browser/jws/flattened/verify.js", | ||
"deno": "./dist/browser/jws/flattened/verify.js", | ||
"browser": "./dist/browser/jws/flattened/verify.js", | ||
"worker": "./dist/browser/jws/flattened/verify.js", | ||
"workerd": "./dist/browser/jws/flattened/verify.js", | ||
"node": "./dist/browser/jws/flattened/verify.js" | ||
}, | ||
"./jws/general/sign": { | ||
"types": "./dist/types/jws/general/sign.d.ts", | ||
"bun": "./dist/browser/jws/general/sign.js", | ||
"deno": "./dist/browser/jws/general/sign.js", | ||
"browser": "./dist/browser/jws/general/sign.js", | ||
"worker": "./dist/browser/jws/general/sign.js", | ||
"workerd": "./dist/browser/jws/general/sign.js", | ||
"node": "./dist/browser/jws/general/sign.js" | ||
}, | ||
"./jws/general/verify": { | ||
"types": "./dist/types/jws/general/verify.d.ts", | ||
"bun": "./dist/browser/jws/general/verify.js", | ||
"deno": "./dist/browser/jws/general/verify.js", | ||
"browser": "./dist/browser/jws/general/verify.js", | ||
"worker": "./dist/browser/jws/general/verify.js", | ||
"workerd": "./dist/browser/jws/general/verify.js", | ||
"node": "./dist/browser/jws/general/verify.js" | ||
}, | ||
"./jwe/compact/encrypt": { | ||
"types": "./dist/types/jwe/compact/encrypt.d.ts", | ||
"bun": "./dist/browser/jwe/compact/encrypt.js", | ||
"deno": "./dist/browser/jwe/compact/encrypt.js", | ||
"browser": "./dist/browser/jwe/compact/encrypt.js", | ||
"worker": "./dist/browser/jwe/compact/encrypt.js", | ||
"workerd": "./dist/browser/jwe/compact/encrypt.js", | ||
"node": "./dist/browser/jwe/compact/encrypt.js" | ||
}, | ||
"./jwe/compact/decrypt": { | ||
"types": "./dist/types/jwe/compact/decrypt.d.ts", | ||
"bun": "./dist/browser/jwe/compact/decrypt.js", | ||
"deno": "./dist/browser/jwe/compact/decrypt.js", | ||
"browser": "./dist/browser/jwe/compact/decrypt.js", | ||
"worker": "./dist/browser/jwe/compact/decrypt.js", | ||
"workerd": "./dist/browser/jwe/compact/decrypt.js", | ||
"node": "./dist/browser/jwe/compact/decrypt.js" | ||
}, | ||
"./jwe/flattened/encrypt": { | ||
"types": "./dist/types/jwe/flattened/encrypt.d.ts", | ||
"bun": "./dist/browser/jwe/flattened/encrypt.js", | ||
"deno": "./dist/browser/jwe/flattened/encrypt.js", | ||
"browser": "./dist/browser/jwe/flattened/encrypt.js", | ||
"worker": "./dist/browser/jwe/flattened/encrypt.js", | ||
"workerd": "./dist/browser/jwe/flattened/encrypt.js", | ||
"node": "./dist/browser/jwe/flattened/encrypt.js" | ||
}, | ||
"./jwe/flattened/decrypt": { | ||
"types": "./dist/types/jwe/flattened/decrypt.d.ts", | ||
"bun": "./dist/browser/jwe/flattened/decrypt.js", | ||
"deno": "./dist/browser/jwe/flattened/decrypt.js", | ||
"browser": "./dist/browser/jwe/flattened/decrypt.js", | ||
"worker": "./dist/browser/jwe/flattened/decrypt.js", | ||
"workerd": "./dist/browser/jwe/flattened/decrypt.js", | ||
"node": "./dist/browser/jwe/flattened/decrypt.js" | ||
}, | ||
"./jwe/general/encrypt": { | ||
"types": "./dist/types/jwe/general/encrypt.d.ts", | ||
"bun": "./dist/browser/jwe/general/encrypt.js", | ||
"deno": "./dist/browser/jwe/general/encrypt.js", | ||
"browser": "./dist/browser/jwe/general/encrypt.js", | ||
"worker": "./dist/browser/jwe/general/encrypt.js", | ||
"workerd": "./dist/browser/jwe/general/encrypt.js", | ||
"node": "./dist/browser/jwe/general/encrypt.js" | ||
}, | ||
"./jwe/general/decrypt": { | ||
"types": "./dist/types/jwe/general/decrypt.d.ts", | ||
"bun": "./dist/browser/jwe/general/decrypt.js", | ||
"deno": "./dist/browser/jwe/general/decrypt.js", | ||
"browser": "./dist/browser/jwe/general/decrypt.js", | ||
"worker": "./dist/browser/jwe/general/decrypt.js", | ||
"workerd": "./dist/browser/jwe/general/decrypt.js", | ||
"node": "./dist/browser/jwe/general/decrypt.js" | ||
}, | ||
"./errors": { | ||
@@ -24,0 +267,0 @@ "types": "./dist/types/util/errors.d.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
601756
118
12878