jose-node-esm-runtime
Advanced tools
Comparing version 3.11.5 to 3.11.6
@@ -31,3 +31,7 @@ import * as crypto from 'crypto'; | ||
try { | ||
return oneShotVerify(algorithm, data, keyInput, signature); | ||
let result = oneShotVerify(algorithm, data, keyInput, signature); | ||
if (result instanceof Promise) { | ||
result = await result; | ||
} | ||
return result; | ||
} | ||
@@ -34,0 +38,0 @@ catch { |
{ | ||
"name": "jose-node-esm-runtime", | ||
"version": "3.11.5", | ||
"version": "3.11.6", | ||
"description": "(Node.JS ESM Runtime) 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,3 +18,3 @@ # jose | ||
```console | ||
npm install jose@npm:jose-node-esm-runtime | ||
npm install jose-node-esm-runtime | ||
``` | ||
@@ -21,0 +21,0 @@ |
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
144704
3691