@twin.org/standards-w3c-did 0.0.1-next.5 → 0.0.1-next.6
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { IJsonLdContextDefinitionRoot
|
|
1
|
+
import type { IJsonLdContextDefinitionRoot } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { IDidProof } from "./IDidProof";
|
|
3
|
+
import type { IDidVerifiableCredential } from "./IDidVerifiableCredential";
|
|
3
4
|
/**
|
|
4
5
|
* Interface describing a verifiable presentation.
|
|
5
6
|
*/
|
|
@@ -19,7 +20,7 @@ export interface IDidVerifiablePresentation {
|
|
|
19
20
|
/**
|
|
20
21
|
* The data for the verifiable credentials.
|
|
21
22
|
*/
|
|
22
|
-
verifiableCredential: (string |
|
|
23
|
+
verifiableCredential: (string | IDidVerifiableCredential)[];
|
|
23
24
|
/**
|
|
24
25
|
* The entity generating the presentation.
|
|
25
26
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -30,7 +30,7 @@ The types of the data stored in the verifiable credential.
|
|
|
30
30
|
|
|
31
31
|
### verifiableCredential
|
|
32
32
|
|
|
33
|
-
> **verifiableCredential**: (`string` \| `
|
|
33
|
+
> **verifiableCredential**: (`string` \| [`IDidVerifiableCredential`](IDidVerifiableCredential.md))[]
|
|
34
34
|
|
|
35
35
|
The data for the verifiable credentials.
|
|
36
36
|
|