@openid4vc/oauth2 0.3.0-alpha-20250704115435 → 0.3.0-alpha-20250707121715
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1010,7 +1010,7 @@ import { ContentType as ContentType2, createZodFetcher as createZodFetcher2 } fr
|
|
|
1010
1010
|
import { InvalidFetchResponseError as InvalidFetchResponseError2 } from "@openid4vc/utils";
|
|
1011
1011
|
async function fetchJwks(jwksUrl, fetch) {
|
|
1012
1012
|
const fetcher = createZodFetcher2(fetch);
|
|
1013
|
-
const { result, response } = await fetcher(zJwkSet, ContentType2.JwkSet, jwksUrl);
|
|
1013
|
+
const { result, response } = await fetcher(zJwkSet, [ContentType2.JwkSet, ContentType2.Json], jwksUrl);
|
|
1014
1014
|
if (!response.ok) {
|
|
1015
1015
|
throw new InvalidFetchResponseError2(
|
|
1016
1016
|
`Fetching JWKs from jwks_uri '${jwksUrl}' resulted in an unsuccessfull response with status code '${response.status}'.`,
|