@openid4vc/oauth2 0.3.0-alpha-20250504132432 → 0.3.0-alpha-20250511115959
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.d.mts +26 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -339,7 +339,8 @@ function jwtSignerFromJwt({
|
|
|
339
339
|
signer: {
|
|
340
340
|
alg: header.alg,
|
|
341
341
|
method: "x5c",
|
|
342
|
-
x5c: header.x5c
|
|
342
|
+
x5c: header.x5c,
|
|
343
|
+
kid: header.kid
|
|
343
344
|
}
|
|
344
345
|
});
|
|
345
346
|
}
|
|
@@ -415,7 +416,8 @@ ${found.map((m) => m.valid ? `SUCCEEDED: method ${m.method}` : `FAILED: method $
|
|
|
415
416
|
if (!allowedSignerMethods || allowedSignerMethods.includes("custom")) {
|
|
416
417
|
return {
|
|
417
418
|
method: "custom",
|
|
418
|
-
alg: header.alg
|
|
419
|
+
alg: header.alg,
|
|
420
|
+
kid: header.kid
|
|
419
421
|
};
|
|
420
422
|
}
|
|
421
423
|
throw new Oauth2Error(
|