@sphereon/oid4vci-common 0.19.1-fix.183 → 0.19.1-fix.197

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
@@ -1199,7 +1199,7 @@ function getTypesFromCredentialSupported(credentialSupported, opts) {
1199
1199
  let types = [];
1200
1200
  if (credentialSupported.format === "jwt_vc_json" || credentialSupported.format === "jwt_vc" || credentialSupported.format === "jwt_vc_json-ld" || credentialSupported.format === "ldp_vc") {
1201
1201
  types = getTypesFromObject(credentialSupported) ?? [];
1202
- } else if (credentialSupported.format === "dc+sd-jwt") {
1202
+ } else if (credentialSupported.format === "dc+sd-jwt" || credentialSupported.format === "vc+sd-jwt") {
1203
1203
  types = [
1204
1204
  credentialSupported.vct
1205
1205
  ];