@veramo/credential-ld 6.0.1-next.4 → 6.0.1-next.47

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 (57) hide show
  1. package/build/CredentialProviderLD.d.ts +42 -0
  2. package/build/CredentialProviderLD.d.ts.map +1 -0
  3. package/build/{action-handler.js → CredentialProviderLD.js} +38 -25
  4. package/build/CredentialProviderLD.js.map +1 -0
  5. package/build/index.d.ts +3 -4
  6. package/build/index.d.ts.map +1 -1
  7. package/build/index.js +3 -4
  8. package/build/index.js.map +1 -1
  9. package/build/ld-credential-module.d.ts +4 -4
  10. package/build/ld-credential-module.d.ts.map +1 -1
  11. package/build/ld-credential-module.js.map +1 -1
  12. package/build/ld-default-contexts.d.ts +1 -1
  13. package/build/ld-default-contexts.js +18 -18
  14. package/build/ld-default-contexts.js.map +1 -1
  15. package/build/ld-suites.d.ts +1 -0
  16. package/build/ld-suites.d.ts.map +1 -1
  17. package/build/ld-suites.js.map +1 -1
  18. package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +1 -0
  19. package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
  20. package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +3 -0
  21. package/build/suites/EcdsaSecp256k1RecoverySignature2020.js.map +1 -1
  22. package/build/suites/Ed25519Signature2018.d.ts +1 -0
  23. package/build/suites/Ed25519Signature2018.d.ts.map +1 -1
  24. package/build/suites/Ed25519Signature2018.js +3 -0
  25. package/build/suites/Ed25519Signature2018.js.map +1 -1
  26. package/build/suites/Ed25519Signature2020.d.ts +1 -0
  27. package/build/suites/Ed25519Signature2020.d.ts.map +1 -1
  28. package/build/suites/Ed25519Signature2020.js +3 -0
  29. package/build/suites/Ed25519Signature2020.js.map +1 -1
  30. package/build/suites/JsonWebSignature2020.d.ts +1 -0
  31. package/build/suites/JsonWebSignature2020.d.ts.map +1 -1
  32. package/build/suites/JsonWebSignature2020.js +3 -0
  33. package/build/suites/JsonWebSignature2020.js.map +1 -1
  34. package/build/tsdoc-metadata.json +1 -1
  35. package/build/types.d.ts +0 -220
  36. package/build/types.d.ts.map +1 -1
  37. package/package.json +8 -12
  38. package/src/{action-handler.ts → CredentialProviderLD.ts} +61 -40
  39. package/src/__tests__/issue-verify-ed25519-2020.test.ts +122 -122
  40. package/src/__tests__/{issue-verify-flow.test.ts → issue-verify-flow-ld.test.ts} +26 -11
  41. package/src/index.ts +3 -4
  42. package/src/ld-credential-module.ts +4 -3
  43. package/src/ld-default-contexts.ts +18 -18
  44. package/src/ld-suites.ts +2 -0
  45. package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +6 -1
  46. package/src/suites/Ed25519Signature2018.ts +5 -0
  47. package/src/suites/Ed25519Signature2020.ts +5 -1
  48. package/src/suites/JsonWebSignature2020.ts +5 -1
  49. package/src/types.ts +0 -265
  50. package/build/action-handler.d.ts +0 -461
  51. package/build/action-handler.d.ts.map +0 -1
  52. package/build/action-handler.js.map +0 -1
  53. package/build/plugin.schema.d.ts +0 -430
  54. package/build/plugin.schema.d.ts.map +0 -1
  55. package/build/plugin.schema.js +0 -477
  56. package/build/plugin.schema.js.map +0 -1
  57. package/src/plugin.schema.ts +0 -476
@@ -1,430 +0,0 @@
1
- export declare const schema: {
2
- ICredentialIssuerLD: {
3
- components: {
4
- schemas: {
5
- ICreateVerifiableCredentialLDArgs: {
6
- type: string;
7
- properties: {
8
- resolutionOptions: {
9
- type: string;
10
- properties: {
11
- publicKeyFormat: {
12
- type: string;
13
- };
14
- accept: {
15
- type: string;
16
- };
17
- };
18
- description: string;
19
- };
20
- credential: {
21
- $ref: string;
22
- description: string;
23
- };
24
- keyRef: {
25
- type: string;
26
- description: string;
27
- };
28
- fetchRemoteContexts: {
29
- type: string;
30
- description: string;
31
- };
32
- };
33
- required: string[];
34
- additionalProperties: {
35
- description: string;
36
- };
37
- description: string;
38
- };
39
- CredentialPayload: {
40
- type: string;
41
- properties: {
42
- issuer: {
43
- $ref: string;
44
- };
45
- credentialSubject: {
46
- $ref: string;
47
- };
48
- type: {
49
- type: string;
50
- items: {
51
- type: string;
52
- };
53
- };
54
- "@context": {
55
- $ref: string;
56
- };
57
- issuanceDate: {
58
- $ref: string;
59
- };
60
- expirationDate: {
61
- $ref: string;
62
- };
63
- credentialStatus: {
64
- $ref: string;
65
- };
66
- id: {
67
- type: string;
68
- };
69
- };
70
- required: string[];
71
- description: string;
72
- };
73
- IssuerType: {
74
- anyOf: ({
75
- type: string;
76
- properties: {
77
- id: {
78
- type: string;
79
- };
80
- };
81
- required: string[];
82
- } | {
83
- type: string;
84
- properties?: undefined;
85
- required?: undefined;
86
- })[];
87
- description: string;
88
- };
89
- CredentialSubject: {
90
- type: string;
91
- properties: {
92
- id: {
93
- type: string;
94
- };
95
- };
96
- description: string;
97
- };
98
- ContextType: {
99
- anyOf: ({
100
- type: string;
101
- items?: undefined;
102
- } | {
103
- type: string;
104
- items: {
105
- anyOf: {
106
- type: string;
107
- }[];
108
- };
109
- })[];
110
- description: string;
111
- };
112
- DateType: {
113
- type: string;
114
- description: string;
115
- };
116
- CredentialStatusReference: {
117
- type: string;
118
- properties: {
119
- id: {
120
- type: string;
121
- };
122
- type: {
123
- type: string;
124
- };
125
- };
126
- required: string[];
127
- description: string;
128
- };
129
- VerifiableCredential: {
130
- type: string;
131
- properties: {
132
- proof: {
133
- $ref: string;
134
- };
135
- issuer: {
136
- $ref: string;
137
- };
138
- credentialSubject: {
139
- $ref: string;
140
- };
141
- type: {
142
- anyOf: ({
143
- type: string;
144
- items: {
145
- type: string;
146
- };
147
- } | {
148
- type: string;
149
- items?: undefined;
150
- })[];
151
- };
152
- "@context": {
153
- $ref: string;
154
- };
155
- issuanceDate: {
156
- type: string;
157
- };
158
- expirationDate: {
159
- type: string;
160
- };
161
- credentialStatus: {
162
- $ref: string;
163
- };
164
- id: {
165
- type: string;
166
- };
167
- };
168
- required: string[];
169
- description: string;
170
- };
171
- ProofType: {
172
- type: string;
173
- properties: {
174
- type: {
175
- type: string;
176
- };
177
- };
178
- description: string;
179
- };
180
- ICreateVerifiablePresentationLDArgs: {
181
- type: string;
182
- properties: {
183
- resolutionOptions: {
184
- type: string;
185
- properties: {
186
- publicKeyFormat: {
187
- type: string;
188
- };
189
- accept: {
190
- type: string;
191
- };
192
- };
193
- description: string;
194
- };
195
- presentation: {
196
- $ref: string;
197
- description: string;
198
- };
199
- challenge: {
200
- type: string;
201
- description: string;
202
- };
203
- domain: {
204
- type: string;
205
- description: string;
206
- };
207
- keyRef: {
208
- type: string;
209
- description: string;
210
- };
211
- fetchRemoteContexts: {
212
- type: string;
213
- description: string;
214
- };
215
- };
216
- required: string[];
217
- additionalProperties: {
218
- description: string;
219
- };
220
- description: string;
221
- };
222
- PresentationPayload: {
223
- type: string;
224
- properties: {
225
- holder: {
226
- type: string;
227
- };
228
- verifiableCredential: {
229
- type: string;
230
- items: {
231
- $ref: string;
232
- };
233
- };
234
- type: {
235
- type: string;
236
- items: {
237
- type: string;
238
- };
239
- };
240
- "@context": {
241
- $ref: string;
242
- };
243
- verifier: {
244
- type: string;
245
- items: {
246
- type: string;
247
- };
248
- };
249
- issuanceDate: {
250
- $ref: string;
251
- };
252
- expirationDate: {
253
- $ref: string;
254
- };
255
- id: {
256
- type: string;
257
- };
258
- };
259
- required: string[];
260
- description: string;
261
- };
262
- W3CVerifiableCredential: {
263
- anyOf: {
264
- $ref: string;
265
- }[];
266
- description: string;
267
- };
268
- CompactJWT: {
269
- type: string;
270
- description: string;
271
- };
272
- VerifiablePresentation: {
273
- type: string;
274
- properties: {
275
- proof: {
276
- $ref: string;
277
- };
278
- holder: {
279
- type: string;
280
- };
281
- verifiableCredential: {
282
- type: string;
283
- items: {
284
- $ref: string;
285
- };
286
- };
287
- type: {
288
- anyOf: ({
289
- type: string;
290
- items: {
291
- type: string;
292
- };
293
- } | {
294
- type: string;
295
- items?: undefined;
296
- })[];
297
- };
298
- "@context": {
299
- $ref: string;
300
- };
301
- verifier: {
302
- type: string;
303
- items: {
304
- type: string;
305
- };
306
- };
307
- issuanceDate: {
308
- type: string;
309
- };
310
- expirationDate: {
311
- type: string;
312
- };
313
- id: {
314
- type: string;
315
- };
316
- };
317
- required: string[];
318
- description: string;
319
- };
320
- IVerifyCredentialLDArgs: {
321
- type: string;
322
- properties: {
323
- resolutionOptions: {
324
- type: string;
325
- properties: {
326
- publicKeyFormat: {
327
- type: string;
328
- };
329
- accept: {
330
- type: string;
331
- };
332
- };
333
- description: string;
334
- };
335
- credential: {
336
- $ref: string;
337
- description: string;
338
- };
339
- fetchRemoteContexts: {
340
- type: string;
341
- description: string;
342
- };
343
- };
344
- required: string[];
345
- additionalProperties: {
346
- description: string;
347
- };
348
- description: string;
349
- };
350
- IVerifyPresentationLDArgs: {
351
- type: string;
352
- properties: {
353
- resolutionOptions: {
354
- type: string;
355
- properties: {
356
- publicKeyFormat: {
357
- type: string;
358
- };
359
- accept: {
360
- type: string;
361
- };
362
- };
363
- description: string;
364
- };
365
- presentation: {
366
- $ref: string;
367
- description: string;
368
- };
369
- challenge: {
370
- type: string;
371
- description: string;
372
- };
373
- domain: {
374
- type: string;
375
- description: string;
376
- };
377
- fetchRemoteContexts: {
378
- type: string;
379
- description: string;
380
- };
381
- };
382
- required: string[];
383
- additionalProperties: {
384
- description: string;
385
- };
386
- description: string;
387
- };
388
- };
389
- methods: {
390
- createVerifiableCredentialLD: {
391
- description: string;
392
- arguments: {
393
- $ref: string;
394
- };
395
- returnType: {
396
- $ref: string;
397
- };
398
- };
399
- createVerifiablePresentationLD: {
400
- description: string;
401
- arguments: {
402
- $ref: string;
403
- };
404
- returnType: {
405
- $ref: string;
406
- };
407
- };
408
- verifyCredentialLD: {
409
- description: string;
410
- arguments: {
411
- $ref: string;
412
- };
413
- returnType: {
414
- type: string;
415
- };
416
- };
417
- verifyPresentationLD: {
418
- description: string;
419
- arguments: {
420
- $ref: string;
421
- };
422
- returnType: {
423
- type: string;
424
- };
425
- };
426
- };
427
- };
428
- };
429
- };
430
- //# sourceMappingURL=plugin.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.schema.d.ts","sourceRoot":"","sources":["../src/plugin.schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2dlB,CAAA"}