@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.js CHANGED
@@ -811,10 +811,10 @@ function parseAuthorizationRequestVersion(request) {
811
811
  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) {
812
812
  requirements.push(["<", 28]);
813
813
  }
814
- if (request.client_metadata?.vp_formats) {
814
+ if (request.client_metadata?.vp_formats_supported) {
815
815
  requirements.push([">=", 27]);
816
816
  }
817
- if (request.client_metadata?.vp_formats_supported) {
817
+ if (request.client_metadata?.vp_formats) {
818
818
  requirements.push(["<", 27]);
819
819
  }
820
820
  if (request.client_id?.startsWith("openid_federation:") || request.client_id?.startsWith("decentralized_identifier:")) {