@twin.org/standards-w3c-did 0.0.1-next.10 → 0.0.1-next.11
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.
- package/dist/types/models/IDidVerifiableCredential.d.ts +2 -2
- package/dist/types/models/IDidVerifiablePresentation.d.ts +2 -2
- package/docs/changelog.md +1 -1
- package/docs/reference/interfaces/IDidVerifiableCredential.md +1 -1
- package/docs/reference/interfaces/IDidVerifiablePresentation.md +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { IJsonLdContextDefinitionRoot,
|
|
1
|
+
import type { IJsonLdContextDefinitionRoot, IJsonLdObject } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { IDidCredentialStatus } from "./IDidCredentialStatus";
|
|
3
3
|
import type { IDidProof } from "./IDidProof";
|
|
4
4
|
/**
|
|
5
5
|
* Interface describing a verifiable credential.
|
|
6
6
|
*/
|
|
7
|
-
export interface IDidVerifiableCredential<T extends
|
|
7
|
+
export interface IDidVerifiableCredential<T extends IJsonLdObject = IJsonLdObject> {
|
|
8
8
|
/**
|
|
9
9
|
* The context for the verifiable credential.
|
|
10
10
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { IJsonLdContextDefinitionRoot,
|
|
1
|
+
import type { IJsonLdContextDefinitionRoot, IJsonLdObject } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { IDidProof } from "./IDidProof";
|
|
3
3
|
import type { IDidVerifiableCredential } from "./IDidVerifiableCredential";
|
|
4
4
|
/**
|
|
5
5
|
* Interface describing a verifiable presentation.
|
|
6
6
|
*/
|
|
7
|
-
export interface IDidVerifiablePresentation<T extends
|
|
7
|
+
export interface IDidVerifiablePresentation<T extends IJsonLdObject = IJsonLdObject> {
|
|
8
8
|
/**
|
|
9
9
|
* The context for the verifiable credential.
|
|
10
10
|
*/
|
package/docs/changelog.md
CHANGED