@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.cjs CHANGED
@@ -1197,7 +1197,7 @@ var LdSuiteLoader = class {
1197
1197
  signatureMap = {};
1198
1198
  getSignatureSuiteForKeyType(keyType, verificationType) {
1199
1199
  const verificationToSuites = this.signatureMap[keyType];
1200
- const suites = verificationType && verificationType !== "" ? verificationToSuites?.[verificationType] : Object.values(verificationToSuites)?.[0];
1200
+ const suites = verificationType && verificationType !== "" && verificationType !== "JsonWebKey2020" ? verificationToSuites[verificationType] : Object.values(verificationToSuites ?? {})?.[0];
1201
1201
  if (Array.isArray(suites) && suites.length > 0) {
1202
1202
  return suites;
1203
1203
  }