jose-node-esm-runtime
Advanced tools
Comparing version 3.16.0 to 3.16.1
@@ -15,2 +15,5 @@ import ivFactory from '../../lib/iv.js'; | ||
constructor(plaintext) { | ||
if (!(plaintext instanceof Uint8Array)) { | ||
throw new TypeError('plaintext must be an instance of Uint8Array'); | ||
} | ||
this._plaintext = plaintext; | ||
@@ -17,0 +20,0 @@ } |
@@ -11,2 +11,5 @@ import isDisjoint from '../../lib/is_disjoint.js'; | ||
constructor(payload) { | ||
if (!(payload instanceof Uint8Array)) { | ||
throw new TypeError('payload must be an instance of Uint8Array'); | ||
} | ||
this._payload = payload; | ||
@@ -13,0 +16,0 @@ } |
{ | ||
"name": "jose-node-esm-runtime", | ||
"version": "3.16.0", | ||
"version": "3.16.1", | ||
"description": "(Node.JS ESM Runtime) 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
154152
3917