@openid4vc/openid4vci 0.3.0-alpha-20251030142433 → 0.3.0-alpha-20251031085020
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 +10 -10
- package/dist/index.d.ts +10 -10
- 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 +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1019,7 +1019,7 @@ const zCredentialRequestJwtProofTypeHeader = zJwtHeader.merge(z.object({
|
|
|
1019
1019
|
})).loose().refine(({ kid, jwk }) => jwk === void 0 || kid === void 0, { message: `Both 'jwk' and 'kid' are defined. Only one is allowed` }).refine(({ trust_chain, kid }) => !trust_chain || !kid, { message: `When 'trust_chain' is provided, 'kid' is required` });
|
|
1020
1020
|
const zCredentialRequestJwtProofTypePayload = z.object({
|
|
1021
1021
|
...zJwtPayload.shape,
|
|
1022
|
-
aud: zHttpsUrl,
|
|
1022
|
+
aud: z.union([zHttpsUrl, z.array(zHttpsUrl)]),
|
|
1023
1023
|
iat: zInteger
|
|
1024
1024
|
}).loose();
|
|
1025
1025
|
|