@twin.org/federated-catalogue-models 0.0.2-next.2 → 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 +0 -2
- package/dist/esm/index.mjs +0 -2
- package/dist/types/models/ICredential.d.ts +3 -3
- package/docs/changelog.md +14 -0
- package/docs/reference/interfaces/ICredential.md +4 -4
- package/docs/reference/variables/FederatedCatalogueContexts.md +1 -1
- package/docs/reference/variables/FederatedCatalogueTypes.md +1 -1
- package/docs/reference/variables/VerificationFailureReasons.md +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1221,7 +1221,6 @@ var properties$1 = {
|
|
|
1221
1221
|
var required$1 = [
|
|
1222
1222
|
"@context",
|
|
1223
1223
|
"dateCreated",
|
|
1224
|
-
"endpoint",
|
|
1225
1224
|
"evidence",
|
|
1226
1225
|
"id",
|
|
1227
1226
|
"issuer",
|
|
@@ -1378,7 +1377,6 @@ class FederatedCatalogueDataTypes {
|
|
|
1378
1377
|
/**
|
|
1379
1378
|
* The LD context instances concerning the Federated Catalogue.
|
|
1380
1379
|
*/
|
|
1381
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1382
1380
|
class FederatedCatalogueContextInstances {
|
|
1383
1381
|
/**
|
|
1384
1382
|
* The LD Context of a list of Catalogue entries.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1219,7 +1219,6 @@ var properties$1 = {
|
|
|
1219
1219
|
var required$1 = [
|
|
1220
1220
|
"@context",
|
|
1221
1221
|
"dateCreated",
|
|
1222
|
-
"endpoint",
|
|
1223
1222
|
"evidence",
|
|
1224
1223
|
"id",
|
|
1225
1224
|
"issuer",
|
|
@@ -1376,7 +1375,6 @@ class FederatedCatalogueDataTypes {
|
|
|
1376
1375
|
/**
|
|
1377
1376
|
* The LD context instances concerning the Federated Catalogue.
|
|
1378
1377
|
*/
|
|
1379
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1380
1378
|
class FederatedCatalogueContextInstances {
|
|
1381
1379
|
/**
|
|
1382
1380
|
* The LD Context of a list of Catalogue entries.
|
|
@@ -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,19 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* eslint migration to flat config ([b5990d9](https://github.com/twinfoundation/federated-catalogue/commit/b5990d9ebdf403ac999da456052bee72787745de))
|
|
16
|
+
|
|
3
17
|
## [0.0.2-next.2](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.1...federated-catalogue-models-v0.0.2-next.2) (2025-08-21)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -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`
|