Comparing version 1.12.1 to 1.13.0
@@ -5,2 +5,11 @@ # Change Log | ||
# [1.13.0](https://github.com/panva/jose/compare/v1.12.1...v1.13.0) (2019-11-23) | ||
### Features | ||
* return the CEK from JWE.decrypt operation with { complete: true } ([c3eb845](https://github.com/panva/jose/commit/c3eb8450b98b2f5ecc127d69afe85a7ae2cc5aaa)) | ||
## [1.12.1](https://github.com/panva/jose/compare/v1.12.0...v1.12.1) (2019-11-14) | ||
@@ -7,0 +16,0 @@ |
@@ -176,3 +176,3 @@ const { inflateRawSync } = require('zlib') | ||
if (complete) { | ||
const result = { cleartext, key } | ||
const result = { cleartext, key, cek } | ||
if (aad) result.aad = aad | ||
@@ -179,0 +179,0 @@ if (header) result.header = header |
{ | ||
"name": "jose", | ||
"version": "1.12.1", | ||
"version": "1.13.0", | ||
"description": "JSON Web Almost Everything - JWA, JWS, JWE, JWK, JWT, JWKS for Node.js with minimal dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -395,3 +395,3 @@ # jose | ||
[spec-okp]: https://tools.ietf.org/html/rfc8037 | ||
[draft-secp256k1]: https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-01 | ||
[draft-secp256k1]: https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-03 | ||
[draft-ietf-oauth-access-token-jwt]: https://tools.ietf.org/html/draft-ietf-oauth-access-token-jwt | ||
@@ -398,0 +398,0 @@ [draft-jarm]: https://openid.net/specs/openid-financial-api-jarm.html |
@@ -320,2 +320,3 @@ /// <reference types="node" /> | ||
key: JWK.Key; | ||
cek: JWK.OctKey; | ||
aad?: string; | ||
@@ -322,0 +323,0 @@ header?: object; |
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
208336
4596