@openid4vc/openid4vci 0.5.1 → 0.5.2-alpha-20260619074550

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
@@ -2912,8 +2912,8 @@ declare function createInteractiveAuthorizationErrorResponse(options: CreateInte
2912
2912
  declare const zInteractiveAuthorizationInitialRequest: z.ZodObject<{
2913
2913
  interaction_types_supported: z.ZodString;
2914
2914
  response_type: z.ZodDefault<z.ZodLiteral<"code">>;
2915
- scope: z.ZodOptional<z.ZodString>;
2916
2915
  issuer_state: z.ZodOptional<z.ZodString>;
2916
+ scope: z.ZodOptional<z.ZodString>;
2917
2917
  client_id: z.ZodString;
2918
2918
  redirect_uri: z.ZodOptional<z.ZodURL>;
2919
2919
  resource: z.ZodOptional<z.ZodURL>;
package/dist/index.mjs CHANGED
@@ -1718,7 +1718,7 @@ const zDeferredCredentialResponse = zBaseCredentialResponse.superRefine((value,
1718
1718
  code: "custom",
1719
1719
  message: `'interval' MUST be defined when 'transaction_id' is defined.`
1720
1720
  });
1721
- if (notification_id && credentials) ctx.addIssue({
1721
+ if (notification_id && !credentials) ctx.addIssue({
1722
1722
  code: "custom",
1723
1723
  message: `'notification_id' MUST NOT be defined when 'credentials' is not defined.`
1724
1724
  });