@openid4vc/openid4vci 0.3.0-alpha-20251030140425 → 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.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