@sphereon/ssi-sdk-ext.jwt-service 0.36.1-feature.SSISDK.82.and.SSISDK.70.35 → 0.36.1-feature.SSISDK.89.metadata.persistence.103

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.js CHANGED
@@ -6402,7 +6402,7 @@ var checkAndUpdateJwsHeader = /* @__PURE__ */ __name(async ({ mode = "auto", ide
6402
6402
  }, "checkAndUpdateJwsHeader");
6403
6403
  var checkAndUpdateX5cHeader = /* @__PURE__ */ __name(async ({ header, identifier, noIdentifierInHeader = false }, context) => {
6404
6404
  const { x5c } = header;
6405
- if (x5c) {
6405
+ if (x5c?.length) {
6406
6406
  const x5cIdentifier = await context.agent.identifierManagedGetByX5c({
6407
6407
  identifier: x5c
6408
6408
  });