@sphereon/ssi-sdk.ebsi-support 0.34.1-next.299 → 0.34.1-next.322
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 +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +24 -24
- package/src/agent/EbsiSupport.ts +4 -4
- package/src/functions/Attestation.ts +8 -4
package/dist/index.cjs
CHANGED
|
@@ -2393,10 +2393,14 @@ var ebsiCreateAttestationAuthRequestURL = /* @__PURE__ */ __name(async ({ client
|
|
|
2393
2393
|
throw Error(`Could not find '${credentialType}' with format(s) '${formats.join(",")}' in list of supported types for issuer: ${credentialIssuer}`);
|
|
2394
2394
|
}
|
|
2395
2395
|
const authorizationDetails = supportedConfigurations.map((supported) => {
|
|
2396
|
+
const credential_configuration_id = supported.id;
|
|
2397
|
+
if (!credential_configuration_id) {
|
|
2398
|
+
throw Error(`Credential configuration id missing for credential type: ${credentialType}`);
|
|
2399
|
+
}
|
|
2396
2400
|
return {
|
|
2397
2401
|
type: "openid_credential",
|
|
2398
|
-
|
|
2399
|
-
|
|
2402
|
+
credential_configuration_id,
|
|
2403
|
+
credential_identifiers: (0, import_oid4vci_common2.getTypesFromCredentialSupported)(supported)
|
|
2400
2404
|
};
|
|
2401
2405
|
});
|
|
2402
2406
|
const signCallbacks = requestObjectOpts.signCallbacks ?? {
|