@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.33.1-feature.jose.vcdm.63 → 0.33.1-feature.jose.vcdm.65

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
@@ -1149,7 +1149,7 @@ var LdSuiteLoader = class {
1149
1149
  signatureMap = {};
1150
1150
  getSignatureSuiteForKeyType(keyType, verificationType) {
1151
1151
  const verificationToSuites = this.signatureMap[keyType];
1152
- const suites = verificationType && verificationType !== "" ? verificationToSuites?.[verificationType] : Object.values(verificationToSuites)?.[0];
1152
+ const suites = verificationType && verificationType !== "" && verificationType !== "JsonWebKey2020" ? verificationToSuites[verificationType] : Object.values(verificationToSuites ?? {})?.[0];
1153
1153
  if (Array.isArray(suites) && suites.length > 0) {
1154
1154
  return suites;
1155
1155
  }