@openid4vc/openid4vp 0.3.0-alpha-20250713113151 → 0.3.0-alpha-20250713140735

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
@@ -754,10 +754,10 @@ function parseAuthorizationRequestVersion(request) {
754
754
  if (request.client_metadata?.vp_formats_supported?.mso_mdoc?.issuer_signed_alg_values || request.client_metadata?.vp_formats_supported?.mso_mdoc?.device_signed_alg_values) {
755
755
  requirements.push(["<", 28]);
756
756
  }
757
- if (request.client_metadata?.vp_formats) {
757
+ if (request.client_metadata?.vp_formats_supported) {
758
758
  requirements.push([">=", 27]);
759
759
  }
760
- if (request.client_metadata?.vp_formats_supported) {
760
+ if (request.client_metadata?.vp_formats) {
761
761
  requirements.push(["<", 27]);
762
762
  }
763
763
  if (request.client_id?.startsWith("openid_federation:") || request.client_id?.startsWith("decentralized_identifier:")) {