@learncard/credential-library 2.0.4 → 2.0.5

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 (66) hide show
  1. package/dist/bundles/index.d.ts +5 -0
  2. package/dist/bundles/index.d.ts.map +1 -0
  3. package/dist/bundles/student.d.ts +3 -0
  4. package/dist/bundles/student.d.ts.map +1 -0
  5. package/dist/bundles/types.d.ts +24 -0
  6. package/dist/bundles/types.d.ts.map +1 -0
  7. package/dist/credential-library.cjs.development.js +10817 -682
  8. package/dist/credential-library.cjs.development.js.map +4 -4
  9. package/dist/credential-library.cjs.production.min.js +11 -1
  10. package/dist/credential-library.cjs.production.min.js.map +4 -4
  11. package/dist/credential-library.esm.js +10813 -676
  12. package/dist/credential-library.esm.js.map +4 -4
  13. package/dist/fixtures/clr/achievement-id-associations.d.ts +3 -0
  14. package/dist/fixtures/clr/achievement-id-associations.d.ts.map +1 -0
  15. package/dist/fixtures/clr/employment-record.d.ts +8 -0
  16. package/dist/fixtures/clr/employment-record.d.ts.map +1 -0
  17. package/dist/fixtures/clr/licensing-regulatory-record.d.ts +8 -0
  18. package/dist/fixtures/clr/licensing-regulatory-record.d.ts.map +1 -0
  19. package/dist/fixtures/clr/military-training-record.d.ts +8 -0
  20. package/dist/fixtures/clr/military-training-record.d.ts.map +1 -0
  21. package/dist/fixtures/clr/mixed-career-record.d.ts +8 -0
  22. package/dist/fixtures/clr/mixed-career-record.d.ts.map +1 -0
  23. package/dist/fixtures/clr/professional-organization-record.d.ts +8 -0
  24. package/dist/fixtures/clr/professional-organization-record.d.ts.map +1 -0
  25. package/dist/fixtures/clr/student-official-academic-transcript.d.ts +3 -0
  26. package/dist/fixtures/clr/student-official-academic-transcript.d.ts.map +1 -0
  27. package/dist/fixtures/clr/training-provider-record.d.ts +8 -0
  28. package/dist/fixtures/clr/training-provider-record.d.ts.map +1 -0
  29. package/dist/fixtures/index.d.ts +11 -1
  30. package/dist/fixtures/index.d.ts.map +1 -1
  31. package/dist/fixtures/obv3/student-additional-credentials.d.ts +3 -0
  32. package/dist/fixtures/obv3/student-additional-credentials.d.ts.map +1 -0
  33. package/dist/fixtures/obv3/student-sample-badges.d.ts +586 -0
  34. package/dist/fixtures/obv3/student-sample-badges.d.ts.map +1 -0
  35. package/dist/index.d.ts +1 -0
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/prepare.d.ts.map +1 -1
  38. package/package.json +6 -6
  39. package/src/__tests__/bundles.test.ts +234 -0
  40. package/src/__tests__/clr-non-academic.test.ts +220 -0
  41. package/src/__tests__/registry.test.ts +31 -0
  42. package/src/bundles/index.ts +19 -0
  43. package/src/bundles/student.ts +251 -0
  44. package/src/bundles/types.ts +25 -0
  45. package/src/fixtures/clr/README.md +142 -0
  46. package/src/fixtures/clr/achievement-id-associations.ts +342 -0
  47. package/src/fixtures/clr/employment-record.ts +487 -0
  48. package/src/fixtures/clr/licensing-regulatory-record.ts +388 -0
  49. package/src/fixtures/clr/military-training-record.ts +468 -0
  50. package/src/fixtures/clr/mixed-career-record.ts +814 -0
  51. package/src/fixtures/clr/professional-organization-record.ts +403 -0
  52. package/src/fixtures/clr/student-official-academic-transcript.ts +3202 -0
  53. package/src/fixtures/clr/training-provider-record.ts +510 -0
  54. package/src/fixtures/index.ts +41 -0
  55. package/src/fixtures/obv3/student-additional-credentials.ts +3912 -0
  56. package/src/fixtures/obv3/student-sample-badges.ts +424 -0
  57. package/src/index.ts +2 -0
  58. package/src/prepare.ts +55 -11
  59. package/dist/__tests__/docs-json.test.d.ts +0 -2
  60. package/dist/__tests__/docs-json.test.d.ts.map +0 -1
  61. package/dist/__tests__/issuance.test.d.ts +0 -2
  62. package/dist/__tests__/issuance.test.d.ts.map +0 -1
  63. package/dist/__tests__/registry.test.d.ts +0 -2
  64. package/dist/__tests__/registry.test.d.ts.map +0 -1
  65. package/dist/__tests__/sd-jwt-vc.test.d.ts +0 -2
  66. package/dist/__tests__/sd-jwt-vc.test.d.ts.map +0 -1
@@ -0,0 +1,586 @@
1
+ import type { CredentialFixture } from '../../types';
2
+ export declare const obv3StudentAfterschoolProgramMentor: CredentialFixture<{
3
+ [x: string]: any;
4
+ '@context': (string | Record<string, any>)[];
5
+ type: string[];
6
+ issuer: string | {
7
+ [x: string]: any;
8
+ id?: string | undefined;
9
+ type?: string | string[] | undefined;
10
+ name?: string | undefined;
11
+ url?: string | undefined;
12
+ phone?: string | undefined;
13
+ description?: string | undefined;
14
+ endorsement?: any[] | undefined;
15
+ image?: string | {
16
+ id: string;
17
+ type: string;
18
+ caption?: string | undefined;
19
+ } | undefined;
20
+ email?: string | undefined;
21
+ address?: {
22
+ type: string | string[];
23
+ addressCountry?: string | undefined;
24
+ addressCountryCode?: string | undefined;
25
+ addressRegion?: string | undefined;
26
+ addressLocality?: string | undefined;
27
+ streetAddress?: string | undefined;
28
+ postOfficeBoxNumber?: string | undefined;
29
+ postalCode?: string | undefined;
30
+ geo?: {
31
+ type: string | string[];
32
+ latitude: number;
33
+ longitude: number;
34
+ } | undefined;
35
+ } | undefined;
36
+ otherIdentifier?: {
37
+ type: string | string[];
38
+ identifier: string;
39
+ identifierType: string;
40
+ }[] | undefined;
41
+ official?: string | undefined;
42
+ parentOrg?: any;
43
+ familyName?: string | undefined;
44
+ givenName?: string | undefined;
45
+ additionalName?: string | undefined;
46
+ patronymicName?: string | undefined;
47
+ honorificPrefix?: string | undefined;
48
+ honorificSuffix?: string | undefined;
49
+ familyNamePrefix?: string | undefined;
50
+ dateOfBirth?: string | undefined;
51
+ };
52
+ credentialSubject: {
53
+ [x: string]: any;
54
+ id?: string | undefined;
55
+ } | {
56
+ [x: string]: any;
57
+ id?: string | undefined;
58
+ }[];
59
+ id?: string | undefined;
60
+ refreshService?: {
61
+ [x: string]: any;
62
+ type: string;
63
+ id?: string | undefined;
64
+ } | {
65
+ [x: string]: any;
66
+ type: string;
67
+ id?: string | undefined;
68
+ }[] | undefined;
69
+ credentialSchema?: {
70
+ [x: string]: any;
71
+ id: string;
72
+ type: string;
73
+ } | {
74
+ [x: string]: any;
75
+ id: string;
76
+ type: string;
77
+ }[] | undefined;
78
+ issuanceDate?: string | undefined;
79
+ expirationDate?: string | undefined;
80
+ credentialStatus?: {
81
+ [x: string]: any;
82
+ type: string;
83
+ id?: string | undefined;
84
+ } | {
85
+ [x: string]: any;
86
+ type: string;
87
+ id?: string | undefined;
88
+ }[] | undefined;
89
+ name?: string | undefined;
90
+ description?: string | undefined;
91
+ validFrom?: string | undefined;
92
+ validUntil?: string | undefined;
93
+ status?: {
94
+ [x: string]: any;
95
+ type: string;
96
+ id?: string | undefined;
97
+ } | {
98
+ [x: string]: any;
99
+ type: string;
100
+ id?: string | undefined;
101
+ }[] | undefined;
102
+ termsOfUse?: {
103
+ [x: string]: any;
104
+ type: string;
105
+ id?: string | undefined;
106
+ } | {
107
+ [x: string]: any;
108
+ type: string;
109
+ id?: string | undefined;
110
+ }[] | undefined;
111
+ evidence?: {
112
+ [x: string]: any;
113
+ type: string[];
114
+ id?: string | undefined;
115
+ name?: string | undefined;
116
+ narrative?: string | undefined;
117
+ description?: string | undefined;
118
+ genre?: string | undefined;
119
+ audience?: string | undefined;
120
+ } | {
121
+ [x: string]: any;
122
+ type: string[];
123
+ id?: string | undefined;
124
+ name?: string | undefined;
125
+ narrative?: string | undefined;
126
+ description?: string | undefined;
127
+ genre?: string | undefined;
128
+ audience?: string | undefined;
129
+ }[] | undefined;
130
+ renderMethod?: Record<string, any> | {
131
+ type: "TemplateRenderMethod";
132
+ renderSuite: string;
133
+ template: string;
134
+ renderProperty?: string[] | undefined;
135
+ outputPreference?: {
136
+ mediaType: string;
137
+ } | undefined;
138
+ } | (Record<string, any> | {
139
+ type: "TemplateRenderMethod";
140
+ renderSuite: string;
141
+ template: string;
142
+ renderProperty?: string[] | undefined;
143
+ outputPreference?: {
144
+ mediaType: string;
145
+ } | undefined;
146
+ })[] | undefined;
147
+ }>;
148
+ export declare const obv3StudentEnvironmentBadge: CredentialFixture<{
149
+ [x: string]: any;
150
+ '@context': (string | Record<string, any>)[];
151
+ type: string[];
152
+ issuer: string | {
153
+ [x: string]: any;
154
+ id?: string | undefined;
155
+ type?: string | string[] | undefined;
156
+ name?: string | undefined;
157
+ url?: string | undefined;
158
+ phone?: string | undefined;
159
+ description?: string | undefined;
160
+ endorsement?: any[] | undefined;
161
+ image?: string | {
162
+ id: string;
163
+ type: string;
164
+ caption?: string | undefined;
165
+ } | undefined;
166
+ email?: string | undefined;
167
+ address?: {
168
+ type: string | string[];
169
+ addressCountry?: string | undefined;
170
+ addressCountryCode?: string | undefined;
171
+ addressRegion?: string | undefined;
172
+ addressLocality?: string | undefined;
173
+ streetAddress?: string | undefined;
174
+ postOfficeBoxNumber?: string | undefined;
175
+ postalCode?: string | undefined;
176
+ geo?: {
177
+ type: string | string[];
178
+ latitude: number;
179
+ longitude: number;
180
+ } | undefined;
181
+ } | undefined;
182
+ otherIdentifier?: {
183
+ type: string | string[];
184
+ identifier: string;
185
+ identifierType: string;
186
+ }[] | undefined;
187
+ official?: string | undefined;
188
+ parentOrg?: any;
189
+ familyName?: string | undefined;
190
+ givenName?: string | undefined;
191
+ additionalName?: string | undefined;
192
+ patronymicName?: string | undefined;
193
+ honorificPrefix?: string | undefined;
194
+ honorificSuffix?: string | undefined;
195
+ familyNamePrefix?: string | undefined;
196
+ dateOfBirth?: string | undefined;
197
+ };
198
+ credentialSubject: {
199
+ [x: string]: any;
200
+ id?: string | undefined;
201
+ } | {
202
+ [x: string]: any;
203
+ id?: string | undefined;
204
+ }[];
205
+ id?: string | undefined;
206
+ refreshService?: {
207
+ [x: string]: any;
208
+ type: string;
209
+ id?: string | undefined;
210
+ } | {
211
+ [x: string]: any;
212
+ type: string;
213
+ id?: string | undefined;
214
+ }[] | undefined;
215
+ credentialSchema?: {
216
+ [x: string]: any;
217
+ id: string;
218
+ type: string;
219
+ } | {
220
+ [x: string]: any;
221
+ id: string;
222
+ type: string;
223
+ }[] | undefined;
224
+ issuanceDate?: string | undefined;
225
+ expirationDate?: string | undefined;
226
+ credentialStatus?: {
227
+ [x: string]: any;
228
+ type: string;
229
+ id?: string | undefined;
230
+ } | {
231
+ [x: string]: any;
232
+ type: string;
233
+ id?: string | undefined;
234
+ }[] | undefined;
235
+ name?: string | undefined;
236
+ description?: string | undefined;
237
+ validFrom?: string | undefined;
238
+ validUntil?: string | undefined;
239
+ status?: {
240
+ [x: string]: any;
241
+ type: string;
242
+ id?: string | undefined;
243
+ } | {
244
+ [x: string]: any;
245
+ type: string;
246
+ id?: string | undefined;
247
+ }[] | undefined;
248
+ termsOfUse?: {
249
+ [x: string]: any;
250
+ type: string;
251
+ id?: string | undefined;
252
+ } | {
253
+ [x: string]: any;
254
+ type: string;
255
+ id?: string | undefined;
256
+ }[] | undefined;
257
+ evidence?: {
258
+ [x: string]: any;
259
+ type: string[];
260
+ id?: string | undefined;
261
+ name?: string | undefined;
262
+ narrative?: string | undefined;
263
+ description?: string | undefined;
264
+ genre?: string | undefined;
265
+ audience?: string | undefined;
266
+ } | {
267
+ [x: string]: any;
268
+ type: string[];
269
+ id?: string | undefined;
270
+ name?: string | undefined;
271
+ narrative?: string | undefined;
272
+ description?: string | undefined;
273
+ genre?: string | undefined;
274
+ audience?: string | undefined;
275
+ }[] | undefined;
276
+ renderMethod?: Record<string, any> | {
277
+ type: "TemplateRenderMethod";
278
+ renderSuite: string;
279
+ template: string;
280
+ renderProperty?: string[] | undefined;
281
+ outputPreference?: {
282
+ mediaType: string;
283
+ } | undefined;
284
+ } | (Record<string, any> | {
285
+ type: "TemplateRenderMethod";
286
+ renderSuite: string;
287
+ template: string;
288
+ renderProperty?: string[] | undefined;
289
+ outputPreference?: {
290
+ mediaType: string;
291
+ } | undefined;
292
+ })[] | undefined;
293
+ }>;
294
+ export declare const obv3StudentRockClimbingMentor: CredentialFixture<{
295
+ [x: string]: any;
296
+ '@context': (string | Record<string, any>)[];
297
+ type: string[];
298
+ issuer: string | {
299
+ [x: string]: any;
300
+ id?: string | undefined;
301
+ type?: string | string[] | undefined;
302
+ name?: string | undefined;
303
+ url?: string | undefined;
304
+ phone?: string | undefined;
305
+ description?: string | undefined;
306
+ endorsement?: any[] | undefined;
307
+ image?: string | {
308
+ id: string;
309
+ type: string;
310
+ caption?: string | undefined;
311
+ } | undefined;
312
+ email?: string | undefined;
313
+ address?: {
314
+ type: string | string[];
315
+ addressCountry?: string | undefined;
316
+ addressCountryCode?: string | undefined;
317
+ addressRegion?: string | undefined;
318
+ addressLocality?: string | undefined;
319
+ streetAddress?: string | undefined;
320
+ postOfficeBoxNumber?: string | undefined;
321
+ postalCode?: string | undefined;
322
+ geo?: {
323
+ type: string | string[];
324
+ latitude: number;
325
+ longitude: number;
326
+ } | undefined;
327
+ } | undefined;
328
+ otherIdentifier?: {
329
+ type: string | string[];
330
+ identifier: string;
331
+ identifierType: string;
332
+ }[] | undefined;
333
+ official?: string | undefined;
334
+ parentOrg?: any;
335
+ familyName?: string | undefined;
336
+ givenName?: string | undefined;
337
+ additionalName?: string | undefined;
338
+ patronymicName?: string | undefined;
339
+ honorificPrefix?: string | undefined;
340
+ honorificSuffix?: string | undefined;
341
+ familyNamePrefix?: string | undefined;
342
+ dateOfBirth?: string | undefined;
343
+ };
344
+ credentialSubject: {
345
+ [x: string]: any;
346
+ id?: string | undefined;
347
+ } | {
348
+ [x: string]: any;
349
+ id?: string | undefined;
350
+ }[];
351
+ id?: string | undefined;
352
+ refreshService?: {
353
+ [x: string]: any;
354
+ type: string;
355
+ id?: string | undefined;
356
+ } | {
357
+ [x: string]: any;
358
+ type: string;
359
+ id?: string | undefined;
360
+ }[] | undefined;
361
+ credentialSchema?: {
362
+ [x: string]: any;
363
+ id: string;
364
+ type: string;
365
+ } | {
366
+ [x: string]: any;
367
+ id: string;
368
+ type: string;
369
+ }[] | undefined;
370
+ issuanceDate?: string | undefined;
371
+ expirationDate?: string | undefined;
372
+ credentialStatus?: {
373
+ [x: string]: any;
374
+ type: string;
375
+ id?: string | undefined;
376
+ } | {
377
+ [x: string]: any;
378
+ type: string;
379
+ id?: string | undefined;
380
+ }[] | undefined;
381
+ name?: string | undefined;
382
+ description?: string | undefined;
383
+ validFrom?: string | undefined;
384
+ validUntil?: string | undefined;
385
+ status?: {
386
+ [x: string]: any;
387
+ type: string;
388
+ id?: string | undefined;
389
+ } | {
390
+ [x: string]: any;
391
+ type: string;
392
+ id?: string | undefined;
393
+ }[] | undefined;
394
+ termsOfUse?: {
395
+ [x: string]: any;
396
+ type: string;
397
+ id?: string | undefined;
398
+ } | {
399
+ [x: string]: any;
400
+ type: string;
401
+ id?: string | undefined;
402
+ }[] | undefined;
403
+ evidence?: {
404
+ [x: string]: any;
405
+ type: string[];
406
+ id?: string | undefined;
407
+ name?: string | undefined;
408
+ narrative?: string | undefined;
409
+ description?: string | undefined;
410
+ genre?: string | undefined;
411
+ audience?: string | undefined;
412
+ } | {
413
+ [x: string]: any;
414
+ type: string[];
415
+ id?: string | undefined;
416
+ name?: string | undefined;
417
+ narrative?: string | undefined;
418
+ description?: string | undefined;
419
+ genre?: string | undefined;
420
+ audience?: string | undefined;
421
+ }[] | undefined;
422
+ renderMethod?: Record<string, any> | {
423
+ type: "TemplateRenderMethod";
424
+ renderSuite: string;
425
+ template: string;
426
+ renderProperty?: string[] | undefined;
427
+ outputPreference?: {
428
+ mediaType: string;
429
+ } | undefined;
430
+ } | (Record<string, any> | {
431
+ type: "TemplateRenderMethod";
432
+ renderSuite: string;
433
+ template: string;
434
+ renderProperty?: string[] | undefined;
435
+ outputPreference?: {
436
+ mediaType: string;
437
+ } | undefined;
438
+ })[] | undefined;
439
+ }>;
440
+ export declare const obv3StudentParkCleanupHelper: CredentialFixture<{
441
+ [x: string]: any;
442
+ '@context': (string | Record<string, any>)[];
443
+ type: string[];
444
+ issuer: string | {
445
+ [x: string]: any;
446
+ id?: string | undefined;
447
+ type?: string | string[] | undefined;
448
+ name?: string | undefined;
449
+ url?: string | undefined;
450
+ phone?: string | undefined;
451
+ description?: string | undefined;
452
+ endorsement?: any[] | undefined;
453
+ image?: string | {
454
+ id: string;
455
+ type: string;
456
+ caption?: string | undefined;
457
+ } | undefined;
458
+ email?: string | undefined;
459
+ address?: {
460
+ type: string | string[];
461
+ addressCountry?: string | undefined;
462
+ addressCountryCode?: string | undefined;
463
+ addressRegion?: string | undefined;
464
+ addressLocality?: string | undefined;
465
+ streetAddress?: string | undefined;
466
+ postOfficeBoxNumber?: string | undefined;
467
+ postalCode?: string | undefined;
468
+ geo?: {
469
+ type: string | string[];
470
+ latitude: number;
471
+ longitude: number;
472
+ } | undefined;
473
+ } | undefined;
474
+ otherIdentifier?: {
475
+ type: string | string[];
476
+ identifier: string;
477
+ identifierType: string;
478
+ }[] | undefined;
479
+ official?: string | undefined;
480
+ parentOrg?: any;
481
+ familyName?: string | undefined;
482
+ givenName?: string | undefined;
483
+ additionalName?: string | undefined;
484
+ patronymicName?: string | undefined;
485
+ honorificPrefix?: string | undefined;
486
+ honorificSuffix?: string | undefined;
487
+ familyNamePrefix?: string | undefined;
488
+ dateOfBirth?: string | undefined;
489
+ };
490
+ credentialSubject: {
491
+ [x: string]: any;
492
+ id?: string | undefined;
493
+ } | {
494
+ [x: string]: any;
495
+ id?: string | undefined;
496
+ }[];
497
+ id?: string | undefined;
498
+ refreshService?: {
499
+ [x: string]: any;
500
+ type: string;
501
+ id?: string | undefined;
502
+ } | {
503
+ [x: string]: any;
504
+ type: string;
505
+ id?: string | undefined;
506
+ }[] | undefined;
507
+ credentialSchema?: {
508
+ [x: string]: any;
509
+ id: string;
510
+ type: string;
511
+ } | {
512
+ [x: string]: any;
513
+ id: string;
514
+ type: string;
515
+ }[] | undefined;
516
+ issuanceDate?: string | undefined;
517
+ expirationDate?: string | undefined;
518
+ credentialStatus?: {
519
+ [x: string]: any;
520
+ type: string;
521
+ id?: string | undefined;
522
+ } | {
523
+ [x: string]: any;
524
+ type: string;
525
+ id?: string | undefined;
526
+ }[] | undefined;
527
+ name?: string | undefined;
528
+ description?: string | undefined;
529
+ validFrom?: string | undefined;
530
+ validUntil?: string | undefined;
531
+ status?: {
532
+ [x: string]: any;
533
+ type: string;
534
+ id?: string | undefined;
535
+ } | {
536
+ [x: string]: any;
537
+ type: string;
538
+ id?: string | undefined;
539
+ }[] | undefined;
540
+ termsOfUse?: {
541
+ [x: string]: any;
542
+ type: string;
543
+ id?: string | undefined;
544
+ } | {
545
+ [x: string]: any;
546
+ type: string;
547
+ id?: string | undefined;
548
+ }[] | undefined;
549
+ evidence?: {
550
+ [x: string]: any;
551
+ type: string[];
552
+ id?: string | undefined;
553
+ name?: string | undefined;
554
+ narrative?: string | undefined;
555
+ description?: string | undefined;
556
+ genre?: string | undefined;
557
+ audience?: string | undefined;
558
+ } | {
559
+ [x: string]: any;
560
+ type: string[];
561
+ id?: string | undefined;
562
+ name?: string | undefined;
563
+ narrative?: string | undefined;
564
+ description?: string | undefined;
565
+ genre?: string | undefined;
566
+ audience?: string | undefined;
567
+ }[] | undefined;
568
+ renderMethod?: Record<string, any> | {
569
+ type: "TemplateRenderMethod";
570
+ renderSuite: string;
571
+ template: string;
572
+ renderProperty?: string[] | undefined;
573
+ outputPreference?: {
574
+ mediaType: string;
575
+ } | undefined;
576
+ } | (Record<string, any> | {
577
+ type: "TemplateRenderMethod";
578
+ renderSuite: string;
579
+ template: string;
580
+ renderProperty?: string[] | undefined;
581
+ outputPreference?: {
582
+ mediaType: string;
583
+ } | undefined;
584
+ })[] | undefined;
585
+ }>;
586
+ //# sourceMappingURL=student-sample-badges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"student-sample-badges.d.ts","sourceRoot":"","sources":["../../../src/fixtures/obv3/student-sample-badges.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAkDrD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE9C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEtC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuIxC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsFvC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -6,5 +6,6 @@ export { prepareFixture, prepareFixtureById } from './prepare';
6
6
  export type { PrepareOptions } from './prepare';
7
7
  export { materializeSdJwtVcFixture } from './materialize-sd-jwt-vc';
8
8
  export type { SdJwtVcSigner, MaterializeSdJwtVcOptions, MaterializedSdJwtVcFixture, } from './materialize-sd-jwt-vc';
9
+ export * from './bundles';
9
10
  export * from './fixtures';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EACR,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,iBAAiB,GACpB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,GACnB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,UAAU,EACV,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,GACX,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/D,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,YAAY,EACR,aAAa,EACb,yBAAyB,EACzB,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AAGjC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EACR,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,iBAAiB,GACpB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACH,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,GACnB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,UAAU,EACV,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,GACX,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/D,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,YAAY,EACR,aAAa,EACb,yBAAyB,EACzB,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AAEjC,cAAc,WAAW,CAAC;AAG1B,cAAc,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"prepare.d.ts","sourceRoot":"","sources":["../src/prepare.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAOhE,MAAM,WAAW,cAAc;IAC3B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAElB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAsHD,eAAO,MAAM,cAAc,GAAI,SAAS,cAAc,EAAE,SAAS,cAAc,KAAG,UAsEjF,CAAC;AAMF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,GAAI,WAAW,MAAM,EAAE,SAAS,cAAc,KAAG,UAC9B,CAAC"}
1
+ {"version":3,"file":"prepare.d.ts","sourceRoot":"","sources":["../src/prepare.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAOhE,MAAM,WAAW,cAAc;IAC3B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAElB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAkKD,eAAO,MAAM,cAAc,GAAI,SAAS,cAAc,EAAE,SAAS,cAAc,KAAG,UAsEjF,CAAC;AAMF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,GAAI,WAAW,MAAM,EAAE,SAAS,cAAc,KAAG,UAC9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learncard/credential-library",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Comprehensive library of Verifiable Credential fixtures for testing, development, and regression prevention across the VC ecosystem",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/credential-library.esm.js",
@@ -9,7 +9,7 @@
9
9
  "src"
10
10
  ],
11
11
  "scripts": {
12
- "build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.js && tsc --p tsconfig.json",
12
+ "build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.js && tsc --p tsconfig.build.json",
13
13
  "test": "vitest run",
14
14
  "test:watch": "vitest",
15
15
  "test:coverage": "vitest run --coverage",
@@ -26,8 +26,8 @@
26
26
  "url": "https://github.com/learningeconomy/LearnCard/issues"
27
27
  },
28
28
  "devDependencies": {
29
- "@learncard/didkit-plugin": "1.10.1",
30
- "@learncard/init": "2.5.0",
29
+ "@learncard/didkit-plugin": "1.10.2",
30
+ "@learncard/init": "2.5.1",
31
31
  "@types/node": "^17.0.38",
32
32
  "esbuild": "^0.27.1",
33
33
  "jose": "^5.9.6",
@@ -36,8 +36,8 @@
36
36
  "vitest": "4.1.11"
37
37
  },
38
38
  "dependencies": {
39
- "@learncard/sd-jwt-vc-plugin": "0.2.14",
40
- "@learncard/types": "5.21.0",
39
+ "@learncard/sd-jwt-vc-plugin": "0.2.15",
40
+ "@learncard/types": "5.22.0",
41
41
  "@sd-jwt/sd-jwt-vc": "^0.19.0",
42
42
  "zod": "4.1.13"
43
43
  },