@openid4vc/openid4vci 0.3.0-alpha-20251031103301 → 0.3.0-alpha-20251107125937
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 → index.cjs} +4 -7
- package/dist/index.cjs.map +1 -0
- package/dist/{index.d.ts → index.d.cts} +24 -196
- package/dist/index.d.mts +35 -207
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/dist/index.js.map +0 -1
|
@@ -22,9 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
24
|
let __openid4vc_utils = require("@openid4vc/utils");
|
|
25
|
-
__openid4vc_utils = __toESM(__openid4vc_utils);
|
|
26
25
|
let __openid4vc_oauth2 = require("@openid4vc/oauth2");
|
|
27
|
-
__openid4vc_oauth2 = __toESM(__openid4vc_oauth2);
|
|
28
26
|
let zod = require("zod");
|
|
29
27
|
zod = __toESM(zod);
|
|
30
28
|
|
|
@@ -186,7 +184,7 @@ const zClaimDescriptionPathValue = zod.default.union([
|
|
|
186
184
|
zod.default.null()
|
|
187
185
|
]);
|
|
188
186
|
const zClaimsDescriptionPath = zod.default.tuple([zClaimDescriptionPathValue], zClaimDescriptionPathValue);
|
|
189
|
-
const zMsoMdocClaimsDescriptionPath = zod.default.tuple([zod.default.string(), zod.default.string()], { message: "mso_mdoc claims description path MUST be an array with
|
|
187
|
+
const zMsoMdocClaimsDescriptionPath = zod.default.tuple([zod.default.string(), zod.default.string()], zod.default.string(), { message: "mso_mdoc claims description path MUST be an array with at least two string elements, pointing to the namespace and element identifier within an mdoc credential" });
|
|
190
188
|
const zIssuerMetadataClaimsDescription = zod.default.object({
|
|
191
189
|
path: zClaimsDescriptionPath,
|
|
192
190
|
mandatory: zod.default.boolean().optional(),
|
|
@@ -238,7 +236,7 @@ const zCredentialConfigurationSupportedDisplayEntry = zod.default.object({
|
|
|
238
236
|
background_image: zod.default.object({ uri: zod.default.string().optional() }).loose().optional(),
|
|
239
237
|
text_color: zod.default.string().optional()
|
|
240
238
|
}).loose();
|
|
241
|
-
const zCredentialConfigurationSupportedCommonCredentialMetadata = zod.default.object({ display: zod.default.array(zCredentialConfigurationSupportedDisplayEntry).optional() });
|
|
239
|
+
const zCredentialConfigurationSupportedCommonCredentialMetadata = zod.default.object({ display: zod.default.array(zCredentialConfigurationSupportedDisplayEntry).optional() }).loose();
|
|
242
240
|
const zCredentialConfigurationSupportedCommon = zod.default.object({
|
|
243
241
|
format: zod.default.string(),
|
|
244
242
|
scope: zod.default.string().optional(),
|
|
@@ -255,8 +253,7 @@ const zCredentialConfigurationSupportedCommon = zod.default.object({
|
|
|
255
253
|
user_authentication: zIso18045OrStringArray.optional()
|
|
256
254
|
}).loose().optional()
|
|
257
255
|
})).optional(),
|
|
258
|
-
credential_metadata: zCredentialConfigurationSupportedCommonCredentialMetadata.optional()
|
|
259
|
-
claims: zod.default.optional(zod.default.never())
|
|
256
|
+
credential_metadata: zCredentialConfigurationSupportedCommonCredentialMetadata.optional()
|
|
260
257
|
}).loose();
|
|
261
258
|
const zCredentialConfigurationSupportedCommonDraft15 = zod.default.object({
|
|
262
259
|
format: zod.default.string(),
|
|
@@ -2136,4 +2133,4 @@ Object.defineProperty(exports, 'setGlobalConfig', {
|
|
|
2136
2133
|
}
|
|
2137
2134
|
});
|
|
2138
2135
|
exports.verifyKeyAttestationJwt = verifyKeyAttestationJwt;
|
|
2139
|
-
//# sourceMappingURL=index.
|
|
2136
|
+
//# sourceMappingURL=index.cjs.map
|