@openid4vc/openid4vci 0.3.0-alpha-20251030142433 → 0.3.0-alpha-20251031085020
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.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1934,7 +1934,7 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1934
1934
|
iat: z.ZodNumber;
|
|
1935
1935
|
sub: z.ZodString;
|
|
1936
1936
|
iss: z.ZodOptional<z.ZodString>;
|
|
1937
|
-
aud: z.ZodOptional<z.ZodString
|
|
1937
|
+
aud: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1938
1938
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
1939
1939
|
nbf: z.ZodOptional<z.ZodNumber>;
|
|
1940
1940
|
nonce: z.ZodOptional<z.ZodString>;
|
|
@@ -2928,7 +2928,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z.ZodObject<{
|
|
|
2928
2928
|
}, z.core.$loose>;
|
|
2929
2929
|
type CredentialRequestJwtProofTypeHeader = z.infer<typeof zCredentialRequestJwtProofTypeHeader>;
|
|
2930
2930
|
declare const zCredentialRequestJwtProofTypePayload: z.ZodObject<{
|
|
2931
|
-
aud: z.ZodString
|
|
2931
|
+
aud: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
2932
2932
|
iat: z.ZodNumber;
|
|
2933
2933
|
iss: z.ZodOptional<z.ZodString>;
|
|
2934
2934
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3132,7 +3132,7 @@ declare function parseKeyAttestationJwt({
|
|
|
3132
3132
|
}>, zod0.ZodString]>>>;
|
|
3133
3133
|
certification: zod0.ZodOptional<zod0.ZodURL>;
|
|
3134
3134
|
iss: zod0.ZodOptional<zod0.ZodString>;
|
|
3135
|
-
aud: zod0.ZodOptional<zod0.ZodString
|
|
3135
|
+
aud: zod0.ZodOptional<zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodArray<zod0.ZodString>]>>;
|
|
3136
3136
|
nbf: zod0.ZodOptional<zod0.ZodNumber>;
|
|
3137
3137
|
jti: zod0.ZodOptional<zod0.ZodString>;
|
|
3138
3138
|
sub: zod0.ZodOptional<zod0.ZodString>;
|
|
@@ -3282,7 +3282,7 @@ declare function verifyKeyAttestationJwt(options: VerifyKeyAttestationJwtOptions
|
|
|
3282
3282
|
user_authentication?: string[] | undefined;
|
|
3283
3283
|
certification?: string | undefined;
|
|
3284
3284
|
iss?: string | undefined;
|
|
3285
|
-
aud?: string | undefined;
|
|
3285
|
+
aud?: string | string[] | undefined;
|
|
3286
3286
|
nbf?: number | undefined;
|
|
3287
3287
|
jti?: string | undefined;
|
|
3288
3288
|
sub?: string | undefined;
|
|
@@ -3724,7 +3724,7 @@ type JweEncryptor = JwtSignerJwk & {
|
|
|
3724
3724
|
};
|
|
3725
3725
|
declare const zJwtPayload$1: z.ZodObject<{
|
|
3726
3726
|
iss: z.ZodOptional<z.ZodString>;
|
|
3727
|
-
aud: z.ZodOptional<z.ZodString
|
|
3727
|
+
aud: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3728
3728
|
iat: z.ZodOptional<z.ZodNumber>;
|
|
3729
3729
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
3730
3730
|
nbf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4295,7 +4295,7 @@ declare class Openid4vciIssuer {
|
|
|
4295
4295
|
};
|
|
4296
4296
|
payload: {
|
|
4297
4297
|
[x: string]: unknown;
|
|
4298
|
-
aud: string;
|
|
4298
|
+
aud: string | string[];
|
|
4299
4299
|
iat: number;
|
|
4300
4300
|
iss?: string | undefined;
|
|
4301
4301
|
exp?: number | undefined;
|
|
@@ -4422,7 +4422,7 @@ declare class Openid4vciIssuer {
|
|
|
4422
4422
|
user_authentication?: string[] | undefined;
|
|
4423
4423
|
certification?: string | undefined;
|
|
4424
4424
|
iss?: string | undefined;
|
|
4425
|
-
aud?: string | undefined;
|
|
4425
|
+
aud?: string | string[] | undefined;
|
|
4426
4426
|
nbf?: number | undefined;
|
|
4427
4427
|
jti?: string | undefined;
|
|
4428
4428
|
sub?: string | undefined;
|
|
@@ -4553,7 +4553,7 @@ declare class Openid4vciIssuer {
|
|
|
4553
4553
|
user_authentication?: string[] | undefined;
|
|
4554
4554
|
certification?: string | undefined;
|
|
4555
4555
|
iss?: string | undefined;
|
|
4556
|
-
aud?: string | undefined;
|
|
4556
|
+
aud?: string | string[] | undefined;
|
|
4557
4557
|
nbf?: number | undefined;
|
|
4558
4558
|
jti?: string | undefined;
|
|
4559
4559
|
sub?: string | undefined;
|
|
@@ -4723,7 +4723,7 @@ declare class Openid4vciIssuer {
|
|
|
4723
4723
|
};
|
|
4724
4724
|
wallet_name?: string | undefined;
|
|
4725
4725
|
wallet_link?: string | undefined;
|
|
4726
|
-
aud?: string | undefined;
|
|
4726
|
+
aud?: string | string[] | undefined;
|
|
4727
4727
|
iat?: number | undefined;
|
|
4728
4728
|
nbf?: number | undefined;
|
|
4729
4729
|
nonce?: string | undefined;
|
|
@@ -4777,7 +4777,7 @@ declare class Openid4vciIssuer {
|
|
|
4777
4777
|
[x: string]: unknown;
|
|
4778
4778
|
iss: string;
|
|
4779
4779
|
exp: number;
|
|
4780
|
-
aud: string;
|
|
4780
|
+
aud: string | string[];
|
|
4781
4781
|
jti: string;
|
|
4782
4782
|
nonce?: string | undefined;
|
|
4783
4783
|
iat?: number | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1934,7 +1934,7 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1934
1934
|
iat: z.ZodNumber;
|
|
1935
1935
|
sub: z.ZodString;
|
|
1936
1936
|
iss: z.ZodOptional<z.ZodString>;
|
|
1937
|
-
aud: z.ZodOptional<z.ZodString
|
|
1937
|
+
aud: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1938
1938
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
1939
1939
|
nbf: z.ZodOptional<z.ZodNumber>;
|
|
1940
1940
|
nonce: z.ZodOptional<z.ZodString>;
|
|
@@ -2928,7 +2928,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z.ZodObject<{
|
|
|
2928
2928
|
}, z.core.$loose>;
|
|
2929
2929
|
type CredentialRequestJwtProofTypeHeader = z.infer<typeof zCredentialRequestJwtProofTypeHeader>;
|
|
2930
2930
|
declare const zCredentialRequestJwtProofTypePayload: z.ZodObject<{
|
|
2931
|
-
aud: z.ZodString
|
|
2931
|
+
aud: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
2932
2932
|
iat: z.ZodNumber;
|
|
2933
2933
|
iss: z.ZodOptional<z.ZodString>;
|
|
2934
2934
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3132,7 +3132,7 @@ declare function parseKeyAttestationJwt({
|
|
|
3132
3132
|
}>, zod0.ZodString]>>>;
|
|
3133
3133
|
certification: zod0.ZodOptional<zod0.ZodURL>;
|
|
3134
3134
|
iss: zod0.ZodOptional<zod0.ZodString>;
|
|
3135
|
-
aud: zod0.ZodOptional<zod0.ZodString
|
|
3135
|
+
aud: zod0.ZodOptional<zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodArray<zod0.ZodString>]>>;
|
|
3136
3136
|
nbf: zod0.ZodOptional<zod0.ZodNumber>;
|
|
3137
3137
|
jti: zod0.ZodOptional<zod0.ZodString>;
|
|
3138
3138
|
sub: zod0.ZodOptional<zod0.ZodString>;
|
|
@@ -3282,7 +3282,7 @@ declare function verifyKeyAttestationJwt(options: VerifyKeyAttestationJwtOptions
|
|
|
3282
3282
|
user_authentication?: string[] | undefined;
|
|
3283
3283
|
certification?: string | undefined;
|
|
3284
3284
|
iss?: string | undefined;
|
|
3285
|
-
aud?: string | undefined;
|
|
3285
|
+
aud?: string | string[] | undefined;
|
|
3286
3286
|
nbf?: number | undefined;
|
|
3287
3287
|
jti?: string | undefined;
|
|
3288
3288
|
sub?: string | undefined;
|
|
@@ -3724,7 +3724,7 @@ type JweEncryptor = JwtSignerJwk & {
|
|
|
3724
3724
|
};
|
|
3725
3725
|
declare const zJwtPayload: z.ZodObject<{
|
|
3726
3726
|
iss: z.ZodOptional<z.ZodString>;
|
|
3727
|
-
aud: z.ZodOptional<z.ZodString
|
|
3727
|
+
aud: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3728
3728
|
iat: z.ZodOptional<z.ZodNumber>;
|
|
3729
3729
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
3730
3730
|
nbf: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4295,7 +4295,7 @@ declare class Openid4vciIssuer {
|
|
|
4295
4295
|
};
|
|
4296
4296
|
payload: {
|
|
4297
4297
|
[x: string]: unknown;
|
|
4298
|
-
aud: string;
|
|
4298
|
+
aud: string | string[];
|
|
4299
4299
|
iat: number;
|
|
4300
4300
|
iss?: string | undefined;
|
|
4301
4301
|
exp?: number | undefined;
|
|
@@ -4422,7 +4422,7 @@ declare class Openid4vciIssuer {
|
|
|
4422
4422
|
user_authentication?: string[] | undefined;
|
|
4423
4423
|
certification?: string | undefined;
|
|
4424
4424
|
iss?: string | undefined;
|
|
4425
|
-
aud?: string | undefined;
|
|
4425
|
+
aud?: string | string[] | undefined;
|
|
4426
4426
|
nbf?: number | undefined;
|
|
4427
4427
|
jti?: string | undefined;
|
|
4428
4428
|
sub?: string | undefined;
|
|
@@ -4553,7 +4553,7 @@ declare class Openid4vciIssuer {
|
|
|
4553
4553
|
user_authentication?: string[] | undefined;
|
|
4554
4554
|
certification?: string | undefined;
|
|
4555
4555
|
iss?: string | undefined;
|
|
4556
|
-
aud?: string | undefined;
|
|
4556
|
+
aud?: string | string[] | undefined;
|
|
4557
4557
|
nbf?: number | undefined;
|
|
4558
4558
|
jti?: string | undefined;
|
|
4559
4559
|
sub?: string | undefined;
|
|
@@ -4723,7 +4723,7 @@ declare class Openid4vciIssuer {
|
|
|
4723
4723
|
};
|
|
4724
4724
|
wallet_name?: string | undefined;
|
|
4725
4725
|
wallet_link?: string | undefined;
|
|
4726
|
-
aud?: string | undefined;
|
|
4726
|
+
aud?: string | string[] | undefined;
|
|
4727
4727
|
iat?: number | undefined;
|
|
4728
4728
|
nbf?: number | undefined;
|
|
4729
4729
|
nonce?: string | undefined;
|
|
@@ -4777,7 +4777,7 @@ declare class Openid4vciIssuer {
|
|
|
4777
4777
|
[x: string]: unknown;
|
|
4778
4778
|
iss: string;
|
|
4779
4779
|
exp: number;
|
|
4780
|
-
aud: string;
|
|
4780
|
+
aud: string | string[];
|
|
4781
4781
|
jti: string;
|
|
4782
4782
|
nonce?: string | undefined;
|
|
4783
4783
|
iat?: number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1045,7 +1045,7 @@ const zCredentialRequestJwtProofTypeHeader = __openid4vc_oauth2.zJwtHeader.merge
|
|
|
1045
1045
|
})).loose().refine(({ kid, jwk }) => jwk === void 0 || kid === void 0, { message: `Both 'jwk' and 'kid' are defined. Only one is allowed` }).refine(({ trust_chain, kid }) => !trust_chain || !kid, { message: `When 'trust_chain' is provided, 'kid' is required` });
|
|
1046
1046
|
const zCredentialRequestJwtProofTypePayload = zod.default.object({
|
|
1047
1047
|
...__openid4vc_oauth2.zJwtPayload.shape,
|
|
1048
|
-
aud: __openid4vc_utils.zHttpsUrl,
|
|
1048
|
+
aud: zod.default.union([__openid4vc_utils.zHttpsUrl, zod.default.array(__openid4vc_utils.zHttpsUrl)]),
|
|
1049
1049
|
iat: __openid4vc_utils.zInteger
|
|
1050
1050
|
}).loose();
|
|
1051
1051
|
|