@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.js
CHANGED
|
@@ -1086,7 +1086,7 @@ var import_utils14 = require("@openid4vc/utils");
|
|
|
1086
1086
|
var import_utils15 = require("@openid4vc/utils");
|
|
1087
1087
|
async function fetchJwks(jwksUrl, fetch) {
|
|
1088
1088
|
const fetcher = (0, import_utils14.createZodFetcher)(fetch);
|
|
1089
|
-
const { result, response } = await fetcher(zJwkSet, import_utils14.ContentType.JwkSet, jwksUrl);
|
|
1089
|
+
const { result, response } = await fetcher(zJwkSet, [import_utils14.ContentType.JwkSet, import_utils14.ContentType.Json], jwksUrl);
|
|
1090
1090
|
if (!response.ok) {
|
|
1091
1091
|
throw new import_utils15.InvalidFetchResponseError(
|
|
1092
1092
|
`Fetching JWKs from jwks_uri '${jwksUrl}' resulted in an unsuccessfull response with status code '${response.status}'.`,
|