@openid4vc/openid4vp 0.4.3-alpha-20251210081011 → 0.4.3-alpha-20251210143838
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 +11 -11
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -35,8 +35,8 @@ declare const zWalletMetadata: z.ZodObject<{
|
|
|
35
35
|
x509_san_dns: "x509_san_dns";
|
|
36
36
|
x509_san_uri: "x509_san_uri";
|
|
37
37
|
x509_hash: "x509_hash";
|
|
38
|
-
https: "https";
|
|
39
38
|
origin: "origin";
|
|
39
|
+
https: "https";
|
|
40
40
|
"web-origin": "web-origin";
|
|
41
41
|
}>>>;
|
|
42
42
|
client_id_prefixes_supported: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -46,9 +46,9 @@ declare const zWalletMetadata: z.ZodObject<{
|
|
|
46
46
|
x509_san_dns: "x509_san_dns";
|
|
47
47
|
x509_san_uri: "x509_san_uri";
|
|
48
48
|
x509_hash: "x509_hash";
|
|
49
|
+
origin: "origin";
|
|
49
50
|
openid_federation: "openid_federation";
|
|
50
51
|
decentralized_identifier: "decentralized_identifier";
|
|
51
|
-
origin: "origin";
|
|
52
52
|
}>>>;
|
|
53
53
|
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
54
|
authorization_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -188,7 +188,6 @@ type Openid4vpJarAuthorizationRequest = z.infer<typeof zOpenid4vpJarAuthorizatio
|
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region src/authorization-request/z-authorization-request-dc-api.d.ts
|
|
190
190
|
declare const zOpenid4vpAuthorizationRequestDcApi: z.ZodObject<{
|
|
191
|
-
state: z.ZodOptional<z.ZodString>;
|
|
192
191
|
response_type: z.ZodLiteral<"vp_token">;
|
|
193
192
|
nonce: z.ZodString;
|
|
194
193
|
presentation_definition: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>]>>;
|
|
@@ -255,6 +254,7 @@ declare const zOpenid4vpAuthorizationRequestDcApi: z.ZodObject<{
|
|
|
255
254
|
}, z.core.$catchall<z.ZodObject<{}, z.core.$loose>>>>;
|
|
256
255
|
encrypted_response_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
257
256
|
}, z.core.$loose>>;
|
|
257
|
+
state: z.ZodOptional<z.ZodString>;
|
|
258
258
|
transaction_data: z.ZodOptional<z.ZodArray<z.ZodBase64URL>>;
|
|
259
259
|
trust_chain: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
260
260
|
verifier_attestations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -420,7 +420,6 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
420
420
|
response_type: "vp_token";
|
|
421
421
|
nonce: string;
|
|
422
422
|
response_mode: "dc_api" | "dc_api.jwt" | "w3c_dc_api.jwt" | "w3c_dc_api";
|
|
423
|
-
state?: string | undefined;
|
|
424
423
|
presentation_definition?: any;
|
|
425
424
|
dcql_query?: any;
|
|
426
425
|
client_metadata?: {
|
|
@@ -497,6 +496,7 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
497
496
|
} | undefined;
|
|
498
497
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
499
498
|
} | undefined;
|
|
499
|
+
state?: string | undefined;
|
|
500
500
|
transaction_data?: string[] | undefined;
|
|
501
501
|
trust_chain?: [string, ...string[]] | undefined;
|
|
502
502
|
verifier_attestations?: {
|
|
@@ -706,7 +706,6 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
706
706
|
response_type: "vp_token";
|
|
707
707
|
nonce: string;
|
|
708
708
|
response_mode: "dc_api" | "dc_api.jwt" | "w3c_dc_api.jwt" | "w3c_dc_api";
|
|
709
|
-
state?: string | undefined;
|
|
710
709
|
presentation_definition?: any;
|
|
711
710
|
dcql_query?: any;
|
|
712
711
|
client_metadata?: {
|
|
@@ -783,6 +782,7 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
783
782
|
} | undefined;
|
|
784
783
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
785
784
|
} | undefined;
|
|
785
|
+
state?: string | undefined;
|
|
786
786
|
transaction_data?: string[] | undefined;
|
|
787
787
|
trust_chain?: [string, ...string[]] | undefined;
|
|
788
788
|
verifier_attestations?: {
|
|
@@ -909,7 +909,6 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
909
909
|
response_type: "vp_token";
|
|
910
910
|
nonce: string;
|
|
911
911
|
response_mode: "dc_api" | "dc_api.jwt" | "w3c_dc_api.jwt" | "w3c_dc_api";
|
|
912
|
-
state?: string | undefined;
|
|
913
912
|
presentation_definition?: any;
|
|
914
913
|
dcql_query?: any;
|
|
915
914
|
client_metadata?: {
|
|
@@ -986,6 +985,7 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
986
985
|
} | undefined;
|
|
987
986
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
988
987
|
} | undefined;
|
|
988
|
+
state?: string | undefined;
|
|
989
989
|
transaction_data?: string[] | undefined;
|
|
990
990
|
trust_chain?: [string, ...string[]] | undefined;
|
|
991
991
|
verifier_attestations?: {
|
|
@@ -1120,10 +1120,10 @@ declare const zClientIdPrefix: z.ZodEnum<{
|
|
|
1120
1120
|
x509_san_dns: "x509_san_dns";
|
|
1121
1121
|
x509_san_uri: "x509_san_uri";
|
|
1122
1122
|
x509_hash: "x509_hash";
|
|
1123
|
+
origin: "origin";
|
|
1123
1124
|
https: "https";
|
|
1124
1125
|
openid_federation: "openid_federation";
|
|
1125
1126
|
decentralized_identifier: "decentralized_identifier";
|
|
1126
|
-
origin: "origin";
|
|
1127
1127
|
"web-origin": "web-origin";
|
|
1128
1128
|
}>;
|
|
1129
1129
|
declare const zUniformClientIdPrefix: z.ZodEnum<{
|
|
@@ -1133,9 +1133,9 @@ declare const zUniformClientIdPrefix: z.ZodEnum<{
|
|
|
1133
1133
|
x509_san_dns: "x509_san_dns";
|
|
1134
1134
|
x509_san_uri: "x509_san_uri";
|
|
1135
1135
|
x509_hash: "x509_hash";
|
|
1136
|
+
origin: "origin";
|
|
1136
1137
|
openid_federation: "openid_federation";
|
|
1137
1138
|
decentralized_identifier: "decentralized_identifier";
|
|
1138
|
-
origin: "origin";
|
|
1139
1139
|
}>;
|
|
1140
1140
|
type ClientIdPrefix = z.infer<typeof zClientIdPrefix>;
|
|
1141
1141
|
type UniformClientIdPrefix = z.infer<typeof zUniformClientIdPrefix>;
|
|
@@ -1974,7 +1974,6 @@ declare class Openid4vpVerifier {
|
|
|
1974
1974
|
response_type: "vp_token";
|
|
1975
1975
|
nonce: string;
|
|
1976
1976
|
response_mode: "dc_api" | "dc_api.jwt" | "w3c_dc_api.jwt" | "w3c_dc_api";
|
|
1977
|
-
state?: string | undefined;
|
|
1978
1977
|
presentation_definition?: any;
|
|
1979
1978
|
dcql_query?: any;
|
|
1980
1979
|
client_metadata?: {
|
|
@@ -2051,6 +2050,7 @@ declare class Openid4vpVerifier {
|
|
|
2051
2050
|
} | undefined;
|
|
2052
2051
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
2053
2052
|
} | undefined;
|
|
2053
|
+
state?: string | undefined;
|
|
2054
2054
|
transaction_data?: string[] | undefined;
|
|
2055
2055
|
trust_chain?: [string, ...string[]] | undefined;
|
|
2056
2056
|
verifier_attestations?: {
|
|
@@ -2260,7 +2260,6 @@ declare class Openid4vpVerifier {
|
|
|
2260
2260
|
response_type: "vp_token";
|
|
2261
2261
|
nonce: string;
|
|
2262
2262
|
response_mode: "dc_api" | "dc_api.jwt" | "w3c_dc_api.jwt" | "w3c_dc_api";
|
|
2263
|
-
state?: string | undefined;
|
|
2264
2263
|
presentation_definition?: any;
|
|
2265
2264
|
dcql_query?: any;
|
|
2266
2265
|
client_metadata?: {
|
|
@@ -2337,6 +2336,7 @@ declare class Openid4vpVerifier {
|
|
|
2337
2336
|
} | undefined;
|
|
2338
2337
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
2339
2338
|
} | undefined;
|
|
2339
|
+
state?: string | undefined;
|
|
2340
2340
|
transaction_data?: string[] | undefined;
|
|
2341
2341
|
trust_chain?: [string, ...string[]] | undefined;
|
|
2342
2342
|
verifier_attestations?: {
|
|
@@ -2463,7 +2463,6 @@ declare class Openid4vpVerifier {
|
|
|
2463
2463
|
response_type: "vp_token";
|
|
2464
2464
|
nonce: string;
|
|
2465
2465
|
response_mode: "dc_api" | "dc_api.jwt" | "w3c_dc_api.jwt" | "w3c_dc_api";
|
|
2466
|
-
state?: string | undefined;
|
|
2467
2466
|
presentation_definition?: any;
|
|
2468
2467
|
dcql_query?: any;
|
|
2469
2468
|
client_metadata?: {
|
|
@@ -2540,6 +2539,7 @@ declare class Openid4vpVerifier {
|
|
|
2540
2539
|
} | undefined;
|
|
2541
2540
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
2542
2541
|
} | undefined;
|
|
2542
|
+
state?: string | undefined;
|
|
2543
2543
|
transaction_data?: string[] | undefined;
|
|
2544
2544
|
trust_chain?: [string, ...string[]] | undefined;
|
|
2545
2545
|
verifier_attestations?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openid4vc/openid4vp",
|
|
3
|
-
"version": "0.4.3-alpha-
|
|
3
|
+
"version": "0.4.3-alpha-20251210143838",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"zod": "^4.1.13",
|
|
24
|
-
"@openid4vc/oauth2": "0.4.3-alpha-
|
|
25
|
-
"@openid4vc/utils": "0.4.3-alpha-
|
|
24
|
+
"@openid4vc/oauth2": "0.4.3-alpha-20251210143838",
|
|
25
|
+
"@openid4vc/utils": "0.4.3-alpha-20251210143838"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsdown src/index.ts --format esm --dts --sourcemap"
|