@openid4vc/openid4vci 0.3.0-alpha-20251112081659 → 0.3.0-alpha-20251113095648
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 +21 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -30
- package/dist/index.d.mts +30 -30
- package/dist/index.mjs +22 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -71,7 +71,6 @@ declare const zCredentialConfigurationSupportedCommon: z.ZodObject<{
|
|
|
71
71
|
declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
72
72
|
scope: z.ZodOptional<z.ZodString>;
|
|
73
73
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
75
74
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
76
75
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
77
76
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,6 +90,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
91
90
|
}, z.core.$strip>>>;
|
|
92
91
|
vct: z.ZodString;
|
|
93
92
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
93
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
94
94
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
95
95
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
96
96
|
name: z.ZodString;
|
|
@@ -118,7 +118,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
118
118
|
}, z.core.$loose>, z.ZodObject<{
|
|
119
119
|
scope: z.ZodOptional<z.ZodString>;
|
|
120
120
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
122
121
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
123
122
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
124
123
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -138,6 +137,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
138
137
|
}, z.core.$strip>>>;
|
|
139
138
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
140
139
|
doctype: z.ZodString;
|
|
140
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
141
141
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
142
142
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
143
143
|
name: z.ZodString;
|
|
@@ -165,7 +165,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
165
165
|
}, z.core.$loose>, z.ZodObject<{
|
|
166
166
|
scope: z.ZodOptional<z.ZodString>;
|
|
167
167
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
168
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
169
168
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
170
169
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
171
170
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -188,6 +187,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
188
187
|
'@context': z.ZodArray<z.ZodString>;
|
|
189
188
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
190
189
|
}, z.core.$loose>;
|
|
190
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
191
191
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
192
192
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
193
|
name: z.ZodString;
|
|
@@ -215,7 +215,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
215
215
|
}, z.core.$loose>, z.ZodObject<{
|
|
216
216
|
scope: z.ZodOptional<z.ZodString>;
|
|
217
217
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
219
218
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
220
219
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
221
220
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -238,6 +237,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
238
237
|
'@context': z.ZodArray<z.ZodString>;
|
|
239
238
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
240
239
|
}, z.core.$loose>;
|
|
240
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
241
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
242
242
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
243
243
|
name: z.ZodString;
|
|
@@ -265,7 +265,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
265
265
|
}, z.core.$loose>, z.ZodObject<{
|
|
266
266
|
scope: z.ZodOptional<z.ZodString>;
|
|
267
267
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
268
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
269
268
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
270
269
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
271
270
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -287,6 +286,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
287
286
|
credential_definition: z.ZodObject<{
|
|
288
287
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
289
288
|
}, z.core.$loose>;
|
|
289
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
290
290
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
291
291
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
292
292
|
name: z.ZodString;
|
|
@@ -314,7 +314,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
314
314
|
}, z.core.$loose>, z.ZodObject<{
|
|
315
315
|
scope: z.ZodOptional<z.ZodString>;
|
|
316
316
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
317
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
318
317
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
319
318
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
320
319
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -336,6 +335,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
336
335
|
credential_definition: z.ZodObject<{
|
|
337
336
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
338
337
|
}, z.core.$loose>;
|
|
338
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
339
339
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
340
340
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
341
341
|
name: z.ZodString;
|
|
@@ -364,7 +364,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
364
364
|
}, z.core.$loose>, z.ZodObject<{
|
|
365
365
|
scope: z.ZodOptional<z.ZodString>;
|
|
366
366
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
367
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
368
368
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
369
369
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
370
370
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -413,7 +413,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
413
413
|
}, z.core.$loose>, z.ZodObject<{
|
|
414
414
|
scope: z.ZodOptional<z.ZodString>;
|
|
415
415
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
416
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
417
416
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
418
417
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
419
418
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -434,6 +433,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
434
433
|
vct: z.ZodString;
|
|
435
434
|
format: z.ZodLiteral<"vc+sd-jwt">;
|
|
436
435
|
order: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
436
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
437
437
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
438
438
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
439
439
|
name: z.ZodString;
|
|
@@ -462,7 +462,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
462
462
|
}, z.core.$loose>, z.ZodObject<{
|
|
463
463
|
scope: z.ZodOptional<z.ZodString>;
|
|
464
464
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
465
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
465
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
466
466
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
467
467
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
468
468
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -508,7 +508,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
508
508
|
}, z.core.$loose>, z.ZodObject<{
|
|
509
509
|
scope: z.ZodOptional<z.ZodString>;
|
|
510
510
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
511
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
511
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
512
512
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
513
513
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
514
514
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -554,7 +554,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
554
554
|
}, z.core.$loose>, z.ZodObject<{
|
|
555
555
|
scope: z.ZodOptional<z.ZodString>;
|
|
556
556
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
557
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
557
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
558
558
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
559
559
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
560
560
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -603,7 +603,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
603
603
|
}, z.core.$loose>, z.ZodObject<{
|
|
604
604
|
scope: z.ZodOptional<z.ZodString>;
|
|
605
605
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
606
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
606
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
607
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
608
608
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
609
609
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -652,7 +652,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
652
652
|
}, z.core.$loose>, z.ZodObject<{
|
|
653
653
|
scope: z.ZodOptional<z.ZodString>;
|
|
654
654
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
655
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
655
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
656
656
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
657
657
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
658
658
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -700,7 +700,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
700
700
|
}, z.core.$loose>, z.ZodObject<{
|
|
701
701
|
scope: z.ZodOptional<z.ZodString>;
|
|
702
702
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
703
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
703
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
704
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
705
705
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
706
706
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -740,7 +740,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
740
740
|
}, z.core.$loose>, z.ZodObject<{
|
|
741
741
|
scope: z.ZodOptional<z.ZodString>;
|
|
742
742
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
743
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
743
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
744
744
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
745
745
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
746
746
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -781,7 +781,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
781
781
|
}, z.core.$loose>, z.ZodObject<{
|
|
782
782
|
scope: z.ZodOptional<z.ZodString>;
|
|
783
783
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
784
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
784
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
785
785
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
786
786
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
787
787
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -831,7 +831,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
831
831
|
}, z.core.$loose>, z.ZodObject<{
|
|
832
832
|
scope: z.ZodOptional<z.ZodString>;
|
|
833
833
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
834
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
834
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
835
835
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
836
836
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
837
837
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -881,7 +881,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
881
881
|
}, z.core.$loose>, z.ZodObject<{
|
|
882
882
|
scope: z.ZodOptional<z.ZodString>;
|
|
883
883
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
884
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
884
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
885
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
886
886
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
887
887
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -970,7 +970,7 @@ declare const zCredentialConfigurationSupportedWithFormats: z.ZodPipe<z.ZodUnion
|
|
|
970
970
|
format: z.ZodString;
|
|
971
971
|
scope: z.ZodOptional<z.ZodString>;
|
|
972
972
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
973
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
973
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
974
974
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
975
975
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
976
976
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1076,7 +1076,7 @@ declare const zCredentialConfigurationSupportedWithFormats: z.ZodPipe<z.ZodUnion
|
|
|
1076
1076
|
format: string;
|
|
1077
1077
|
scope?: string | undefined;
|
|
1078
1078
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1079
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1079
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1080
1080
|
proof_types_supported?: Record<string, {
|
|
1081
1081
|
proof_signing_alg_values_supported: string[];
|
|
1082
1082
|
key_attestations_required?: {
|
|
@@ -1185,7 +1185,7 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1185
1185
|
format: z.ZodString;
|
|
1186
1186
|
scope: z.ZodOptional<z.ZodString>;
|
|
1187
1187
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1188
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
1188
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
1189
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1190
1190
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1191
1191
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1291,7 +1291,7 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1291
1291
|
format: string;
|
|
1292
1292
|
scope?: string | undefined;
|
|
1293
1293
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1294
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1294
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1295
1295
|
proof_types_supported?: Record<string, {
|
|
1296
1296
|
proof_signing_alg_values_supported: string[];
|
|
1297
1297
|
key_attestations_required?: {
|
|
@@ -1320,7 +1320,7 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1320
1320
|
credential_metadata?: undefined;
|
|
1321
1321
|
}>>>;
|
|
1322
1322
|
}, z.core.$loose>;
|
|
1323
|
-
declare const
|
|
1323
|
+
declare const zCredentialConfigurationSupportedDraft11ToV1: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
1324
1324
|
id: z.ZodOptional<z.ZodString>;
|
|
1325
1325
|
format: z.ZodString;
|
|
1326
1326
|
cryptographic_suites_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1345,7 +1345,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1345
1345
|
}[] | undefined;
|
|
1346
1346
|
claims?: any;
|
|
1347
1347
|
} | undefined;
|
|
1348
|
-
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1348
|
+
credential_signing_alg_values_supported?: string[] | (-19 | -53 | -8 | -9 | -51 | -52 | -47 | -7 | -35 | -36 | -257 | -258 | -259 | -37 | -38 | -39)[] | undefined;
|
|
1349
1349
|
format: string;
|
|
1350
1350
|
}, {
|
|
1351
1351
|
[x: string]: unknown;
|
|
@@ -1376,7 +1376,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1376
1376
|
}[] | undefined;
|
|
1377
1377
|
claims?: any;
|
|
1378
1378
|
} | undefined;
|
|
1379
|
-
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1379
|
+
credential_signing_alg_values_supported?: string[] | (-19 | -53 | -8 | -9 | -51 | -52 | -47 | -7 | -35 | -36 | -257 | -258 | -259 | -37 | -38 | -39)[] | undefined;
|
|
1380
1380
|
format: string;
|
|
1381
1381
|
}>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
1382
1382
|
format: z.ZodString;
|
|
@@ -1420,7 +1420,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1420
1420
|
format: z.ZodString;
|
|
1421
1421
|
scope: z.ZodOptional<z.ZodString>;
|
|
1422
1422
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1423
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
1423
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1424
1424
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1425
1425
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1426
1426
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1526,7 +1526,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1526
1526
|
format: string;
|
|
1527
1527
|
scope?: string | undefined;
|
|
1528
1528
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1529
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1529
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1530
1530
|
proof_types_supported?: Record<string, {
|
|
1531
1531
|
proof_signing_alg_values_supported: string[];
|
|
1532
1532
|
key_attestations_required?: {
|
|
@@ -1657,7 +1657,7 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1657
1657
|
format: z.ZodString;
|
|
1658
1658
|
scope: z.ZodOptional<z.ZodString>;
|
|
1659
1659
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1660
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
1660
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1661
1661
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1662
1662
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1663
1663
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1763,7 +1763,7 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1763
1763
|
format: string;
|
|
1764
1764
|
scope?: string | undefined;
|
|
1765
1765
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1766
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1766
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1767
1767
|
proof_types_supported?: Record<string, {
|
|
1768
1768
|
proof_signing_alg_values_supported: string[];
|
|
1769
1769
|
key_attestations_required?: {
|
|
@@ -3212,7 +3212,7 @@ declare function extractScopesForCredentialConfigurationIds(options: ExtractScop
|
|
|
3212
3212
|
* @throws if a credentials supported entry without id is passed
|
|
3213
3213
|
* @throws if a credentials supported entry with invalid structure or format specific properties is passed
|
|
3214
3214
|
*/
|
|
3215
|
-
declare function credentialsSupportedToCredentialConfigurationsSupported(credentialsSupported: Array<z.input<typeof
|
|
3215
|
+
declare function credentialsSupportedToCredentialConfigurationsSupported(credentialsSupported: Array<z.input<typeof zCredentialConfigurationSupportedDraft11ToV1>>): CredentialConfigurationsSupported;
|
|
3216
3216
|
//#endregion
|
|
3217
3217
|
//#region src/nonce/z-nonce.d.ts
|
|
3218
3218
|
declare const zNonceResponse: z.ZodObject<{
|
package/dist/index.d.mts
CHANGED
|
@@ -71,7 +71,6 @@ declare const zCredentialConfigurationSupportedCommon: z.ZodObject<{
|
|
|
71
71
|
declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
72
72
|
scope: z.ZodOptional<z.ZodString>;
|
|
73
73
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
75
74
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
76
75
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
77
76
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,6 +90,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
91
90
|
}, z.core.$strip>>>;
|
|
92
91
|
vct: z.ZodString;
|
|
93
92
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
93
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
94
94
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
95
95
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
96
96
|
name: z.ZodString;
|
|
@@ -118,7 +118,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
118
118
|
}, z.core.$loose>, z.ZodObject<{
|
|
119
119
|
scope: z.ZodOptional<z.ZodString>;
|
|
120
120
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
122
121
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
123
122
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
124
123
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -138,6 +137,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
138
137
|
}, z.core.$strip>>>;
|
|
139
138
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
140
139
|
doctype: z.ZodString;
|
|
140
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
141
141
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
142
142
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
143
143
|
name: z.ZodString;
|
|
@@ -165,7 +165,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
165
165
|
}, z.core.$loose>, z.ZodObject<{
|
|
166
166
|
scope: z.ZodOptional<z.ZodString>;
|
|
167
167
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
168
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
169
168
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
170
169
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
171
170
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -188,6 +187,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
188
187
|
'@context': z.ZodArray<z.ZodString>;
|
|
189
188
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
190
189
|
}, z.core.$loose>;
|
|
190
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
191
191
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
192
192
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
193
193
|
name: z.ZodString;
|
|
@@ -215,7 +215,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
215
215
|
}, z.core.$loose>, z.ZodObject<{
|
|
216
216
|
scope: z.ZodOptional<z.ZodString>;
|
|
217
217
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
219
218
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
220
219
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
221
220
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -238,6 +237,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
238
237
|
'@context': z.ZodArray<z.ZodString>;
|
|
239
238
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
240
239
|
}, z.core.$loose>;
|
|
240
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
241
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
242
242
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
243
243
|
name: z.ZodString;
|
|
@@ -265,7 +265,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
265
265
|
}, z.core.$loose>, z.ZodObject<{
|
|
266
266
|
scope: z.ZodOptional<z.ZodString>;
|
|
267
267
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
268
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
269
268
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
270
269
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
271
270
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -287,6 +286,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
287
286
|
credential_definition: z.ZodObject<{
|
|
288
287
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
289
288
|
}, z.core.$loose>;
|
|
289
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
290
290
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
291
291
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
292
292
|
name: z.ZodString;
|
|
@@ -314,7 +314,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
314
314
|
}, z.core.$loose>, z.ZodObject<{
|
|
315
315
|
scope: z.ZodOptional<z.ZodString>;
|
|
316
316
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
317
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
318
317
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
319
318
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
320
319
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -336,6 +335,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
336
335
|
credential_definition: z.ZodObject<{
|
|
337
336
|
type: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
338
337
|
}, z.core.$loose>;
|
|
338
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
339
339
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
340
340
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
341
341
|
name: z.ZodString;
|
|
@@ -364,7 +364,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
364
364
|
}, z.core.$loose>, z.ZodObject<{
|
|
365
365
|
scope: z.ZodOptional<z.ZodString>;
|
|
366
366
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
367
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
368
368
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
369
369
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
370
370
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -413,7 +413,6 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
413
413
|
}, z.core.$loose>, z.ZodObject<{
|
|
414
414
|
scope: z.ZodOptional<z.ZodString>;
|
|
415
415
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
416
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>]>>;
|
|
417
416
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
418
417
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
419
418
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -434,6 +433,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
434
433
|
vct: z.ZodString;
|
|
435
434
|
format: z.ZodLiteral<"vc+sd-jwt">;
|
|
436
435
|
order: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
436
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
437
437
|
credential_metadata: z.ZodOptional<z.ZodObject<{
|
|
438
438
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
439
439
|
name: z.ZodString;
|
|
@@ -462,7 +462,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
462
462
|
}, z.core.$loose>, z.ZodObject<{
|
|
463
463
|
scope: z.ZodOptional<z.ZodString>;
|
|
464
464
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
465
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
465
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
466
466
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
467
467
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
468
468
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -508,7 +508,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
508
508
|
}, z.core.$loose>, z.ZodObject<{
|
|
509
509
|
scope: z.ZodOptional<z.ZodString>;
|
|
510
510
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
511
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
511
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
512
512
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
513
513
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
514
514
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -554,7 +554,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
554
554
|
}, z.core.$loose>, z.ZodObject<{
|
|
555
555
|
scope: z.ZodOptional<z.ZodString>;
|
|
556
556
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
557
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
557
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
558
558
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
559
559
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
560
560
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -603,7 +603,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
603
603
|
}, z.core.$loose>, z.ZodObject<{
|
|
604
604
|
scope: z.ZodOptional<z.ZodString>;
|
|
605
605
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
606
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
606
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
607
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
608
608
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
609
609
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -652,7 +652,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
652
652
|
}, z.core.$loose>, z.ZodObject<{
|
|
653
653
|
scope: z.ZodOptional<z.ZodString>;
|
|
654
654
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
655
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
655
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
656
656
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
657
657
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
658
658
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -700,7 +700,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
700
700
|
}, z.core.$loose>, z.ZodObject<{
|
|
701
701
|
scope: z.ZodOptional<z.ZodString>;
|
|
702
702
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
703
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
703
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
704
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
705
705
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
706
706
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -740,7 +740,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
740
740
|
}, z.core.$loose>, z.ZodObject<{
|
|
741
741
|
scope: z.ZodOptional<z.ZodString>;
|
|
742
742
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
743
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
743
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
744
744
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
745
745
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
746
746
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -781,7 +781,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
781
781
|
}, z.core.$loose>, z.ZodObject<{
|
|
782
782
|
scope: z.ZodOptional<z.ZodString>;
|
|
783
783
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
784
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
784
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
785
785
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
786
786
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
787
787
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -831,7 +831,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
831
831
|
}, z.core.$loose>, z.ZodObject<{
|
|
832
832
|
scope: z.ZodOptional<z.ZodString>;
|
|
833
833
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
834
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
834
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
835
835
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
836
836
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
837
837
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -881,7 +881,7 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
881
881
|
}, z.core.$loose>, z.ZodObject<{
|
|
882
882
|
scope: z.ZodOptional<z.ZodString>;
|
|
883
883
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
884
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
884
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
885
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
886
886
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
887
887
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -970,7 +970,7 @@ declare const zCredentialConfigurationSupportedWithFormats: z.ZodPipe<z.ZodUnion
|
|
|
970
970
|
format: z.ZodString;
|
|
971
971
|
scope: z.ZodOptional<z.ZodString>;
|
|
972
972
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
973
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
973
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
974
974
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
975
975
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
976
976
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1076,7 +1076,7 @@ declare const zCredentialConfigurationSupportedWithFormats: z.ZodPipe<z.ZodUnion
|
|
|
1076
1076
|
format: string;
|
|
1077
1077
|
scope?: string | undefined;
|
|
1078
1078
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1079
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1079
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1080
1080
|
proof_types_supported?: Record<string, {
|
|
1081
1081
|
proof_signing_alg_values_supported: string[];
|
|
1082
1082
|
key_attestations_required?: {
|
|
@@ -1185,7 +1185,7 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1185
1185
|
format: z.ZodString;
|
|
1186
1186
|
scope: z.ZodOptional<z.ZodString>;
|
|
1187
1187
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1188
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
1188
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
1189
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1190
1190
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1191
1191
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1291,7 +1291,7 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1291
1291
|
format: string;
|
|
1292
1292
|
scope?: string | undefined;
|
|
1293
1293
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1294
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1294
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1295
1295
|
proof_types_supported?: Record<string, {
|
|
1296
1296
|
proof_signing_alg_values_supported: string[];
|
|
1297
1297
|
key_attestations_required?: {
|
|
@@ -1320,7 +1320,7 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1320
1320
|
credential_metadata?: undefined;
|
|
1321
1321
|
}>>>;
|
|
1322
1322
|
}, z.core.$loose>;
|
|
1323
|
-
declare const
|
|
1323
|
+
declare const zCredentialConfigurationSupportedDraft11ToV1: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
1324
1324
|
id: z.ZodOptional<z.ZodString>;
|
|
1325
1325
|
format: z.ZodString;
|
|
1326
1326
|
cryptographic_suites_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1345,7 +1345,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1345
1345
|
}[] | undefined;
|
|
1346
1346
|
claims?: any;
|
|
1347
1347
|
} | undefined;
|
|
1348
|
-
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1348
|
+
credential_signing_alg_values_supported?: string[] | (-19 | -53 | -8 | -9 | -51 | -52 | -47 | -7 | -35 | -36 | -257 | -258 | -259 | -37 | -38 | -39)[] | undefined;
|
|
1349
1349
|
format: string;
|
|
1350
1350
|
}, {
|
|
1351
1351
|
[x: string]: unknown;
|
|
@@ -1376,7 +1376,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1376
1376
|
}[] | undefined;
|
|
1377
1377
|
claims?: any;
|
|
1378
1378
|
} | undefined;
|
|
1379
|
-
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1379
|
+
credential_signing_alg_values_supported?: string[] | (-19 | -53 | -8 | -9 | -51 | -52 | -47 | -7 | -35 | -36 | -257 | -258 | -259 | -37 | -38 | -39)[] | undefined;
|
|
1380
1380
|
format: string;
|
|
1381
1381
|
}>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
1382
1382
|
format: z.ZodString;
|
|
@@ -1420,7 +1420,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1420
1420
|
format: z.ZodString;
|
|
1421
1421
|
scope: z.ZodOptional<z.ZodString>;
|
|
1422
1422
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1423
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
1423
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1424
1424
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1425
1425
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1426
1426
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1526,7 +1526,7 @@ declare const zCredentialConfigurationSupportedDraft11To16: z.ZodPipe<z.ZodPipe<
|
|
|
1526
1526
|
format: string;
|
|
1527
1527
|
scope?: string | undefined;
|
|
1528
1528
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1529
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1529
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1530
1530
|
proof_types_supported?: Record<string, {
|
|
1531
1531
|
proof_signing_alg_values_supported: string[];
|
|
1532
1532
|
key_attestations_required?: {
|
|
@@ -1657,7 +1657,7 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1657
1657
|
format: z.ZodString;
|
|
1658
1658
|
scope: z.ZodOptional<z.ZodString>;
|
|
1659
1659
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1660
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.
|
|
1660
|
+
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1661
1661
|
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1662
1662
|
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1663
1663
|
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
@@ -1763,7 +1763,7 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1763
1763
|
format: string;
|
|
1764
1764
|
scope?: string | undefined;
|
|
1765
1765
|
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1766
|
-
credential_signing_alg_values_supported?: string[] |
|
|
1766
|
+
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1767
1767
|
proof_types_supported?: Record<string, {
|
|
1768
1768
|
proof_signing_alg_values_supported: string[];
|
|
1769
1769
|
key_attestations_required?: {
|
|
@@ -3212,7 +3212,7 @@ declare function extractScopesForCredentialConfigurationIds(options: ExtractScop
|
|
|
3212
3212
|
* @throws if a credentials supported entry without id is passed
|
|
3213
3213
|
* @throws if a credentials supported entry with invalid structure or format specific properties is passed
|
|
3214
3214
|
*/
|
|
3215
|
-
declare function credentialsSupportedToCredentialConfigurationsSupported(credentialsSupported: Array<z.input<typeof
|
|
3215
|
+
declare function credentialsSupportedToCredentialConfigurationsSupported(credentialsSupported: Array<z.input<typeof zCredentialConfigurationSupportedDraft11ToV1>>): CredentialConfigurationsSupported;
|
|
3216
3216
|
//#endregion
|
|
3217
3217
|
//#region src/nonce/z-nonce.d.ts
|
|
3218
3218
|
declare const zNonceResponse: z.ZodObject<{
|