@openid4vc/openid4vci 0.3.0-alpha-20251107130106 → 0.3.0-alpha-20251107132439

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.cjs CHANGED
@@ -1036,10 +1036,10 @@ const zCredentialRequestProofJwt = zod.default.object({
1036
1036
  proof_type: zJwtProofTypeIdentifier,
1037
1037
  jwt: __openid4vc_oauth2.zCompactJwt
1038
1038
  });
1039
- const zCredentialRequestJwtProofTypeHeader = __openid4vc_oauth2.zJwtHeader.merge(zod.default.object({
1039
+ const zCredentialRequestJwtProofTypeHeader = __openid4vc_oauth2.zJwtHeader.extend({
1040
1040
  key_attestation: zod.default.optional(__openid4vc_oauth2.zCompactJwt),
1041
1041
  typ: zod.default.literal("openid4vci-proof+jwt")
1042
- })).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` });
1042
+ }).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` });
1043
1043
  const zCredentialRequestJwtProofTypePayload = zod.default.object({
1044
1044
  ...__openid4vc_oauth2.zJwtPayload.shape,
1045
1045
  aud: zod.default.union([__openid4vc_utils.zHttpsUrl, zod.default.array(__openid4vc_utils.zHttpsUrl)]),