@openid4vc/openid4vp 0.4.2 → 0.4.3-alpha-20251210081011
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 +7 -7
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -188,6 +188,7 @@ 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>;
|
|
191
192
|
response_type: z.ZodLiteral<"vp_token">;
|
|
192
193
|
nonce: z.ZodString;
|
|
193
194
|
presentation_definition: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodPipe<z.ZodString, z.ZodTransform<any, string>>]>>;
|
|
@@ -254,7 +255,6 @@ declare const zOpenid4vpAuthorizationRequestDcApi: z.ZodObject<{
|
|
|
254
255
|
}, z.core.$catchall<z.ZodObject<{}, z.core.$loose>>>>;
|
|
255
256
|
encrypted_response_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
257
|
}, 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,6 +420,7 @@ 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;
|
|
423
424
|
presentation_definition?: any;
|
|
424
425
|
dcql_query?: any;
|
|
425
426
|
client_metadata?: {
|
|
@@ -496,7 +497,6 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
496
497
|
} | undefined;
|
|
497
498
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
498
499
|
} | undefined;
|
|
499
|
-
state?: string | undefined;
|
|
500
500
|
transaction_data?: string[] | undefined;
|
|
501
501
|
trust_chain?: [string, ...string[]] | undefined;
|
|
502
502
|
verifier_attestations?: {
|
|
@@ -706,6 +706,7 @@ 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;
|
|
709
710
|
presentation_definition?: any;
|
|
710
711
|
dcql_query?: any;
|
|
711
712
|
client_metadata?: {
|
|
@@ -782,7 +783,6 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
782
783
|
} | undefined;
|
|
783
784
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
784
785
|
} | undefined;
|
|
785
|
-
state?: string | undefined;
|
|
786
786
|
transaction_data?: string[] | undefined;
|
|
787
787
|
trust_chain?: [string, ...string[]] | undefined;
|
|
788
788
|
verifier_attestations?: {
|
|
@@ -909,6 +909,7 @@ 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;
|
|
912
913
|
presentation_definition?: any;
|
|
913
914
|
dcql_query?: any;
|
|
914
915
|
client_metadata?: {
|
|
@@ -985,7 +986,6 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
|
|
|
985
986
|
} | undefined;
|
|
986
987
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
987
988
|
} | undefined;
|
|
988
|
-
state?: string | undefined;
|
|
989
989
|
transaction_data?: string[] | undefined;
|
|
990
990
|
trust_chain?: [string, ...string[]] | undefined;
|
|
991
991
|
verifier_attestations?: {
|
|
@@ -1974,6 +1974,7 @@ 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;
|
|
1977
1978
|
presentation_definition?: any;
|
|
1978
1979
|
dcql_query?: any;
|
|
1979
1980
|
client_metadata?: {
|
|
@@ -2050,7 +2051,6 @@ declare class Openid4vpVerifier {
|
|
|
2050
2051
|
} | undefined;
|
|
2051
2052
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
2052
2053
|
} | undefined;
|
|
2053
|
-
state?: string | undefined;
|
|
2054
2054
|
transaction_data?: string[] | undefined;
|
|
2055
2055
|
trust_chain?: [string, ...string[]] | undefined;
|
|
2056
2056
|
verifier_attestations?: {
|
|
@@ -2260,6 +2260,7 @@ 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;
|
|
2263
2264
|
presentation_definition?: any;
|
|
2264
2265
|
dcql_query?: any;
|
|
2265
2266
|
client_metadata?: {
|
|
@@ -2336,7 +2337,6 @@ declare class Openid4vpVerifier {
|
|
|
2336
2337
|
} | undefined;
|
|
2337
2338
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
2338
2339
|
} | undefined;
|
|
2339
|
-
state?: string | undefined;
|
|
2340
2340
|
transaction_data?: string[] | undefined;
|
|
2341
2341
|
trust_chain?: [string, ...string[]] | undefined;
|
|
2342
2342
|
verifier_attestations?: {
|
|
@@ -2463,6 +2463,7 @@ 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;
|
|
2466
2467
|
presentation_definition?: any;
|
|
2467
2468
|
dcql_query?: any;
|
|
2468
2469
|
client_metadata?: {
|
|
@@ -2539,7 +2540,6 @@ declare class Openid4vpVerifier {
|
|
|
2539
2540
|
} | undefined;
|
|
2540
2541
|
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
2541
2542
|
} | 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
|
+
"version": "0.4.3-alpha-20251210081011",
|
|
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.
|
|
25
|
-
"@openid4vc/utils": "0.4.
|
|
24
|
+
"@openid4vc/oauth2": "0.4.3-alpha-20251210081011",
|
|
25
|
+
"@openid4vc/utils": "0.4.3-alpha-20251210081011"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsdown src/index.ts --format esm --dts --sourcemap"
|