@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.33.1-feature.jose.vcdm.62 → 0.33.1-feature.jose.vcdm.64
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/__tests__/issue-verify-flow-statuslist.test.ts +1 -3
- package/src/agent/CredentialProviderJsonld.ts +0 -1
- package/src/enums.ts +0 -1
- package/src/ld-context-loader.ts +0 -2
- package/src/ld-credential-module.ts +2 -9
- package/src/ld-document-loader.ts +10 -1
- package/src/ld-suite-loader.ts +6 -10
- package/src/suites/Ed25519Signature2020.ts +0 -1
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
|
|
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
|
}
|