@openid4vc/openid4vci 0.4.3-alpha-20251210140242 → 0.4.3

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 CHANGED
@@ -163,7 +163,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
163
163
  name: z.ZodOptional<z.ZodString>;
164
164
  locale: z.ZodOptional<z.ZodString>;
165
165
  }, z.core.$loose>>>;
166
- path: z.ZodTuple<[z.ZodString, z.ZodString], z.ZodString>;
166
+ path: z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
167
167
  }, z.core.$loose>>>;
168
168
  }, z.core.$loose>>;
169
169
  }, z.core.$loose>, z.ZodObject<{
@@ -553,7 +553,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
553
553
  name: z.ZodOptional<z.ZodString>;
554
554
  locale: z.ZodOptional<z.ZodString>;
555
555
  }, z.core.$loose>>>;
556
- path: z.ZodTuple<[z.ZodString, z.ZodString], z.ZodString>;
556
+ path: z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
557
557
  }, z.core.$loose>>>;
558
558
  }, z.core.$loose>, z.ZodObject<{
559
559
  scope: z.ZodOptional<z.ZodString>;
package/dist/index.mjs CHANGED
@@ -298,7 +298,7 @@ const zClaimDescriptionPathValue = z.union([
298
298
  z.null()
299
299
  ]);
300
300
  const zClaimsDescriptionPath = z.tuple([zClaimDescriptionPathValue], zClaimDescriptionPathValue);
301
- const zMsoMdocClaimsDescriptionPath = z.tuple([z.string(), z.string()], z.string(), { message: "mso_mdoc claims description path MUST be an array with at least two string elements, pointing to the namespace and element identifier within an mdoc credential" });
301
+ const zMsoMdocClaimsDescriptionPath = z.tuple([z.string(), z.string()], zClaimDescriptionPathValue, { message: "mso_mdoc claims description path MUST be an array with at least two string elements, pointing to the namespace and element identifier within an mdoc credential" });
302
302
  const zIssuerMetadataClaimsDescription = z.object({
303
303
  path: zClaimsDescriptionPath,
304
304
  mandatory: z.boolean().optional(),