@sphereon/ssi-sdk.oid4vci-holder 0.34.1-feature.SSISDK.78.306 → 0.34.1-feature.SSISDK.82.linkedVP.325

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
@@ -1920,7 +1920,7 @@ var getCredentialConfigsSupportedBySingleTypeOrId = /* @__PURE__ */ __name(async
1920
1920
  }
1921
1921
  __name(createIdFromTypes, "createIdFromTypes");
1922
1922
  if (configurationId) {
1923
- const allSupported2 = client.getCredentialsSupported(format);
1923
+ const allSupported2 = client.getCredentialsSupported(void 0, format);
1924
1924
  return Object.fromEntries(Object.entries(allSupported2).filter(([id, supported]) => id === configurationId || supported.id === configurationId || createIdFromTypes(supported) === configurationId));
1925
1925
  }
1926
1926
  if (!client.credentialOffer) {
@@ -2400,7 +2400,7 @@ var OID4VCIHolder = class _OID4VCIHolder {
2400
2400
  let oid4vciClient;
2401
2401
  let offer;
2402
2402
  if (requestData.existingClientState) {
2403
- oid4vciClient = await import_oid4vci_client3.OpenID4VCIClient.fromState({
2403
+ oid4vciClient = await import_oid4vci_client3.OpenID4VCIClientV1_0_15.fromState({
2404
2404
  state: requestData.existingClientState
2405
2405
  });
2406
2406
  offer = oid4vciClient.credentialOffer;
@@ -2417,7 +2417,7 @@ var OID4VCIHolder = class _OID4VCIHolder {
2417
2417
  }
2418
2418
  if (!offer) {
2419
2419
  logger.log(`Issuer url received (no credential offer): ${uri}`);
2420
- oid4vciClient = await import_oid4vci_client3.OpenID4VCIClient.fromCredentialIssuer({
2420
+ oid4vciClient = await import_oid4vci_client3.OpenID4VCIClientV1_0_15.fromCredentialIssuer({
2421
2421
  credentialIssuer: uri,
2422
2422
  authorizationRequest: authorizationRequestOpts,
2423
2423
  clientId: authorizationRequestOpts.clientId,
@@ -2425,7 +2425,7 @@ var OID4VCIHolder = class _OID4VCIHolder {
2425
2425
  });
2426
2426
  } else {
2427
2427
  logger.log(`Credential offer received: ${uri}`);
2428
- oid4vciClient = await import_oid4vci_client3.OpenID4VCIClient.fromURI({
2428
+ oid4vciClient = await import_oid4vci_client3.OpenID4VCIClientV1_0_15.fromURI({
2429
2429
  uri,
2430
2430
  authorizationRequest: authorizationRequestOpts,
2431
2431
  clientId: authorizationRequestOpts.clientId,
@@ -2558,7 +2558,7 @@ var OID4VCIHolder = class _OID4VCIHolder {
2558
2558
  if (!openID4VCIClientState) {
2559
2559
  return Promise.reject(Error("Missing openID4VCI client state in context"));
2560
2560
  }
2561
- const client = await import_oid4vci_client3.OpenID4VCIClient.fromState({
2561
+ const client = await import_oid4vci_client3.OpenID4VCIClientV1_0_15.fromState({
2562
2562
  state: openID4VCIClientState
2563
2563
  });
2564
2564
  const credentialsSupported = await getCredentialConfigsSupportedMerged({