@pagopa/io-wallet-oid-federation 1.5.0 → 1.5.2
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 +18 -9
- package/dist/index.d.ts +18 -9
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -153,9 +153,11 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
|
|
|
153
153
|
batch_size: z.ZodNumber;
|
|
154
154
|
}, z.core.$strip>;
|
|
155
155
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
156
157
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
157
158
|
vct: z.ZodString;
|
|
158
159
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
159
161
|
doctype: z.ZodString;
|
|
160
162
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
161
163
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -166,7 +168,6 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
|
|
|
166
168
|
}, z.core.$strip>>;
|
|
167
169
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
168
170
|
}, z.core.$strip>>;
|
|
169
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
170
171
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
171
172
|
display: z.ZodArray<z.ZodObject<{
|
|
172
173
|
locale: z.ZodString;
|
|
@@ -811,9 +812,11 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
811
812
|
batch_size: z.ZodNumber;
|
|
812
813
|
}, z.core.$strip>;
|
|
813
814
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
815
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
814
816
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
815
817
|
vct: z.ZodString;
|
|
816
818
|
}, z.core.$strip>, z.ZodObject<{
|
|
819
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
817
820
|
doctype: z.ZodString;
|
|
818
821
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
819
822
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -824,7 +827,6 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
824
827
|
}, z.core.$strip>>;
|
|
825
828
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
826
829
|
}, z.core.$strip>>;
|
|
827
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
828
830
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
829
831
|
display: z.ZodArray<z.ZodObject<{
|
|
830
832
|
locale: z.ZodString;
|
|
@@ -1275,9 +1277,11 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1275
1277
|
batch_size: z.ZodNumber;
|
|
1276
1278
|
}, z.core.$strip>;
|
|
1277
1279
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1280
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1278
1281
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
1279
1282
|
vct: z.ZodString;
|
|
1280
1283
|
}, z.core.$strip>, z.ZodObject<{
|
|
1284
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
1281
1285
|
doctype: z.ZodString;
|
|
1282
1286
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
1283
1287
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -1288,7 +1292,6 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1288
1292
|
}, z.core.$strip>>;
|
|
1289
1293
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
1290
1294
|
}, z.core.$strip>>;
|
|
1291
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1292
1295
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
1293
1296
|
display: z.ZodArray<z.ZodObject<{
|
|
1294
1297
|
locale: z.ZodString;
|
|
@@ -1540,9 +1543,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1540
1543
|
batch_size: number;
|
|
1541
1544
|
};
|
|
1542
1545
|
credential_configurations_supported: Record<string, ({
|
|
1546
|
+
credential_signing_alg_values_supported: string[];
|
|
1543
1547
|
format: "dc+sd-jwt";
|
|
1544
1548
|
vct: string;
|
|
1545
1549
|
} | {
|
|
1550
|
+
credential_signing_alg_values_supported: number[];
|
|
1546
1551
|
doctype: string;
|
|
1547
1552
|
format: "mso_mdoc";
|
|
1548
1553
|
}) & {
|
|
@@ -1553,7 +1558,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1553
1558
|
}[];
|
|
1554
1559
|
path: (string | number | null)[];
|
|
1555
1560
|
}[];
|
|
1556
|
-
credential_signing_alg_values_supported: string[];
|
|
1557
1561
|
cryptographic_binding_methods_supported: string[];
|
|
1558
1562
|
display: {
|
|
1559
1563
|
locale: string;
|
|
@@ -2022,9 +2026,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2022
2026
|
batch_size: number;
|
|
2023
2027
|
};
|
|
2024
2028
|
credential_configurations_supported: Record<string, ({
|
|
2029
|
+
credential_signing_alg_values_supported: string[];
|
|
2025
2030
|
format: "dc+sd-jwt";
|
|
2026
2031
|
vct: string;
|
|
2027
2032
|
} | {
|
|
2033
|
+
credential_signing_alg_values_supported: number[];
|
|
2028
2034
|
doctype: string;
|
|
2029
2035
|
format: "mso_mdoc";
|
|
2030
2036
|
}) & {
|
|
@@ -2035,7 +2041,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2035
2041
|
}[];
|
|
2036
2042
|
path: (string | number | null)[];
|
|
2037
2043
|
}[];
|
|
2038
|
-
credential_signing_alg_values_supported: string[];
|
|
2039
2044
|
cryptographic_binding_methods_supported: string[];
|
|
2040
2045
|
display: {
|
|
2041
2046
|
locale: string;
|
|
@@ -2504,9 +2509,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2504
2509
|
batch_size: number;
|
|
2505
2510
|
};
|
|
2506
2511
|
credential_configurations_supported: Record<string, ({
|
|
2512
|
+
credential_signing_alg_values_supported: string[];
|
|
2507
2513
|
format: "dc+sd-jwt";
|
|
2508
2514
|
vct: string;
|
|
2509
2515
|
} | {
|
|
2516
|
+
credential_signing_alg_values_supported: number[];
|
|
2510
2517
|
doctype: string;
|
|
2511
2518
|
format: "mso_mdoc";
|
|
2512
2519
|
}) & {
|
|
@@ -2517,7 +2524,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2517
2524
|
}[];
|
|
2518
2525
|
path: (string | number | null)[];
|
|
2519
2526
|
}[];
|
|
2520
|
-
credential_signing_alg_values_supported: string[];
|
|
2521
2527
|
cryptographic_binding_methods_supported: string[];
|
|
2522
2528
|
display: {
|
|
2523
2529
|
locale: string;
|
|
@@ -2986,9 +2992,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2986
2992
|
batch_size: number;
|
|
2987
2993
|
};
|
|
2988
2994
|
credential_configurations_supported: Record<string, ({
|
|
2995
|
+
credential_signing_alg_values_supported: string[];
|
|
2989
2996
|
format: "dc+sd-jwt";
|
|
2990
2997
|
vct: string;
|
|
2991
2998
|
} | {
|
|
2999
|
+
credential_signing_alg_values_supported: number[];
|
|
2992
3000
|
doctype: string;
|
|
2993
3001
|
format: "mso_mdoc";
|
|
2994
3002
|
}) & {
|
|
@@ -2999,7 +3007,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2999
3007
|
}[];
|
|
3000
3008
|
path: (string | number | null)[];
|
|
3001
3009
|
}[];
|
|
3002
|
-
credential_signing_alg_values_supported: string[];
|
|
3003
3010
|
cryptographic_binding_methods_supported: string[];
|
|
3004
3011
|
display: {
|
|
3005
3012
|
locale: string;
|
|
@@ -3646,9 +3653,11 @@ declare const ClaimsMetadata$1: z.ZodObject<{
|
|
|
3646
3653
|
}, z.core.$strip>;
|
|
3647
3654
|
type SupportedCredentialMetadata$1 = z.infer<typeof SupportedCredentialMetadata$1>;
|
|
3648
3655
|
declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3656
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3649
3657
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3650
3658
|
vct: z.ZodString;
|
|
3651
3659
|
}, z.core.$strip>, z.ZodObject<{
|
|
3660
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3652
3661
|
doctype: z.ZodString;
|
|
3653
3662
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3654
3663
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3659,7 +3668,6 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
|
|
|
3659
3668
|
}, z.core.$strip>>;
|
|
3660
3669
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3661
3670
|
}, z.core.$strip>>;
|
|
3662
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3663
3671
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3664
3672
|
display: z.ZodArray<z.ZodObject<{
|
|
3665
3673
|
locale: z.ZodString;
|
|
@@ -3678,9 +3686,11 @@ declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
|
3678
3686
|
batch_size: z.ZodNumber;
|
|
3679
3687
|
}, z.core.$strip>;
|
|
3680
3688
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3689
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3681
3690
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3682
3691
|
vct: z.ZodString;
|
|
3683
3692
|
}, z.core.$strip>, z.ZodObject<{
|
|
3693
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3684
3694
|
doctype: z.ZodString;
|
|
3685
3695
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3686
3696
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3691,7 +3701,6 @@ declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
|
3691
3701
|
}, z.core.$strip>>;
|
|
3692
3702
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3693
3703
|
}, z.core.$strip>>;
|
|
3694
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3695
3704
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3696
3705
|
display: z.ZodArray<z.ZodObject<{
|
|
3697
3706
|
locale: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -153,9 +153,11 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
|
|
|
153
153
|
batch_size: z.ZodNumber;
|
|
154
154
|
}, z.core.$strip>;
|
|
155
155
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
156
157
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
157
158
|
vct: z.ZodString;
|
|
158
159
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
159
161
|
doctype: z.ZodString;
|
|
160
162
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
161
163
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -166,7 +168,6 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
|
|
|
166
168
|
}, z.core.$strip>>;
|
|
167
169
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
168
170
|
}, z.core.$strip>>;
|
|
169
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
170
171
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
171
172
|
display: z.ZodArray<z.ZodObject<{
|
|
172
173
|
locale: z.ZodString;
|
|
@@ -811,9 +812,11 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
811
812
|
batch_size: z.ZodNumber;
|
|
812
813
|
}, z.core.$strip>;
|
|
813
814
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
815
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
814
816
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
815
817
|
vct: z.ZodString;
|
|
816
818
|
}, z.core.$strip>, z.ZodObject<{
|
|
819
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
817
820
|
doctype: z.ZodString;
|
|
818
821
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
819
822
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -824,7 +827,6 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
824
827
|
}, z.core.$strip>>;
|
|
825
828
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
826
829
|
}, z.core.$strip>>;
|
|
827
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
828
830
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
829
831
|
display: z.ZodArray<z.ZodObject<{
|
|
830
832
|
locale: z.ZodString;
|
|
@@ -1275,9 +1277,11 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1275
1277
|
batch_size: z.ZodNumber;
|
|
1276
1278
|
}, z.core.$strip>;
|
|
1277
1279
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1280
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1278
1281
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
1279
1282
|
vct: z.ZodString;
|
|
1280
1283
|
}, z.core.$strip>, z.ZodObject<{
|
|
1284
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
1281
1285
|
doctype: z.ZodString;
|
|
1282
1286
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
1283
1287
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -1288,7 +1292,6 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1288
1292
|
}, z.core.$strip>>;
|
|
1289
1293
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
1290
1294
|
}, z.core.$strip>>;
|
|
1291
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1292
1295
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
1293
1296
|
display: z.ZodArray<z.ZodObject<{
|
|
1294
1297
|
locale: z.ZodString;
|
|
@@ -1540,9 +1543,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1540
1543
|
batch_size: number;
|
|
1541
1544
|
};
|
|
1542
1545
|
credential_configurations_supported: Record<string, ({
|
|
1546
|
+
credential_signing_alg_values_supported: string[];
|
|
1543
1547
|
format: "dc+sd-jwt";
|
|
1544
1548
|
vct: string;
|
|
1545
1549
|
} | {
|
|
1550
|
+
credential_signing_alg_values_supported: number[];
|
|
1546
1551
|
doctype: string;
|
|
1547
1552
|
format: "mso_mdoc";
|
|
1548
1553
|
}) & {
|
|
@@ -1553,7 +1558,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1553
1558
|
}[];
|
|
1554
1559
|
path: (string | number | null)[];
|
|
1555
1560
|
}[];
|
|
1556
|
-
credential_signing_alg_values_supported: string[];
|
|
1557
1561
|
cryptographic_binding_methods_supported: string[];
|
|
1558
1562
|
display: {
|
|
1559
1563
|
locale: string;
|
|
@@ -2022,9 +2026,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2022
2026
|
batch_size: number;
|
|
2023
2027
|
};
|
|
2024
2028
|
credential_configurations_supported: Record<string, ({
|
|
2029
|
+
credential_signing_alg_values_supported: string[];
|
|
2025
2030
|
format: "dc+sd-jwt";
|
|
2026
2031
|
vct: string;
|
|
2027
2032
|
} | {
|
|
2033
|
+
credential_signing_alg_values_supported: number[];
|
|
2028
2034
|
doctype: string;
|
|
2029
2035
|
format: "mso_mdoc";
|
|
2030
2036
|
}) & {
|
|
@@ -2035,7 +2041,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2035
2041
|
}[];
|
|
2036
2042
|
path: (string | number | null)[];
|
|
2037
2043
|
}[];
|
|
2038
|
-
credential_signing_alg_values_supported: string[];
|
|
2039
2044
|
cryptographic_binding_methods_supported: string[];
|
|
2040
2045
|
display: {
|
|
2041
2046
|
locale: string;
|
|
@@ -2504,9 +2509,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2504
2509
|
batch_size: number;
|
|
2505
2510
|
};
|
|
2506
2511
|
credential_configurations_supported: Record<string, ({
|
|
2512
|
+
credential_signing_alg_values_supported: string[];
|
|
2507
2513
|
format: "dc+sd-jwt";
|
|
2508
2514
|
vct: string;
|
|
2509
2515
|
} | {
|
|
2516
|
+
credential_signing_alg_values_supported: number[];
|
|
2510
2517
|
doctype: string;
|
|
2511
2518
|
format: "mso_mdoc";
|
|
2512
2519
|
}) & {
|
|
@@ -2517,7 +2524,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2517
2524
|
}[];
|
|
2518
2525
|
path: (string | number | null)[];
|
|
2519
2526
|
}[];
|
|
2520
|
-
credential_signing_alg_values_supported: string[];
|
|
2521
2527
|
cryptographic_binding_methods_supported: string[];
|
|
2522
2528
|
display: {
|
|
2523
2529
|
locale: string;
|
|
@@ -2986,9 +2992,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2986
2992
|
batch_size: number;
|
|
2987
2993
|
};
|
|
2988
2994
|
credential_configurations_supported: Record<string, ({
|
|
2995
|
+
credential_signing_alg_values_supported: string[];
|
|
2989
2996
|
format: "dc+sd-jwt";
|
|
2990
2997
|
vct: string;
|
|
2991
2998
|
} | {
|
|
2999
|
+
credential_signing_alg_values_supported: number[];
|
|
2992
3000
|
doctype: string;
|
|
2993
3001
|
format: "mso_mdoc";
|
|
2994
3002
|
}) & {
|
|
@@ -2999,7 +3007,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2999
3007
|
}[];
|
|
3000
3008
|
path: (string | number | null)[];
|
|
3001
3009
|
}[];
|
|
3002
|
-
credential_signing_alg_values_supported: string[];
|
|
3003
3010
|
cryptographic_binding_methods_supported: string[];
|
|
3004
3011
|
display: {
|
|
3005
3012
|
locale: string;
|
|
@@ -3646,9 +3653,11 @@ declare const ClaimsMetadata$1: z.ZodObject<{
|
|
|
3646
3653
|
}, z.core.$strip>;
|
|
3647
3654
|
type SupportedCredentialMetadata$1 = z.infer<typeof SupportedCredentialMetadata$1>;
|
|
3648
3655
|
declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3656
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3649
3657
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3650
3658
|
vct: z.ZodString;
|
|
3651
3659
|
}, z.core.$strip>, z.ZodObject<{
|
|
3660
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3652
3661
|
doctype: z.ZodString;
|
|
3653
3662
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3654
3663
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3659,7 +3668,6 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
|
|
|
3659
3668
|
}, z.core.$strip>>;
|
|
3660
3669
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3661
3670
|
}, z.core.$strip>>;
|
|
3662
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3663
3671
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3664
3672
|
display: z.ZodArray<z.ZodObject<{
|
|
3665
3673
|
locale: z.ZodString;
|
|
@@ -3678,9 +3686,11 @@ declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
|
3678
3686
|
batch_size: z.ZodNumber;
|
|
3679
3687
|
}, z.core.$strip>;
|
|
3680
3688
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3689
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3681
3690
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3682
3691
|
vct: z.ZodString;
|
|
3683
3692
|
}, z.core.$strip>, z.ZodObject<{
|
|
3693
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3684
3694
|
doctype: z.ZodString;
|
|
3685
3695
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3686
3696
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3691,7 +3701,6 @@ declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
|
3691
3701
|
}, z.core.$strip>>;
|
|
3692
3702
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3693
3703
|
}, z.core.$strip>>;
|
|
3694
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3695
3704
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3696
3705
|
display: z.ZodArray<z.ZodObject<{
|
|
3697
3706
|
locale: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -519,12 +519,19 @@ var ClaimsMetadata = import_zod16.z.object({
|
|
|
519
519
|
});
|
|
520
520
|
var SupportedCredentialMetadata = import_zod16.z.intersection(
|
|
521
521
|
import_zod16.z.discriminatedUnion("format", [
|
|
522
|
-
import_zod16.z.object({
|
|
523
|
-
|
|
522
|
+
import_zod16.z.object({
|
|
523
|
+
credential_signing_alg_values_supported: import_zod16.z.array(import_zod16.z.string()),
|
|
524
|
+
format: import_zod16.z.literal("dc+sd-jwt"),
|
|
525
|
+
vct: import_zod16.z.string()
|
|
526
|
+
}),
|
|
527
|
+
import_zod16.z.object({
|
|
528
|
+
credential_signing_alg_values_supported: import_zod16.z.array(import_zod16.z.number().int()),
|
|
529
|
+
doctype: import_zod16.z.string(),
|
|
530
|
+
format: import_zod16.z.literal("mso_mdoc")
|
|
531
|
+
})
|
|
524
532
|
]),
|
|
525
533
|
import_zod16.z.object({
|
|
526
534
|
claims: import_zod16.z.array(ClaimsMetadata),
|
|
527
|
-
credential_signing_alg_values_supported: import_zod16.z.array(import_zod16.z.string()),
|
|
528
535
|
cryptographic_binding_methods_supported: import_zod16.z.array(import_zod16.z.string()),
|
|
529
536
|
display: import_zod16.z.array(CredentialDisplayMetadata),
|
|
530
537
|
proof_types_supported: import_zod16.z.object({
|