@sphereon/ssi-sdk.oid4vci-holder 0.33.1-feature.vcdm2.tsup.44 → 0.33.1-feature.vcdm2.tsup.46

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
@@ -2796,7 +2796,8 @@ var OID4VCIHolder = class _OID4VCIHolder {
2796
2796
  if (import_ssi_types2.CredentialMapper.isWrappedSdJwtVerifiableCredential(wrappedIssuerVC)) {
2797
2797
  issuer = trimmed(wrappedIssuerVC.decoded?.sub);
2798
2798
  } else if (import_ssi_types2.CredentialMapper.isWrappedW3CVerifiableCredential(wrappedIssuerVC)) {
2799
- issuer = trimmed(wrappedIssuerVC.credential?.sub) ?? trimmed(wrappedIssuerVC.credential?.credentialSubject?.id) ?? trimmed(this.idFromW3cCredentialSubject(wrappedIssuerVC));
2799
+ issuer = trimmed(wrappedIssuerVC.credential?.sub) ?? // @ts-ignore
2800
+ trimmed(wrappedIssuerVC.credential?.credentialSubject?.id) ?? trimmed(this.idFromW3cCredentialSubject(wrappedIssuerVC));
2800
2801
  } else if (import_ssi_types2.CredentialMapper.isWrappedMdocCredential(wrappedIssuerVC)) {
2801
2802
  return Promise.reject(Error("mdoc not yet supported"));
2802
2803
  }