@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.cjs CHANGED
@@ -6458,7 +6458,7 @@ var checkAndUpdateJwsHeader = /* @__PURE__ */ __name(async ({ mode = "auto", ide
6458
6458
  }, "checkAndUpdateJwsHeader");
6459
6459
  var checkAndUpdateX5cHeader = /* @__PURE__ */ __name(async ({ header, identifier, noIdentifierInHeader = false }, context) => {
6460
6460
  const { x5c } = header;
6461
- if (x5c) {
6461
+ if (x5c?.length) {
6462
6462
  const x5cIdentifier = await context.agent.identifierManagedGetByX5c({
6463
6463
  identifier: x5c
6464
6464
  });