@twin.org/standards-w3c-did 0.9.2 → 0.9.3-next.2
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/es/dataTypes/didDataTypes.js +111 -2
- package/dist/es/dataTypes/didDataTypes.js.map +1 -1
- package/dist/es/models/didTypes.js +77 -1
- package/dist/es/models/didTypes.js.map +1 -1
- package/dist/es/schemas/DataIntegrityProof.json +116 -0
- package/dist/es/schemas/DidCredentialSchema.json +21 -0
- package/dist/es/schemas/DidCredentialStatus.json +22 -0
- package/dist/es/schemas/DidCryptoSuites.json +16 -0
- package/dist/es/schemas/DidDocumentVerificationMethod.json +45 -0
- package/dist/es/schemas/DidLabel.json +25 -0
- package/dist/es/schemas/DidPresentationVerification.json +38 -0
- package/dist/es/schemas/DidService.json +46 -0
- package/dist/es/schemas/DidTypes.json +112 -0
- package/dist/es/schemas/DidVerifiableCredentialCommon.json +173 -0
- package/dist/es/schemas/DidVerifiableCredentialV1.json +52 -0
- package/dist/es/schemas/DidVerifiableCredentialV2.json +52 -0
- package/dist/es/schemas/DidVerifiablePresentationCommon.json +48 -0
- package/dist/es/schemas/DidVerifiablePresentationV1.json +58 -0
- package/dist/es/schemas/DidVerifiablePresentationV2.json +58 -0
- package/dist/es/schemas/DidVerificationMethodType.json +32 -0
- package/dist/es/schemas/JsonWebSignature2020Proof.json +60 -0
- package/dist/es/schemas/Multikey.json +90 -0
- package/dist/es/schemas/Proof.json +14 -0
- package/dist/es/schemas/ProofTypes.json +16 -0
- package/dist/types/models/didTypes.d.ts +76 -0
- package/docs/changelog.md +62 -0
- package/docs/reference/variables/DidTypes.md +114 -0
- package/package.json +7 -7
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/w3c-did/Multikey",
|
|
4
|
+
"title": "Multikey",
|
|
5
|
+
"description": "Interface describing a Multikey.\nhttps://www.w3.org/TR/cid-1.0/",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"@context": {
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"const": "https://www.w3.org/ns/cid/v1"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"const": "https://w3id.org/security/multikey/v1"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"const": "https://www.w3.org/ns/cid/v1"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"contains": {
|
|
29
|
+
"const": "https://www.w3.org/ns/cid/v1"
|
|
30
|
+
},
|
|
31
|
+
"minContains": 1,
|
|
32
|
+
"maxContains": 1,
|
|
33
|
+
"minItems": 1
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"anyOf": [
|
|
39
|
+
{
|
|
40
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"const": "https://w3id.org/security/multikey/v1"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"contains": {
|
|
48
|
+
"const": "https://w3id.org/security/multikey/v1"
|
|
49
|
+
},
|
|
50
|
+
"minContains": 1,
|
|
51
|
+
"maxContains": 1,
|
|
52
|
+
"minItems": 1
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"description": "JSON-LD Context."
|
|
56
|
+
},
|
|
57
|
+
"id": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "The id of the entry."
|
|
60
|
+
},
|
|
61
|
+
"type": {
|
|
62
|
+
"const": "Multikey",
|
|
63
|
+
"description": "The type of the entry."
|
|
64
|
+
},
|
|
65
|
+
"controller": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "The controller for the entry."
|
|
68
|
+
},
|
|
69
|
+
"publicKeyMultibase": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "The public key for the entry."
|
|
72
|
+
},
|
|
73
|
+
"secretKeyMultibase": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "The secret key for the entry."
|
|
76
|
+
},
|
|
77
|
+
"expires": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "The date the entry expires."
|
|
80
|
+
},
|
|
81
|
+
"revoked": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "The date the entry was revoked."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"type",
|
|
88
|
+
"publicKeyMultibase"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/w3c-did/Proof",
|
|
4
|
+
"title": "Proof",
|
|
5
|
+
"description": "Interface describing a proof.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "https://schema.twindev.org/w3c-did/DataIntegrityProof"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"$ref": "https://schema.twindev.org/w3c-did/JsonWebSignature2020Proof"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/w3c-did/ProofTypes",
|
|
4
|
+
"title": "ProofTypes",
|
|
5
|
+
"description": "The types for proofs.",
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"const": "DataIntegrityProof",
|
|
9
|
+
"description": "The type for Data Integrity Proof."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"const": "JsonWebSignature2020",
|
|
13
|
+
"description": "The type for Json Web Signature 2020."
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -30,6 +30,82 @@ export declare const DidTypes: {
|
|
|
30
30
|
* The type for Multikey.
|
|
31
31
|
*/
|
|
32
32
|
readonly Multikey: "Multikey";
|
|
33
|
+
/**
|
|
34
|
+
* The type for CredentialSchema.
|
|
35
|
+
*/
|
|
36
|
+
readonly CredentialSchema: "CredentialSchema";
|
|
37
|
+
/**
|
|
38
|
+
* The type for CredentialStatus.
|
|
39
|
+
*/
|
|
40
|
+
readonly CredentialStatus: "CredentialStatus";
|
|
41
|
+
/**
|
|
42
|
+
* The type for CryptoSuites.
|
|
43
|
+
*/
|
|
44
|
+
readonly CryptoSuites: "CryptoSuites";
|
|
45
|
+
/**
|
|
46
|
+
* The type for DataIntegrityProof.
|
|
47
|
+
*/
|
|
48
|
+
readonly DataIntegrityProof: "DataIntegrityProof";
|
|
49
|
+
/**
|
|
50
|
+
* The type for DocumentVerificationMethod.
|
|
51
|
+
*/
|
|
52
|
+
readonly DocumentVerificationMethod: "DocumentVerificationMethod";
|
|
53
|
+
/**
|
|
54
|
+
* The type for JsonWebSignature2020Proof.
|
|
55
|
+
*/
|
|
56
|
+
readonly JsonWebSignature2020Proof: "JsonWebSignature2020Proof";
|
|
57
|
+
/**
|
|
58
|
+
* The type for Label.
|
|
59
|
+
*/
|
|
60
|
+
readonly Label: "Label";
|
|
61
|
+
/**
|
|
62
|
+
* The type for PresentationVerification.
|
|
63
|
+
*/
|
|
64
|
+
readonly PresentationVerification: "PresentationVerification";
|
|
65
|
+
/**
|
|
66
|
+
* The type for Proof.
|
|
67
|
+
*/
|
|
68
|
+
readonly Proof: "Proof";
|
|
69
|
+
/**
|
|
70
|
+
* The type for ProofTypes.
|
|
71
|
+
*/
|
|
72
|
+
readonly ProofTypes: "ProofTypes";
|
|
73
|
+
/**
|
|
74
|
+
* The type for Service.
|
|
75
|
+
*/
|
|
76
|
+
readonly Service: "Service";
|
|
77
|
+
/**
|
|
78
|
+
* The type for Types.
|
|
79
|
+
*/
|
|
80
|
+
readonly Types: "Types";
|
|
81
|
+
/**
|
|
82
|
+
* The type for VerifiableCredentialCommon.
|
|
83
|
+
*/
|
|
84
|
+
readonly VerifiableCredentialCommon: "VerifiableCredentialCommon";
|
|
85
|
+
/**
|
|
86
|
+
* The type for VerifiableCredentialV1.
|
|
87
|
+
*/
|
|
88
|
+
readonly VerifiableCredentialV1: "VerifiableCredentialV1";
|
|
89
|
+
/**
|
|
90
|
+
* The type for VerifiableCredentialV2.
|
|
91
|
+
*/
|
|
92
|
+
readonly VerifiableCredentialV2: "VerifiableCredentialV2";
|
|
93
|
+
/**
|
|
94
|
+
* The type for VerifiablePresentationCommon.
|
|
95
|
+
*/
|
|
96
|
+
readonly VerifiablePresentationCommon: "VerifiablePresentationCommon";
|
|
97
|
+
/**
|
|
98
|
+
* The type for VerifiablePresentationV1.
|
|
99
|
+
*/
|
|
100
|
+
readonly VerifiablePresentationV1: "VerifiablePresentationV1";
|
|
101
|
+
/**
|
|
102
|
+
* The type for VerifiablePresentationV2.
|
|
103
|
+
*/
|
|
104
|
+
readonly VerifiablePresentationV2: "VerifiablePresentationV2";
|
|
105
|
+
/**
|
|
106
|
+
* The type for VerificationMethodType.
|
|
107
|
+
*/
|
|
108
|
+
readonly VerificationMethodType: "VerificationMethodType";
|
|
33
109
|
};
|
|
34
110
|
/**
|
|
35
111
|
* The types for DIDs.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.3-next.2](https://github.com/iotaledger/twin-standards/compare/standards-w3c-did-v0.9.3-next.1...standards-w3c-did-v0.9.3-next.2) (2026-09-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* improve type definitions ([#278](https://github.com/iotaledger/twin-standards/issues/278)) ([bf3f37e](https://github.com/iotaledger/twin-standards/commit/bf3f37e1c191770f2a88b65bec3d59506c93c263))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* devDependencies
|
|
15
|
+
* @twin.org/standards-ld-contexts bumped from 0.9.3-next.1 to 0.9.3-next.2
|
|
16
|
+
|
|
17
|
+
## [0.9.3-next.1](https://github.com/iotaledger/twin-standards/compare/standards-w3c-did-v0.9.3-next.0...standards-w3c-did-v0.9.3-next.1) (2026-08-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* Add additional properties to the verifiable credential data model ([#8](https://github.com/iotaledger/twin-standards/issues/8)) ([4b7af9c](https://github.com/iotaledger/twin-standards/commit/4b7af9cf892e071eb348f30737c035c0f94591b5))
|
|
23
|
+
* add async proof signing with callback support ([#162](https://github.com/iotaledger/twin-standards/issues/162)) ([d1d8559](https://github.com/iotaledger/twin-standards/commit/d1d8559cf75e98cebd460ed7bb4c8a41094b2468))
|
|
24
|
+
* add context id features ([#64](https://github.com/iotaledger/twin-standards/issues/64)) ([e68bb87](https://github.com/iotaledger/twin-standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
|
|
25
|
+
* add validate-locales ([838389c](https://github.com/iotaledger/twin-standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
|
|
26
|
+
* alg usage ([#19](https://github.com/iotaledger/twin-standards/issues/19)) ([3946fb2](https://github.com/iotaledger/twin-standards/commit/3946fb2e8bd9a486ad186765d1d09361fa75786b))
|
|
27
|
+
* eslint migration to flat config ([648c1a1](https://github.com/iotaledger/twin-standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
|
|
28
|
+
* export additional schemas ([4201127](https://github.com/iotaledger/twin-standards/commit/42011276a0b9110b75557c555f859db4d7382aca))
|
|
29
|
+
* improve caching ([#196](https://github.com/iotaledger/twin-standards/issues/196)) ([968e61a](https://github.com/iotaledger/twin-standards/commit/968e61a04156a22cf5ffc3ba237a42a81ec2e0c1))
|
|
30
|
+
* improved namespaces and contexts ([#102](https://github.com/iotaledger/twin-standards/issues/102)) ([c74c370](https://github.com/iotaledger/twin-standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
|
|
31
|
+
* linting and dependency update ([25c96f7](https://github.com/iotaledger/twin-standards/commit/25c96f7994c363d42c913fe18185a36003686a25))
|
|
32
|
+
* normalise type outputs ([0b3aed7](https://github.com/iotaledger/twin-standards/commit/0b3aed7df0802cd609423bbd7fda6bde601d3ceb))
|
|
33
|
+
* register schemas at hosted location ([#128](https://github.com/iotaledger/twin-standards/issues/128)) ([ab35298](https://github.com/iotaledger/twin-standards/commit/ab35298c812d69f043f69c35ab5aa1ac4a6aaa90))
|
|
34
|
+
* remove gaia-x ([3e87ac1](https://github.com/iotaledger/twin-standards/commit/3e87ac14480758289cd43c8da7fa02dd251ed6c4))
|
|
35
|
+
* remove IJsonLdNodeObject base interfaces ([#172](https://github.com/iotaledger/twin-standards/issues/172)) ([8ff8d7a](https://github.com/iotaledger/twin-standards/commit/8ff8d7a2892d626879b76ba5da912469ff899954))
|
|
36
|
+
* separate DID VC v1 and v2 properties ([935cf0a](https://github.com/iotaledger/twin-standards/commit/935cf0a9cdee28c6f2d5480f1f2de126c838caf5))
|
|
37
|
+
* separate DID VP v1 and v2 properties ([335a3c2](https://github.com/iotaledger/twin-standards/commit/335a3c2543ca5dbaae785568617ea85c0a8269ad))
|
|
38
|
+
* typescript 6 update ([79bfb52](https://github.com/iotaledger/twin-standards/commit/79bfb52e3dcb24689cec7b201dde822bcee970c5))
|
|
39
|
+
* unece type codes ([#146](https://github.com/iotaledger/twin-standards/issues/146)) ([7fb94cd](https://github.com/iotaledger/twin-standards/commit/7fb94cd5c920c7371782dd9d4d52faa7d1aa51ca))
|
|
40
|
+
* update dependencies ([e422ed3](https://github.com/iotaledger/twin-standards/commit/e422ed351fb09e2deea5ef741326c37b0802af3a))
|
|
41
|
+
* update framework core ([58c0c3d](https://github.com/iotaledger/twin-standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
|
|
42
|
+
* update schemas ([c3c11e0](https://github.com/iotaledger/twin-standards/commit/c3c11e07da6c0d3eac5ea4a68e3ad57f022b2351))
|
|
43
|
+
* update schemas to support additional properties ([4679e21](https://github.com/iotaledger/twin-standards/commit/4679e21728a54cb587f120874841c3d1ed3771de))
|
|
44
|
+
* update schemas with new enum format ([4851603](https://github.com/iotaledger/twin-standards/commit/4851603f26910fafd7fe22b46533814dba3b041c))
|
|
45
|
+
* update to latest JSON schema spec ([7a23930](https://github.com/iotaledger/twin-standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
|
|
46
|
+
* update to new ts-ts-schema and generic constructs ([4dff991](https://github.com/iotaledger/twin-standards/commit/4dff991fb70de4320668641ed94abf8e9b06acad))
|
|
47
|
+
* update ts-to-schema generation ([ba4e76d](https://github.com/iotaledger/twin-standards/commit/ba4e76d677556a1817092f8079d4cce67dee94bc))
|
|
48
|
+
* update ts-to-schema generation ([0905daa](https://github.com/iotaledger/twin-standards/commit/0905daa4a344ed35fc37b7f12fcf9ce9d34e4bd6))
|
|
49
|
+
* use local LD contexts in tests instead of remote ones ([#201](https://github.com/iotaledger/twin-standards/issues/201)) ([7d6c6ea](https://github.com/iotaledger/twin-standards/commit/7d6c6ea7b952fb9e2240ff252f8ce85c42d78985))
|
|
50
|
+
* use shared store mechanism ([#11](https://github.com/iotaledger/twin-standards/issues/11)) ([96fa237](https://github.com/iotaledger/twin-standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
|
|
51
|
+
* vc helper methods ([#148](https://github.com/iotaledger/twin-standards/issues/148)) ([c07ddf8](https://github.com/iotaledger/twin-standards/commit/c07ddf84ed4926ce38cdffbfa3a01cac7d0ee01d))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
* updating the missing packages ([#114](https://github.com/iotaledger/twin-standards/issues/114)) ([90b03f8](https://github.com/iotaledger/twin-standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Dependencies
|
|
60
|
+
|
|
61
|
+
* The following workspace dependencies were updated
|
|
62
|
+
* devDependencies
|
|
63
|
+
* @twin.org/standards-ld-contexts bumped from 0.9.3-next.0 to 0.9.3-next.1
|
|
64
|
+
|
|
3
65
|
## [0.9.2](https://github.com/iotaledger/twin-standards/compare/standards-w3c-did-v0.9.2...standards-w3c-did-v0.9.2) (2026-08-24)
|
|
4
66
|
|
|
5
67
|
|
|
@@ -47,3 +47,117 @@ The type for LinkedDomains.
|
|
|
47
47
|
> `readonly` **Multikey**: `"Multikey"` = `"Multikey"`
|
|
48
48
|
|
|
49
49
|
The type for Multikey.
|
|
50
|
+
|
|
51
|
+
### CredentialSchema {#credentialschema}
|
|
52
|
+
|
|
53
|
+
> `readonly` **CredentialSchema**: `"CredentialSchema"` = `"CredentialSchema"`
|
|
54
|
+
|
|
55
|
+
The type for CredentialSchema.
|
|
56
|
+
|
|
57
|
+
### CredentialStatus {#credentialstatus}
|
|
58
|
+
|
|
59
|
+
> `readonly` **CredentialStatus**: `"CredentialStatus"` = `"CredentialStatus"`
|
|
60
|
+
|
|
61
|
+
The type for CredentialStatus.
|
|
62
|
+
|
|
63
|
+
### CryptoSuites {#cryptosuites}
|
|
64
|
+
|
|
65
|
+
> `readonly` **CryptoSuites**: `"CryptoSuites"` = `"CryptoSuites"`
|
|
66
|
+
|
|
67
|
+
The type for CryptoSuites.
|
|
68
|
+
|
|
69
|
+
### DataIntegrityProof {#dataintegrityproof}
|
|
70
|
+
|
|
71
|
+
> `readonly` **DataIntegrityProof**: `"DataIntegrityProof"` = `"DataIntegrityProof"`
|
|
72
|
+
|
|
73
|
+
The type for DataIntegrityProof.
|
|
74
|
+
|
|
75
|
+
### DocumentVerificationMethod {#documentverificationmethod}
|
|
76
|
+
|
|
77
|
+
> `readonly` **DocumentVerificationMethod**: `"DocumentVerificationMethod"` = `"DocumentVerificationMethod"`
|
|
78
|
+
|
|
79
|
+
The type for DocumentVerificationMethod.
|
|
80
|
+
|
|
81
|
+
### JsonWebSignature2020Proof {#jsonwebsignature2020proof}
|
|
82
|
+
|
|
83
|
+
> `readonly` **JsonWebSignature2020Proof**: `"JsonWebSignature2020Proof"` = `"JsonWebSignature2020Proof"`
|
|
84
|
+
|
|
85
|
+
The type for JsonWebSignature2020Proof.
|
|
86
|
+
|
|
87
|
+
### Label {#label}
|
|
88
|
+
|
|
89
|
+
> `readonly` **Label**: `"Label"` = `"Label"`
|
|
90
|
+
|
|
91
|
+
The type for Label.
|
|
92
|
+
|
|
93
|
+
### PresentationVerification {#presentationverification}
|
|
94
|
+
|
|
95
|
+
> `readonly` **PresentationVerification**: `"PresentationVerification"` = `"PresentationVerification"`
|
|
96
|
+
|
|
97
|
+
The type for PresentationVerification.
|
|
98
|
+
|
|
99
|
+
### Proof {#proof}
|
|
100
|
+
|
|
101
|
+
> `readonly` **Proof**: `"Proof"` = `"Proof"`
|
|
102
|
+
|
|
103
|
+
The type for Proof.
|
|
104
|
+
|
|
105
|
+
### ProofTypes {#prooftypes}
|
|
106
|
+
|
|
107
|
+
> `readonly` **ProofTypes**: `"ProofTypes"` = `"ProofTypes"`
|
|
108
|
+
|
|
109
|
+
The type for ProofTypes.
|
|
110
|
+
|
|
111
|
+
### Service {#service}
|
|
112
|
+
|
|
113
|
+
> `readonly` **Service**: `"Service"` = `"Service"`
|
|
114
|
+
|
|
115
|
+
The type for Service.
|
|
116
|
+
|
|
117
|
+
### Types {#types}
|
|
118
|
+
|
|
119
|
+
> `readonly` **Types**: `"Types"` = `"Types"`
|
|
120
|
+
|
|
121
|
+
The type for Types.
|
|
122
|
+
|
|
123
|
+
### VerifiableCredentialCommon {#verifiablecredentialcommon}
|
|
124
|
+
|
|
125
|
+
> `readonly` **VerifiableCredentialCommon**: `"VerifiableCredentialCommon"` = `"VerifiableCredentialCommon"`
|
|
126
|
+
|
|
127
|
+
The type for VerifiableCredentialCommon.
|
|
128
|
+
|
|
129
|
+
### VerifiableCredentialV1 {#verifiablecredentialv1}
|
|
130
|
+
|
|
131
|
+
> `readonly` **VerifiableCredentialV1**: `"VerifiableCredentialV1"` = `"VerifiableCredentialV1"`
|
|
132
|
+
|
|
133
|
+
The type for VerifiableCredentialV1.
|
|
134
|
+
|
|
135
|
+
### VerifiableCredentialV2 {#verifiablecredentialv2}
|
|
136
|
+
|
|
137
|
+
> `readonly` **VerifiableCredentialV2**: `"VerifiableCredentialV2"` = `"VerifiableCredentialV2"`
|
|
138
|
+
|
|
139
|
+
The type for VerifiableCredentialV2.
|
|
140
|
+
|
|
141
|
+
### VerifiablePresentationCommon {#verifiablepresentationcommon}
|
|
142
|
+
|
|
143
|
+
> `readonly` **VerifiablePresentationCommon**: `"VerifiablePresentationCommon"` = `"VerifiablePresentationCommon"`
|
|
144
|
+
|
|
145
|
+
The type for VerifiablePresentationCommon.
|
|
146
|
+
|
|
147
|
+
### VerifiablePresentationV1 {#verifiablepresentationv1}
|
|
148
|
+
|
|
149
|
+
> `readonly` **VerifiablePresentationV1**: `"VerifiablePresentationV1"` = `"VerifiablePresentationV1"`
|
|
150
|
+
|
|
151
|
+
The type for VerifiablePresentationV1.
|
|
152
|
+
|
|
153
|
+
### VerifiablePresentationV2 {#verifiablepresentationv2}
|
|
154
|
+
|
|
155
|
+
> `readonly` **VerifiablePresentationV2**: `"VerifiablePresentationV2"` = `"VerifiablePresentationV2"`
|
|
156
|
+
|
|
157
|
+
The type for VerifiablePresentationV2.
|
|
158
|
+
|
|
159
|
+
### VerificationMethodType {#verificationmethodtype}
|
|
160
|
+
|
|
161
|
+
> `readonly` **VerificationMethodType**: `"VerificationMethodType"` = `"VerificationMethodType"`
|
|
162
|
+
|
|
163
|
+
The type for VerificationMethodType.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-w3c-did",
|
|
3
|
-
"version": "0.9.2",
|
|
3
|
+
"version": "0.9.3-next.2",
|
|
4
4
|
"description": "Data models for the W3C DID Core specification.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"node": ">=24.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "
|
|
18
|
-
"@twin.org/crypto": "
|
|
19
|
-
"@twin.org/data-core": "
|
|
20
|
-
"@twin.org/data-json-ld": "
|
|
21
|
-
"@twin.org/nameof": "
|
|
22
|
-
"@twin.org/web": "
|
|
17
|
+
"@twin.org/core": "next",
|
|
18
|
+
"@twin.org/crypto": "next",
|
|
19
|
+
"@twin.org/data-core": "next",
|
|
20
|
+
"@twin.org/data-json-ld": "next",
|
|
21
|
+
"@twin.org/nameof": "next",
|
|
22
|
+
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/es/index.js",
|
|
25
25
|
"types": "./dist/types/index.d.ts",
|