@openid4vc/openid4vci 0.3.0-alpha-20250322161816 → 0.3.0-alpha-20250324175730
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 +16 -10
- package/dist/index.d.ts +16 -10
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -11935,7 +11935,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
11935
11935
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
11936
11936
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
11937
11937
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
11938
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
11938
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
11939
11939
|
}, {
|
|
11940
11940
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
11941
11941
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12053,7 +12053,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12053
12053
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12054
12054
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12055
12055
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12056
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12056
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12057
12057
|
}, {
|
|
12058
12058
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12059
12059
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12171,7 +12171,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12171
12171
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12172
12172
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12173
12173
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12174
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12174
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12175
12175
|
}, {
|
|
12176
12176
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12177
12177
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12289,7 +12289,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12289
12289
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12290
12290
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12291
12291
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12292
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12292
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12293
12293
|
}, {
|
|
12294
12294
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12295
12295
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12407,7 +12407,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12407
12407
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12408
12408
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12409
12409
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12410
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12410
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12411
12411
|
}, {
|
|
12412
12412
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12413
12413
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12525,7 +12525,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12525
12525
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12526
12526
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12527
12527
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12528
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12528
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12529
12529
|
}, {
|
|
12530
12530
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12531
12531
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12643,7 +12643,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12643
12643
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12644
12644
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12645
12645
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12646
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12646
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12647
12647
|
}, {
|
|
12648
12648
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12649
12649
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12992,6 +12992,7 @@ declare const zCredentialRequestJwtProofTypePayload: z__default.ZodObject<{
|
|
|
12992
12992
|
jkt: z__default.ZodOptional<z__default.ZodString>;
|
|
12993
12993
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12994
12994
|
status: z__default.ZodOptional<z__default.ZodRecord<z__default.ZodString, z__default.ZodAny>>;
|
|
12995
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12995
12996
|
}, "passthrough", z__default.ZodTypeAny, z__default.objectOutputType<{
|
|
12996
12997
|
aud: z__default.ZodEffects<z__default.ZodString, string, string>;
|
|
12997
12998
|
iat: z__default.ZodNumber;
|
|
@@ -13335,6 +13336,7 @@ declare const zCredentialRequestJwtProofTypePayload: z__default.ZodObject<{
|
|
|
13335
13336
|
jkt: z__default.ZodOptional<z__default.ZodString>;
|
|
13336
13337
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
13337
13338
|
status: z__default.ZodOptional<z__default.ZodRecord<z__default.ZodString, z__default.ZodAny>>;
|
|
13339
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
13338
13340
|
}, z__default.ZodTypeAny, "passthrough">, z__default.objectInputType<{
|
|
13339
13341
|
aud: z__default.ZodEffects<z__default.ZodString, string, string>;
|
|
13340
13342
|
iat: z__default.ZodNumber;
|
|
@@ -13678,6 +13680,7 @@ declare const zCredentialRequestJwtProofTypePayload: z__default.ZodObject<{
|
|
|
13678
13680
|
jkt: z__default.ZodOptional<z__default.ZodString>;
|
|
13679
13681
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
13680
13682
|
status: z__default.ZodOptional<z__default.ZodRecord<z__default.ZodString, z__default.ZodAny>>;
|
|
13683
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
13681
13684
|
}, z__default.ZodTypeAny, "passthrough">>;
|
|
13682
13685
|
type CredentialRequestJwtProofTypePayload = z__default.infer<typeof zCredentialRequestJwtProofTypePayload>;
|
|
13683
13686
|
|
|
@@ -17363,7 +17366,7 @@ declare class Openid4vciIssuer {
|
|
|
17363
17366
|
x5u: z.ZodOptional<z.ZodString>;
|
|
17364
17367
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17365
17368
|
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17366
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "
|
|
17369
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
17367
17370
|
}, {
|
|
17368
17371
|
key_attestation: z.ZodOptional<z.ZodString>;
|
|
17369
17372
|
typ: z.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -17711,6 +17714,7 @@ declare class Openid4vciIssuer {
|
|
|
17711
17714
|
jkt: z.ZodOptional<z.ZodString>;
|
|
17712
17715
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17713
17716
|
status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17717
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
17714
17718
|
}, z.ZodTypeAny, "passthrough">;
|
|
17715
17719
|
signer: _openid4vc_oauth2.JwtSignerWithJwk;
|
|
17716
17720
|
keyAttestation: {
|
|
@@ -17828,7 +17832,7 @@ declare class Openid4vciIssuer {
|
|
|
17828
17832
|
x5u: z.ZodOptional<z.ZodString>;
|
|
17829
17833
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17830
17834
|
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17831
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "
|
|
17835
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
17832
17836
|
}, z.ZodTypeAny, "passthrough">;
|
|
17833
17837
|
payload: z.objectOutputType<{
|
|
17834
17838
|
nonce: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
@@ -18285,6 +18289,7 @@ declare class Openid4vciIssuer {
|
|
|
18285
18289
|
jkt: z.ZodOptional<z.ZodString>;
|
|
18286
18290
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18287
18291
|
status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18292
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
18288
18293
|
}, z.ZodTypeAny, "passthrough">;
|
|
18289
18294
|
signer: _openid4vc_oauth2.JwtSignerWithJwk;
|
|
18290
18295
|
} | undefined;
|
|
@@ -18410,7 +18415,7 @@ declare class Openid4vciIssuer {
|
|
|
18410
18415
|
x5u: z.ZodOptional<z.ZodString>;
|
|
18411
18416
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18412
18417
|
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18413
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "
|
|
18418
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
18414
18419
|
}, z.ZodTypeAny, "passthrough">;
|
|
18415
18420
|
payload: z.objectOutputType<{
|
|
18416
18421
|
nonce: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
@@ -18867,6 +18872,7 @@ declare class Openid4vciIssuer {
|
|
|
18867
18872
|
jkt: z.ZodOptional<z.ZodString>;
|
|
18868
18873
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18869
18874
|
status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18875
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
18870
18876
|
}, z.ZodTypeAny, "passthrough">;
|
|
18871
18877
|
signer: _openid4vc_oauth2.JwtSignerWithJwk;
|
|
18872
18878
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -11935,7 +11935,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
11935
11935
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
11936
11936
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
11937
11937
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
11938
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
11938
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
11939
11939
|
}, {
|
|
11940
11940
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
11941
11941
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12053,7 +12053,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12053
12053
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12054
12054
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12055
12055
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12056
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12056
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12057
12057
|
}, {
|
|
12058
12058
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12059
12059
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12171,7 +12171,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12171
12171
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12172
12172
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12173
12173
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12174
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12174
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12175
12175
|
}, {
|
|
12176
12176
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12177
12177
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12289,7 +12289,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12289
12289
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12290
12290
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12291
12291
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12292
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12292
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12293
12293
|
}, {
|
|
12294
12294
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12295
12295
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12407,7 +12407,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12407
12407
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12408
12408
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12409
12409
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12410
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12410
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12411
12411
|
}, {
|
|
12412
12412
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12413
12413
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12525,7 +12525,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12525
12525
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12526
12526
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12527
12527
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12528
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12528
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12529
12529
|
}, {
|
|
12530
12530
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12531
12531
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12643,7 +12643,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z__default.ZodEffects<z__def
|
|
|
12643
12643
|
x5u: z__default.ZodOptional<z__default.ZodString>;
|
|
12644
12644
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12645
12645
|
x5c: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
|
|
12646
|
-
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "
|
|
12646
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12647
12647
|
}, {
|
|
12648
12648
|
key_attestation: z__default.ZodOptional<z__default.ZodString>;
|
|
12649
12649
|
typ: z__default.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -12992,6 +12992,7 @@ declare const zCredentialRequestJwtProofTypePayload: z__default.ZodObject<{
|
|
|
12992
12992
|
jkt: z__default.ZodOptional<z__default.ZodString>;
|
|
12993
12993
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
12994
12994
|
status: z__default.ZodOptional<z__default.ZodRecord<z__default.ZodString, z__default.ZodAny>>;
|
|
12995
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
12995
12996
|
}, "passthrough", z__default.ZodTypeAny, z__default.objectOutputType<{
|
|
12996
12997
|
aud: z__default.ZodEffects<z__default.ZodString, string, string>;
|
|
12997
12998
|
iat: z__default.ZodNumber;
|
|
@@ -13335,6 +13336,7 @@ declare const zCredentialRequestJwtProofTypePayload: z__default.ZodObject<{
|
|
|
13335
13336
|
jkt: z__default.ZodOptional<z__default.ZodString>;
|
|
13336
13337
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
13337
13338
|
status: z__default.ZodOptional<z__default.ZodRecord<z__default.ZodString, z__default.ZodAny>>;
|
|
13339
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
13338
13340
|
}, z__default.ZodTypeAny, "passthrough">, z__default.objectInputType<{
|
|
13339
13341
|
aud: z__default.ZodEffects<z__default.ZodString, string, string>;
|
|
13340
13342
|
iat: z__default.ZodNumber;
|
|
@@ -13678,6 +13680,7 @@ declare const zCredentialRequestJwtProofTypePayload: z__default.ZodObject<{
|
|
|
13678
13680
|
jkt: z__default.ZodOptional<z__default.ZodString>;
|
|
13679
13681
|
}, z__default.ZodTypeAny, "passthrough">>>;
|
|
13680
13682
|
status: z__default.ZodOptional<z__default.ZodRecord<z__default.ZodString, z__default.ZodAny>>;
|
|
13683
|
+
trust_chain: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "atleastone">>;
|
|
13681
13684
|
}, z__default.ZodTypeAny, "passthrough">>;
|
|
13682
13685
|
type CredentialRequestJwtProofTypePayload = z__default.infer<typeof zCredentialRequestJwtProofTypePayload>;
|
|
13683
13686
|
|
|
@@ -17363,7 +17366,7 @@ declare class Openid4vciIssuer {
|
|
|
17363
17366
|
x5u: z.ZodOptional<z.ZodString>;
|
|
17364
17367
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17365
17368
|
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17366
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "
|
|
17369
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
17367
17370
|
}, {
|
|
17368
17371
|
key_attestation: z.ZodOptional<z.ZodString>;
|
|
17369
17372
|
typ: z.ZodLiteral<"openid4vci-proof+jwt">;
|
|
@@ -17711,6 +17714,7 @@ declare class Openid4vciIssuer {
|
|
|
17711
17714
|
jkt: z.ZodOptional<z.ZodString>;
|
|
17712
17715
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17713
17716
|
status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17717
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
17714
17718
|
}, z.ZodTypeAny, "passthrough">;
|
|
17715
17719
|
signer: _openid4vc_oauth2.JwtSignerWithJwk;
|
|
17716
17720
|
keyAttestation: {
|
|
@@ -17828,7 +17832,7 @@ declare class Openid4vciIssuer {
|
|
|
17828
17832
|
x5u: z.ZodOptional<z.ZodString>;
|
|
17829
17833
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17830
17834
|
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17831
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "
|
|
17835
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
17832
17836
|
}, z.ZodTypeAny, "passthrough">;
|
|
17833
17837
|
payload: z.objectOutputType<{
|
|
17834
17838
|
nonce: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
@@ -18285,6 +18289,7 @@ declare class Openid4vciIssuer {
|
|
|
18285
18289
|
jkt: z.ZodOptional<z.ZodString>;
|
|
18286
18290
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18287
18291
|
status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18292
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
18288
18293
|
}, z.ZodTypeAny, "passthrough">;
|
|
18289
18294
|
signer: _openid4vc_oauth2.JwtSignerWithJwk;
|
|
18290
18295
|
} | undefined;
|
|
@@ -18410,7 +18415,7 @@ declare class Openid4vciIssuer {
|
|
|
18410
18415
|
x5u: z.ZodOptional<z.ZodString>;
|
|
18411
18416
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18412
18417
|
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18413
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "
|
|
18418
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
18414
18419
|
}, z.ZodTypeAny, "passthrough">;
|
|
18415
18420
|
payload: z.objectOutputType<{
|
|
18416
18421
|
nonce: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
@@ -18867,6 +18872,7 @@ declare class Openid4vciIssuer {
|
|
|
18867
18872
|
jkt: z.ZodOptional<z.ZodString>;
|
|
18868
18873
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18869
18874
|
status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18875
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
|
|
18870
18876
|
}, z.ZodTypeAny, "passthrough">;
|
|
18871
18877
|
signer: _openid4vc_oauth2.JwtSignerWithJwk;
|
|
18872
18878
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1774,7 +1774,10 @@ var Openid4vciClient = class {
|
|
|
1774
1774
|
* @throws ValidationError - if validating the nonce response failed
|
|
1775
1775
|
*/
|
|
1776
1776
|
async requestNonce(options) {
|
|
1777
|
-
return requestNonce(
|
|
1777
|
+
return requestNonce({
|
|
1778
|
+
...options,
|
|
1779
|
+
fetch: this.options.callbacks.fetch
|
|
1780
|
+
});
|
|
1778
1781
|
}
|
|
1779
1782
|
/**
|
|
1780
1783
|
* Creates the jwt proof payload and header to be included in a credential request.
|