@openid4vc/openid4vp 0.4.0 → 0.4.1-alpha-20251201105418

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +31 -31
  2. package/package.json +3 -3
package/dist/index.d.mts CHANGED
@@ -28,26 +28,26 @@ declare const zWalletMetadata: z.ZodObject<{
28
28
  alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
29
  }, z.core.$loose>>]>>;
30
30
  client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodEnum<{
31
- "pre-registered": "pre-registered";
32
31
  redirect_uri: "redirect_uri";
33
- verifier_attestation: "verifier_attestation";
34
- https: "https";
32
+ "pre-registered": "pre-registered";
35
33
  did: "did";
34
+ verifier_attestation: "verifier_attestation";
35
+ x509_san_dns: "x509_san_dns";
36
36
  x509_san_uri: "x509_san_uri";
37
37
  x509_hash: "x509_hash";
38
- x509_san_dns: "x509_san_dns";
38
+ https: "https";
39
39
  origin: "origin";
40
40
  "web-origin": "web-origin";
41
41
  }>>>;
42
42
  client_id_prefixes_supported: z.ZodOptional<z.ZodArray<z.ZodEnum<{
43
- "pre-registered": "pre-registered";
44
43
  redirect_uri: "redirect_uri";
44
+ "pre-registered": "pre-registered";
45
45
  verifier_attestation: "verifier_attestation";
46
- openid_federation: "openid_federation";
47
- decentralized_identifier: "decentralized_identifier";
46
+ x509_san_dns: "x509_san_dns";
48
47
  x509_san_uri: "x509_san_uri";
49
48
  x509_hash: "x509_hash";
50
- x509_san_dns: "x509_san_dns";
49
+ openid_federation: "openid_federation";
50
+ decentralized_identifier: "decentralized_identifier";
51
51
  origin: "origin";
52
52
  }>>>;
53
53
  request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -141,14 +141,14 @@ declare const zOpenid4vpAuthorizationRequest: z.ZodObject<{
141
141
  transaction_data: z.ZodOptional<z.ZodArray<z.ZodBase64URL>>;
142
142
  trust_chain: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
143
143
  client_id_scheme: z.ZodOptional<z.ZodEnum<{
144
- "pre-registered": "pre-registered";
145
144
  redirect_uri: "redirect_uri";
146
- verifier_attestation: "verifier_attestation";
145
+ "pre-registered": "pre-registered";
146
+ entity_id: "entity_id";
147
147
  did: "did";
148
+ verifier_attestation: "verifier_attestation";
149
+ x509_san_dns: "x509_san_dns";
148
150
  x509_san_uri: "x509_san_uri";
149
151
  x509_hash: "x509_hash";
150
- x509_san_dns: "x509_san_dns";
151
- entity_id: "entity_id";
152
152
  }>>;
153
153
  verifier_attestations: z.ZodOptional<z.ZodArray<z.ZodObject<{
154
154
  format: z.ZodString;
@@ -404,7 +404,7 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
404
404
  state?: string | undefined;
405
405
  transaction_data?: string[] | undefined;
406
406
  trust_chain?: [string, ...string[]] | undefined;
407
- client_id_scheme?: "pre-registered" | "redirect_uri" | "verifier_attestation" | "did" | "x509_san_uri" | "x509_hash" | "x509_san_dns" | "entity_id" | undefined;
407
+ client_id_scheme?: "redirect_uri" | "pre-registered" | "entity_id" | "did" | "verifier_attestation" | "x509_san_dns" | "x509_san_uri" | "x509_hash" | undefined;
408
408
  verifier_attestations?: {
409
409
  format: string;
410
410
  data: string | Record<string, unknown>;
@@ -690,7 +690,7 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
690
690
  state?: string | undefined;
691
691
  transaction_data?: string[] | undefined;
692
692
  trust_chain?: [string, ...string[]] | undefined;
693
- client_id_scheme?: "pre-registered" | "redirect_uri" | "verifier_attestation" | "did" | "x509_san_uri" | "x509_hash" | "x509_san_dns" | "entity_id" | undefined;
693
+ client_id_scheme?: "redirect_uri" | "pre-registered" | "entity_id" | "did" | "verifier_attestation" | "x509_san_dns" | "x509_san_uri" | "x509_hash" | undefined;
694
694
  verifier_attestations?: {
695
695
  format: string;
696
696
  data: string | Record<string, unknown>;
@@ -893,7 +893,7 @@ declare function createOpenid4vpAuthorizationRequest(options: CreateOpenid4vpAut
893
893
  state?: string | undefined;
894
894
  transaction_data?: string[] | undefined;
895
895
  trust_chain?: [string, ...string[]] | undefined;
896
- client_id_scheme?: "pre-registered" | "redirect_uri" | "verifier_attestation" | "did" | "x509_san_uri" | "x509_hash" | "x509_san_dns" | "entity_id" | undefined;
896
+ client_id_scheme?: "redirect_uri" | "pre-registered" | "entity_id" | "did" | "verifier_attestation" | "x509_san_dns" | "x509_san_uri" | "x509_hash" | undefined;
897
897
  verifier_attestations?: {
898
898
  format: string;
899
899
  data: string | Record<string, unknown>;
@@ -1113,40 +1113,40 @@ declare function parseAuthorizationRequestVersion(request: Openid4vpAuthorizatio
1113
1113
  //#endregion
1114
1114
  //#region src/client-identifier-prefix/z-client-id-prefix.d.ts
1115
1115
  declare const zClientIdPrefix: z.ZodEnum<{
1116
- "pre-registered": "pre-registered";
1117
1116
  redirect_uri: "redirect_uri";
1117
+ "pre-registered": "pre-registered";
1118
+ did: "did";
1118
1119
  verifier_attestation: "verifier_attestation";
1120
+ x509_san_dns: "x509_san_dns";
1121
+ x509_san_uri: "x509_san_uri";
1122
+ x509_hash: "x509_hash";
1119
1123
  https: "https";
1120
1124
  openid_federation: "openid_federation";
1121
- did: "did";
1122
1125
  decentralized_identifier: "decentralized_identifier";
1123
- x509_san_uri: "x509_san_uri";
1124
- x509_hash: "x509_hash";
1125
- x509_san_dns: "x509_san_dns";
1126
1126
  origin: "origin";
1127
1127
  "web-origin": "web-origin";
1128
1128
  }>;
1129
1129
  declare const zUniformClientIdPrefix: z.ZodEnum<{
1130
- "pre-registered": "pre-registered";
1131
1130
  redirect_uri: "redirect_uri";
1131
+ "pre-registered": "pre-registered";
1132
1132
  verifier_attestation: "verifier_attestation";
1133
- openid_federation: "openid_federation";
1134
- decentralized_identifier: "decentralized_identifier";
1133
+ x509_san_dns: "x509_san_dns";
1135
1134
  x509_san_uri: "x509_san_uri";
1136
1135
  x509_hash: "x509_hash";
1137
- x509_san_dns: "x509_san_dns";
1136
+ openid_federation: "openid_federation";
1137
+ decentralized_identifier: "decentralized_identifier";
1138
1138
  origin: "origin";
1139
1139
  }>;
1140
1140
  type ClientIdPrefix = z.infer<typeof zClientIdPrefix>;
1141
1141
  type UniformClientIdPrefix = z.infer<typeof zUniformClientIdPrefix>;
1142
1142
  declare const zLegacyClientIdScheme: z.ZodEnum<{
1143
- "pre-registered": "pre-registered";
1144
1143
  redirect_uri: "redirect_uri";
1145
- verifier_attestation: "verifier_attestation";
1144
+ "pre-registered": "pre-registered";
1145
+ entity_id: "entity_id";
1146
1146
  did: "did";
1147
- x509_san_uri: "x509_san_uri";
1147
+ verifier_attestation: "verifier_attestation";
1148
1148
  x509_san_dns: "x509_san_dns";
1149
- entity_id: "entity_id";
1149
+ x509_san_uri: "x509_san_uri";
1150
1150
  }>;
1151
1151
  type LegacyClientIdScheme = z.infer<typeof zLegacyClientIdScheme>;
1152
1152
  //#endregion
@@ -1958,7 +1958,7 @@ declare class Openid4vpVerifier {
1958
1958
  state?: string | undefined;
1959
1959
  transaction_data?: string[] | undefined;
1960
1960
  trust_chain?: [string, ...string[]] | undefined;
1961
- client_id_scheme?: "pre-registered" | "redirect_uri" | "verifier_attestation" | "did" | "x509_san_uri" | "x509_hash" | "x509_san_dns" | "entity_id" | undefined;
1961
+ client_id_scheme?: "redirect_uri" | "pre-registered" | "entity_id" | "did" | "verifier_attestation" | "x509_san_dns" | "x509_san_uri" | "x509_hash" | undefined;
1962
1962
  verifier_attestations?: {
1963
1963
  format: string;
1964
1964
  data: string | Record<string, unknown>;
@@ -2244,7 +2244,7 @@ declare class Openid4vpVerifier {
2244
2244
  state?: string | undefined;
2245
2245
  transaction_data?: string[] | undefined;
2246
2246
  trust_chain?: [string, ...string[]] | undefined;
2247
- client_id_scheme?: "pre-registered" | "redirect_uri" | "verifier_attestation" | "did" | "x509_san_uri" | "x509_hash" | "x509_san_dns" | "entity_id" | undefined;
2247
+ client_id_scheme?: "redirect_uri" | "pre-registered" | "entity_id" | "did" | "verifier_attestation" | "x509_san_dns" | "x509_san_uri" | "x509_hash" | undefined;
2248
2248
  verifier_attestations?: {
2249
2249
  format: string;
2250
2250
  data: string | Record<string, unknown>;
@@ -2447,7 +2447,7 @@ declare class Openid4vpVerifier {
2447
2447
  state?: string | undefined;
2448
2448
  transaction_data?: string[] | undefined;
2449
2449
  trust_chain?: [string, ...string[]] | undefined;
2450
- client_id_scheme?: "pre-registered" | "redirect_uri" | "verifier_attestation" | "did" | "x509_san_uri" | "x509_hash" | "x509_san_dns" | "entity_id" | undefined;
2450
+ client_id_scheme?: "redirect_uri" | "pre-registered" | "entity_id" | "did" | "verifier_attestation" | "x509_san_dns" | "x509_san_uri" | "x509_hash" | undefined;
2451
2451
  verifier_attestations?: {
2452
2452
  format: string;
2453
2453
  data: string | Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openid4vc/openid4vp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1-alpha-20251201105418",
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.0",
25
- "@openid4vc/utils": "0.4.0"
24
+ "@openid4vc/oauth2": "0.4.1-alpha-20251201105418",
25
+ "@openid4vc/utils": "0.4.1-alpha-20251201105418"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsdown src/index.ts --format esm --dts --sourcemap"