@sphereon/ssi-sdk-ext.identifier-resolution 0.28.1-feature.esm.cjs.11 → 0.28.1-feature.esm.cjs.14

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.
@@ -45,10 +45,10 @@ export async function resolveExternalOIDFEntityIdIdentifier(
45
45
  trustAnchors: [trustAnchor],
46
46
  })
47
47
 
48
- if (resolveResult.error || !resolveResult.trustChain) {
48
+ if (resolveResult.errorMessage || !resolveResult.trustChain) {
49
49
  errorList[trustAnchor] = resolveResult.errorMessage ?? 'unspecified'
50
50
  } else {
51
- const trustChain: ReadonlyArray<string> = resolveResult.trustChain.asJsReadonlyArrayView()
51
+ const trustChain = resolveResult.trustChain
52
52
  if (trustChain.length === 0) {
53
53
  errorList[trustAnchor] = 'Trust chain is empty'
54
54
  continue