jose-browser-runtime
Advanced tools
Comparing version 3.12.0 to 3.12.1
import parseJWK from '../jwk/parse.js'; | ||
import { JWKSInvalid, JOSENotSupported, JWKSNoMatchingKey, JWKSMultipleMatchingKeys, } from '../util/errors.js'; | ||
import fetchJson from '../runtime/fetch.js'; | ||
import fetchJwks from '../runtime/fetch_jwks.js'; | ||
import isObject from '../lib/is_object.js'; | ||
@@ -106,3 +106,3 @@ function getKtyFromAlg(alg) { | ||
if (!this._pendingFetch) { | ||
this._pendingFetch = fetchJson(this._url, this._timeoutDuration, this._options) | ||
this._pendingFetch = fetchJwks(this._url, this._timeoutDuration, this._options) | ||
.then((json) => { | ||
@@ -109,0 +109,0 @@ if (typeof json !== 'object' || |
{ | ||
"name": "jose-browser-runtime", | ||
"version": "3.12.0", | ||
"version": "3.12.1", | ||
"description": "(Browser 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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
124669
0