@adorsys/jwe-codec
Advanced tools
Comparing version 0.0.1-beta.0 to 0.0.1-beta.1
{ | ||
"name": "@adorsys/jwe-codec", | ||
"version": "0.0.1-beta.0", | ||
"version": "0.0.1-beta.1", | ||
"description": "Codec to encrypt any javascript value into a JsonWebEncryption (JWE)", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -10,6 +10,6 @@ interface JWK { | ||
interface Codec { | ||
encrypt: (any) => Promise<string>, | ||
decrypt: (string) => Promise<any> | ||
encrypt(value: any): Promise<string>, | ||
decrypt(cipher: string): Promise<any> | ||
} | ||
export declare const jwe: () => Promise<Codec> | ||
export default function jwe(key: JWK): Promise<Codec> |
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
5286