@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 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
- format: supported.format,
2399
- types: (0, import_oid4vci_common2.getTypesFromCredentialSupported)(supported)
2402
+ credential_configuration_id,
2403
+ credential_identifiers: (0, import_oid4vci_common2.getTypesFromCredentialSupported)(supported)
2400
2404
  };
2401
2405
  });
2402
2406
  const signCallbacks = requestObjectOpts.signCallbacks ?? {