@openvtc/trust-tasks 0.26.0 → 0.26.1

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/oid4vp/identities/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACxD,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,iDAAiD;IAChE;;OAEG;IACH,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B;;OAEG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoQjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2P1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,559 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/oid4vp/identities/list/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/oid4vp/identities/list/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/oid4vp/identities/list/0.1#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/vtc/oid4vp/identities/list/0.1",
21
+ "title": "VTC OpenID4VP Verifier Identities List — payload",
22
+ "description": "An administrator reads the OpenID4VP verifier identities the community holds — the identities it presents to wallets that speak OpenID4VP and no Trust Task protocol — and, for each, whether it can open a presentation session now and what stands in the way. The outer document members are owned by the framework — SPEC §6.3.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "ext": {
27
+ "$ref": "#/$defs/Ext"
28
+ }
29
+ },
30
+ "$defs": {
31
+ "Problem": {
32
+ "title": "Problem",
33
+ "type": "object",
34
+ "additionalProperties": false,
35
+ "description": "One thing that stops, or will soon stop, a verifier identity or the community's verifier as a whole from serving wallets.",
36
+ "required": [
37
+ "code",
38
+ "severity"
39
+ ],
40
+ "properties": {
41
+ "code": {
42
+ "type": "string",
43
+ "enum": [
44
+ "keyCustodyInvalid",
45
+ "signerNotLoaded",
46
+ "agentLinkMissing",
47
+ "certificateMissing",
48
+ "certificateNotYetValid",
49
+ "certificateExpired",
50
+ "certificateExpiresSoon",
51
+ "identityStatementMissing",
52
+ "statementExpired",
53
+ "statementExpiresSoon",
54
+ "defaultIdentityNotInstalled",
55
+ "noPublicUrl"
56
+ ],
57
+ "description": "What is wrong, as tabled in the specification."
58
+ },
59
+ "severity": {
60
+ "type": "string",
61
+ "enum": [
62
+ "error",
63
+ "warning"
64
+ ],
65
+ "description": "`error`: sessions are refused, or wallets will refuse what the community sends, until it is fixed. `warning`: it works now and will not for long."
66
+ },
67
+ "detail": {
68
+ "type": "string",
69
+ "maxLength": 1024,
70
+ "description": "Maintainer-authored prose for the administrator — what to run to fix it. Never parsed."
71
+ }
72
+ }
73
+ },
74
+ "Certificate": {
75
+ "title": "Certificate",
76
+ "type": "object",
77
+ "additionalProperties": false,
78
+ "description": "An X.509-identified verifier's access certificate: the leaf of the chain it sends wallets as `x5c`.",
79
+ "required": [
80
+ "notBefore",
81
+ "notAfter",
82
+ "chainLength"
83
+ ],
84
+ "properties": {
85
+ "subject": {
86
+ "type": "string",
87
+ "maxLength": 1024,
88
+ "description": "The leaf's subject distinguished name, as RFC 4514 renders it."
89
+ },
90
+ "issuer": {
91
+ "type": "string",
92
+ "maxLength": 1024,
93
+ "description": "The leaf's issuer distinguished name, as RFC 4514 renders it."
94
+ },
95
+ "notBefore": {
96
+ "type": "string",
97
+ "format": "date-time"
98
+ },
99
+ "notAfter": {
100
+ "type": "string",
101
+ "format": "date-time"
102
+ },
103
+ "chainLength": {
104
+ "type": "integer",
105
+ "minimum": 1,
106
+ "description": "Certificates in the chain, leaf included."
107
+ }
108
+ }
109
+ },
110
+ "Attestation": {
111
+ "title": "Attestation",
112
+ "type": "object",
113
+ "additionalProperties": false,
114
+ "description": "One attestation about the verifier that every request object carries in `verifier_info`.",
115
+ "required": [
116
+ "kind"
117
+ ],
118
+ "properties": {
119
+ "kind": {
120
+ "type": "string",
121
+ "enum": [
122
+ "identityTrustStatement",
123
+ "protectedVerificationAuthorization",
124
+ "registrationCertificate",
125
+ "other"
126
+ ],
127
+ "description": "Which attestation it is, as tabled in the specification."
128
+ },
129
+ "expiresAt": {
130
+ "type": [
131
+ "string",
132
+ "null"
133
+ ],
134
+ "format": "date-time",
135
+ "description": "When it expires, if it says; null when it carries no expiry the maintainer reads."
136
+ }
137
+ }
138
+ },
139
+ "Identity": {
140
+ "title": "Identity",
141
+ "type": "object",
142
+ "additionalProperties": false,
143
+ "description": "One verifier identity, described by what is public about it. The signing key's private half, and where a remote custodian keeps it, are never returned.",
144
+ "required": [
145
+ "id",
146
+ "kind",
147
+ "custody",
148
+ "usable",
149
+ "isDefault",
150
+ "attestations",
151
+ "problems",
152
+ "installedAt"
153
+ ],
154
+ "properties": {
155
+ "id": {
156
+ "type": "string",
157
+ "minLength": 1,
158
+ "maxLength": 128,
159
+ "description": "The administrator's name for the identity."
160
+ },
161
+ "kind": {
162
+ "type": "string",
163
+ "enum": [
164
+ "swiyu",
165
+ "eudi"
166
+ ],
167
+ "description": "The wallet ecosystem it is known to: `swiyu` (a DID registered in the swiyu Base Registry) or `eudi` (an X.509 access certificate)."
168
+ },
169
+ "clientId": {
170
+ "type": [
171
+ "string",
172
+ "null"
173
+ ],
174
+ "description": "The OpenID4VP client identifier wallets see, prefix included. Null while an `eudi` identity has no certificate."
175
+ },
176
+ "did": {
177
+ "type": [
178
+ "string",
179
+ "null"
180
+ ],
181
+ "description": "The identity's DID, for a `swiyu` identity."
182
+ },
183
+ "keyId": {
184
+ "type": [
185
+ "string",
186
+ "null"
187
+ ],
188
+ "description": "The verification method that signs request objects, for an identity known by a DID."
189
+ },
190
+ "custody": {
191
+ "type": "string",
192
+ "enum": [
193
+ "cached",
194
+ "agent",
195
+ "invalid"
196
+ ],
197
+ "description": "Where the signing key is: `cached` by the community, kept by its `agent` (which signs every request object), or `invalid` when the record names neither or both."
198
+ },
199
+ "usable": {
200
+ "type": "boolean",
201
+ "description": "Whether a session could be opened on this identity now: true exactly when no `error` problem applies to it, and none other than `defaultIdentityNotInstalled` applies to the community's verifier as a whole."
202
+ },
203
+ "isDefault": {
204
+ "type": "boolean",
205
+ "description": "Whether a session that names no client identifier prefix uses this identity."
206
+ },
207
+ "certificate": {
208
+ "$ref": "#/$defs/Certificate",
209
+ "description": "The access certificate, for an `eudi` identity that has one."
210
+ },
211
+ "attestations": {
212
+ "type": "array",
213
+ "items": {
214
+ "$ref": "#/$defs/Attestation"
215
+ },
216
+ "description": "What every request object carries in `verifier_info`, in the order it carries them. Empty when it carries none."
217
+ },
218
+ "problems": {
219
+ "type": "array",
220
+ "items": {
221
+ "$ref": "#/$defs/Problem"
222
+ },
223
+ "description": "What is wrong with this identity. Empty when nothing is."
224
+ },
225
+ "installedAt": {
226
+ "type": "string",
227
+ "format": "date-time"
228
+ }
229
+ }
230
+ },
231
+ "Response": {
232
+ "$anchor": "response",
233
+ "title": "VTC OpenID4VP Verifier Identities List — response payload",
234
+ "type": "object",
235
+ "additionalProperties": false,
236
+ "required": [
237
+ "identities",
238
+ "problems"
239
+ ],
240
+ "properties": {
241
+ "identities": {
242
+ "type": "array",
243
+ "items": {
244
+ "$ref": "#/$defs/Identity"
245
+ },
246
+ "description": "Every verifier identity the community holds, by `id`. Empty when it holds none."
247
+ },
248
+ "defaultIdentity": {
249
+ "type": [
250
+ "string",
251
+ "null"
252
+ ],
253
+ "description": "The identity the community is configured to use when a session names no client identifier prefix; null when none is configured, and the first usable identity is used."
254
+ },
255
+ "problems": {
256
+ "type": "array",
257
+ "items": {
258
+ "$ref": "#/$defs/Problem"
259
+ },
260
+ "description": "What is wrong with the community's verifier as a whole, rather than with one identity. Empty when nothing is."
261
+ },
262
+ "ext": {
263
+ "$ref": "#/$defs/Ext"
264
+ }
265
+ }
266
+ },
267
+ "Ext": {
268
+ "title": "Ext",
269
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
270
+ "type": "object",
271
+ "minProperties": 1,
272
+ "additionalProperties": true,
273
+ "propertyNames": {
274
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
275
+ }
276
+ }
277
+ }
278
+ };
279
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
280
+ export const RESPONSE_PAYLOAD_SCHEMA = {
281
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
282
+ "$ref": "#/$defs/Response",
283
+ "$defs": {
284
+ "Problem": {
285
+ "title": "Problem",
286
+ "type": "object",
287
+ "additionalProperties": false,
288
+ "description": "One thing that stops, or will soon stop, a verifier identity or the community's verifier as a whole from serving wallets.",
289
+ "required": [
290
+ "code",
291
+ "severity"
292
+ ],
293
+ "properties": {
294
+ "code": {
295
+ "type": "string",
296
+ "enum": [
297
+ "keyCustodyInvalid",
298
+ "signerNotLoaded",
299
+ "agentLinkMissing",
300
+ "certificateMissing",
301
+ "certificateNotYetValid",
302
+ "certificateExpired",
303
+ "certificateExpiresSoon",
304
+ "identityStatementMissing",
305
+ "statementExpired",
306
+ "statementExpiresSoon",
307
+ "defaultIdentityNotInstalled",
308
+ "noPublicUrl"
309
+ ],
310
+ "description": "What is wrong, as tabled in the specification."
311
+ },
312
+ "severity": {
313
+ "type": "string",
314
+ "enum": [
315
+ "error",
316
+ "warning"
317
+ ],
318
+ "description": "`error`: sessions are refused, or wallets will refuse what the community sends, until it is fixed. `warning`: it works now and will not for long."
319
+ },
320
+ "detail": {
321
+ "type": "string",
322
+ "maxLength": 1024,
323
+ "description": "Maintainer-authored prose for the administrator — what to run to fix it. Never parsed."
324
+ }
325
+ }
326
+ },
327
+ "Certificate": {
328
+ "title": "Certificate",
329
+ "type": "object",
330
+ "additionalProperties": false,
331
+ "description": "An X.509-identified verifier's access certificate: the leaf of the chain it sends wallets as `x5c`.",
332
+ "required": [
333
+ "notBefore",
334
+ "notAfter",
335
+ "chainLength"
336
+ ],
337
+ "properties": {
338
+ "subject": {
339
+ "type": "string",
340
+ "maxLength": 1024,
341
+ "description": "The leaf's subject distinguished name, as RFC 4514 renders it."
342
+ },
343
+ "issuer": {
344
+ "type": "string",
345
+ "maxLength": 1024,
346
+ "description": "The leaf's issuer distinguished name, as RFC 4514 renders it."
347
+ },
348
+ "notBefore": {
349
+ "type": "string",
350
+ "format": "date-time"
351
+ },
352
+ "notAfter": {
353
+ "type": "string",
354
+ "format": "date-time"
355
+ },
356
+ "chainLength": {
357
+ "type": "integer",
358
+ "minimum": 1,
359
+ "description": "Certificates in the chain, leaf included."
360
+ }
361
+ }
362
+ },
363
+ "Attestation": {
364
+ "title": "Attestation",
365
+ "type": "object",
366
+ "additionalProperties": false,
367
+ "description": "One attestation about the verifier that every request object carries in `verifier_info`.",
368
+ "required": [
369
+ "kind"
370
+ ],
371
+ "properties": {
372
+ "kind": {
373
+ "type": "string",
374
+ "enum": [
375
+ "identityTrustStatement",
376
+ "protectedVerificationAuthorization",
377
+ "registrationCertificate",
378
+ "other"
379
+ ],
380
+ "description": "Which attestation it is, as tabled in the specification."
381
+ },
382
+ "expiresAt": {
383
+ "type": [
384
+ "string",
385
+ "null"
386
+ ],
387
+ "format": "date-time",
388
+ "description": "When it expires, if it says; null when it carries no expiry the maintainer reads."
389
+ }
390
+ }
391
+ },
392
+ "Identity": {
393
+ "title": "Identity",
394
+ "type": "object",
395
+ "additionalProperties": false,
396
+ "description": "One verifier identity, described by what is public about it. The signing key's private half, and where a remote custodian keeps it, are never returned.",
397
+ "required": [
398
+ "id",
399
+ "kind",
400
+ "custody",
401
+ "usable",
402
+ "isDefault",
403
+ "attestations",
404
+ "problems",
405
+ "installedAt"
406
+ ],
407
+ "properties": {
408
+ "id": {
409
+ "type": "string",
410
+ "minLength": 1,
411
+ "maxLength": 128,
412
+ "description": "The administrator's name for the identity."
413
+ },
414
+ "kind": {
415
+ "type": "string",
416
+ "enum": [
417
+ "swiyu",
418
+ "eudi"
419
+ ],
420
+ "description": "The wallet ecosystem it is known to: `swiyu` (a DID registered in the swiyu Base Registry) or `eudi` (an X.509 access certificate)."
421
+ },
422
+ "clientId": {
423
+ "type": [
424
+ "string",
425
+ "null"
426
+ ],
427
+ "description": "The OpenID4VP client identifier wallets see, prefix included. Null while an `eudi` identity has no certificate."
428
+ },
429
+ "did": {
430
+ "type": [
431
+ "string",
432
+ "null"
433
+ ],
434
+ "description": "The identity's DID, for a `swiyu` identity."
435
+ },
436
+ "keyId": {
437
+ "type": [
438
+ "string",
439
+ "null"
440
+ ],
441
+ "description": "The verification method that signs request objects, for an identity known by a DID."
442
+ },
443
+ "custody": {
444
+ "type": "string",
445
+ "enum": [
446
+ "cached",
447
+ "agent",
448
+ "invalid"
449
+ ],
450
+ "description": "Where the signing key is: `cached` by the community, kept by its `agent` (which signs every request object), or `invalid` when the record names neither or both."
451
+ },
452
+ "usable": {
453
+ "type": "boolean",
454
+ "description": "Whether a session could be opened on this identity now: true exactly when no `error` problem applies to it, and none other than `defaultIdentityNotInstalled` applies to the community's verifier as a whole."
455
+ },
456
+ "isDefault": {
457
+ "type": "boolean",
458
+ "description": "Whether a session that names no client identifier prefix uses this identity."
459
+ },
460
+ "certificate": {
461
+ "$ref": "#/$defs/Certificate",
462
+ "description": "The access certificate, for an `eudi` identity that has one."
463
+ },
464
+ "attestations": {
465
+ "type": "array",
466
+ "items": {
467
+ "$ref": "#/$defs/Attestation"
468
+ },
469
+ "description": "What every request object carries in `verifier_info`, in the order it carries them. Empty when it carries none."
470
+ },
471
+ "problems": {
472
+ "type": "array",
473
+ "items": {
474
+ "$ref": "#/$defs/Problem"
475
+ },
476
+ "description": "What is wrong with this identity. Empty when nothing is."
477
+ },
478
+ "installedAt": {
479
+ "type": "string",
480
+ "format": "date-time"
481
+ }
482
+ }
483
+ },
484
+ "Response": {
485
+ "$anchor": "response",
486
+ "title": "VTC OpenID4VP Verifier Identities List — response payload",
487
+ "type": "object",
488
+ "additionalProperties": false,
489
+ "required": [
490
+ "identities",
491
+ "problems"
492
+ ],
493
+ "properties": {
494
+ "identities": {
495
+ "type": "array",
496
+ "items": {
497
+ "$ref": "#/$defs/Identity"
498
+ },
499
+ "description": "Every verifier identity the community holds, by `id`. Empty when it holds none."
500
+ },
501
+ "defaultIdentity": {
502
+ "type": [
503
+ "string",
504
+ "null"
505
+ ],
506
+ "description": "The identity the community is configured to use when a session names no client identifier prefix; null when none is configured, and the first usable identity is used."
507
+ },
508
+ "problems": {
509
+ "type": "array",
510
+ "items": {
511
+ "$ref": "#/$defs/Problem"
512
+ },
513
+ "description": "What is wrong with the community's verifier as a whole, rather than with one identity. Empty when nothing is."
514
+ },
515
+ "ext": {
516
+ "$ref": "#/$defs/Ext"
517
+ }
518
+ }
519
+ },
520
+ "Ext": {
521
+ "title": "Ext",
522
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
523
+ "type": "object",
524
+ "minProperties": 1,
525
+ "additionalProperties": true,
526
+ "propertyNames": {
527
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
528
+ }
529
+ }
530
+ }
531
+ };
532
+ /**
533
+ * SPEC.md §7.2 policy for the request variant, from this specification's
534
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
535
+ * per-specification and cannot be derived from the document alone, and
536
+ * item 2 needs the schema this carries.
537
+ */
538
+ export const SPEC = {
539
+ typeUri: TYPE_URI,
540
+ isBearer: false,
541
+ isProofRequired: true,
542
+ isRecipientRequired: true,
543
+ isIssuedAtRequired: false,
544
+ payloadSchema: PAYLOAD_SCHEMA,
545
+ };
546
+ /**
547
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
548
+ * tracks the *issuer* party's requirement because a response swaps the
549
+ * parties (§7.3 item 5).
550
+ */
551
+ export const RESPONSE_SPEC = {
552
+ typeUri: RESPONSE_TYPE_URI,
553
+ isBearer: false,
554
+ isProofRequired: true,
555
+ isRecipientRequired: true,
556
+ isIssuedAtRequired: false,
557
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
558
+ };
559
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/oid4vp/identities/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0IH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,M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;oBACD,aAAa,EAAE,+GAA+G;iBAC/H;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -780,6 +780,7 @@ export * as VtcMembersSolicitVmc_v0_1 from "./vtc/members/solicit-vmc/0.1/payloa
780
780
  export * as VtcMembersStepUpPasskeyNotice_v0_1 from "./vtc/members/step-up-passkey-notice/0.1/payload.js";
781
781
  export * as VtcMembersUpdate_v0_1 from "./vtc/members/update/0.1/payload.js";
782
782
  export * as VtcMembersVmc_v0_1 from "./vtc/members/vmc/0.1/payload.js";
783
+ export * as VtcOid4vpIdentitiesList_v0_1 from "./vtc/oid4vp/identities/list/0.1/payload.js";
783
784
  export * as VtcOperatorOfflineWrite_v0_1 from "./vtc/operator/offline-write/0.1/payload.js";
784
785
  export * as VtcPoliciesTest_v0_1 from "./vtc/policies/test/0.1/payload.js";
785
786
  export * as VtcRecognitionCheck_v0_1 from "./vtc/recognition/check/0.1/payload.js";