@twin.org/federated-catalogue-models 0.0.2-next.3 → 0.0.2-next.4
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/cjs/index.cjs
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IDidVerifiableCredentialV2 } from "@twin.org/standards-w3c-did";
|
|
2
2
|
/**
|
|
3
3
|
* A credential with subject.
|
|
4
4
|
*/
|
|
5
|
-
export interface ICredential extends
|
|
5
|
+
export interface ICredential extends IDidVerifiableCredentialV2 {
|
|
6
6
|
/**
|
|
7
7
|
* The Id of the credential, it is mandatory.
|
|
8
8
|
*/
|
|
@@ -14,7 +14,7 @@ export interface ICredential extends IDidVerifiableCredential {
|
|
|
14
14
|
/**
|
|
15
15
|
* Credential subject must always include id and type
|
|
16
16
|
*/
|
|
17
|
-
credentialSubject:
|
|
17
|
+
credentialSubject: IDidVerifiableCredentialV2["credentialSubject"] & {
|
|
18
18
|
id: string;
|
|
19
19
|
type: string | string[];
|
|
20
20
|
};
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @twin.org/federated-catalogue-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.3...federated-catalogue-models-v0.0.2-next.4) (2025-09-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update to latest framework components ([aa30543](https://github.com/twinfoundation/federated-catalogue/commit/aa30543cef1309769d359d64fba0a85db490d69b))
|
|
9
|
+
|
|
3
10
|
## [0.0.2-next.3](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.2...federated-catalogue-models-v0.0.2-next.3) (2025-08-29)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -4,7 +4,7 @@ A credential with subject.
|
|
|
4
4
|
|
|
5
5
|
## Extends
|
|
6
6
|
|
|
7
|
-
- `
|
|
7
|
+
- `IDidVerifiableCredentialV2`
|
|
8
8
|
|
|
9
9
|
## Extended by
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ The Id of the credential, it is mandatory.
|
|
|
24
24
|
|
|
25
25
|
#### Overrides
|
|
26
26
|
|
|
27
|
-
`
|
|
27
|
+
`IDidVerifiableCredentialV2.id`
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ The issuer of the credential, it is mandatory.
|
|
|
36
36
|
|
|
37
37
|
#### Overrides
|
|
38
38
|
|
|
39
|
-
`
|
|
39
|
+
`IDidVerifiableCredentialV2.issuer`
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
@@ -48,4 +48,4 @@ Credential subject must always include id and type
|
|
|
48
48
|
|
|
49
49
|
#### Overrides
|
|
50
50
|
|
|
51
|
-
`
|
|
51
|
+
`IDidVerifiableCredentialV2.credentialSubject`
|