@sphereon/ssi-sdk-ext.jwt-service 0.37.2-next.34 → 0.38.0

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
@@ -4573,9 +4573,9 @@ var require_plugin_schema = __commonJS({
4573
4573
  description: "Represents an endpoint of a Service entry in a DID document."
4574
4574
  },
4575
4575
  DidDocumentJwks: {
4576
- $ref: '#/components/schemas/Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36172-36897-st_index.d.ts-0-64138[]>'
4576
+ $ref: '#/components/schemas/Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36208-36933-st_index.d.ts-0-64696[]>'
4577
4577
  },
4578
- 'Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36172-36897-st_index.d.ts-0-64138[]>': {
4578
+ 'Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36208-36933-st_index.d.ts-0-64696[]>': {
4579
4579
  type: "object",
4580
4580
  properties: {
4581
4581
  verificationMethod: {
@@ -6430,8 +6430,6 @@ var checkAndUpdateDidHeader = /* @__PURE__ */ __name(async ({ header, identifier
6430
6430
  } else if (!noIdentifierInHeader) {
6431
6431
  if (!isManagedIdentifierDidResult(identifier)) {
6432
6432
  return Promise.reject(Error("No kid header in the JWT, but mode was did and also no DID identifier was provided!"));
6433
- } else if (header.jwk || header.x5c) {
6434
- return Promise.reject(Error("did mode was chosen, but jwk or x5c headers were provided. These cannot be used together!"));
6435
6433
  }
6436
6434
  header.kid = identifier.kid;
6437
6435
  }