@sphereon/ssi-sdk-ext.jwt-service 0.36.1-next.11 → 0.36.1-next.113
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/plugin.schema.json +2 -2
- package/src/functions/index.ts +1 -1
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-
|
|
4602
|
+
$ref: '#/components/schemas/Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36172-36897-st_index.d.ts-0-63936[]>'
|
|
4603
4603
|
},
|
|
4604
|
-
'Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-
|
|
4604
|
+
'Record<Exclude<DIDDocumentSection,("publicKey"|"service")>,def-interface-st_index.d.ts-36172-36897-st_index.d.ts-0-63936[]>': {
|
|
4605
4605
|
type: "object",
|
|
4606
4606
|
properties: {
|
|
4607
4607
|
verificationMethod: {
|
|
@@ -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
|
});
|