@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.cjs CHANGED
@@ -4599,9 +4599,9 @@ var require_plugin_schema = __commonJS({
4599
4599
  description: "Represents an endpoint of a Service entry in a DID document."
4600
4600
  },
4601
4601
  DidDocumentJwks: {
4602
- $ref: '#/components/schemas/Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36172-36897-st_index.d.ts-0-64138[]>'
4602
+ $ref: '#/components/schemas/Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36208-36933-st_index.d.ts-0-64696[]>'
4603
4603
  },
4604
- 'Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36172-36897-st_index.d.ts-0-64138[]>': {
4604
+ 'Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36208-36933-st_index.d.ts-0-64696[]>': {
4605
4605
  type: "object",
4606
4606
  properties: {
4607
4607
  verificationMethod: {
@@ -6486,8 +6486,6 @@ var checkAndUpdateDidHeader = /* @__PURE__ */ __name(async ({ header, identifier
6486
6486
  } else if (!noIdentifierInHeader) {
6487
6487
  if (!(0, import_ssi_sdk_ext2.isManagedIdentifierDidResult)(identifier)) {
6488
6488
  return Promise.reject(Error("No kid header in the JWT, but mode was did and also no DID identifier was provided!"));
6489
- } else if (header.jwk || header.x5c) {
6490
- return Promise.reject(Error("did mode was chosen, but jwk or x5c headers were provided. These cannot be used together!"));
6491
6489
  }
6492
6490
  header.kid = identifier.kid;
6493
6491
  }