@twin.org/immutable-proof-service 0.0.3-next.7 → 0.0.3-next.8
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/entities/immutableProof.js +19 -3
- package/dist/es/entities/immutableProof.js.map +1 -1
- package/dist/es/immutableProofRoutes.js +41 -19
- package/dist/es/immutableProofRoutes.js.map +1 -1
- package/dist/es/immutableProofService.js +73 -73
- package/dist/es/immutableProofService.js.map +1 -1
- package/dist/types/entities/immutableProof.d.ts +11 -2
- package/dist/types/immutableProofService.d.ts +3 -2
- package/docs/changelog.md +15 -0
- package/docs/open-api/spec.json +587 -20
- package/docs/reference/classes/ImmutableProof.md +19 -3
- package/docs/reference/classes/ImmutableProofService.md +2 -2
- package/package.json +3 -3
|
@@ -22,6 +22,14 @@ The id of the proof.
|
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
|
+
### organizationId
|
|
26
|
+
|
|
27
|
+
> **organizationId**: `string`
|
|
28
|
+
|
|
29
|
+
The organization id.
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
25
33
|
### dateCreated
|
|
26
34
|
|
|
27
35
|
> **dateCreated**: `string`
|
|
@@ -38,11 +46,11 @@ The associated id for the item.
|
|
|
38
46
|
|
|
39
47
|
***
|
|
40
48
|
|
|
41
|
-
###
|
|
49
|
+
### proofObjectIntegrity
|
|
42
50
|
|
|
43
|
-
> **
|
|
51
|
+
> **proofObjectIntegrity**: `string`
|
|
44
52
|
|
|
45
|
-
The associated
|
|
53
|
+
The associated integrity for the item.
|
|
46
54
|
|
|
47
55
|
***
|
|
48
56
|
|
|
@@ -51,3 +59,11 @@ The associated hash for the item.
|
|
|
51
59
|
> `optional` **verifiableStorageId**: `string`
|
|
52
60
|
|
|
53
61
|
The verifiable storage id.
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### vcContext?
|
|
66
|
+
|
|
67
|
+
> `optional` **vcContext**: `"https://www.w3.org/2018/credentials/v1"` \| `"https://www.w3.org/ns/credentials/v2"`
|
|
68
|
+
|
|
69
|
+
The verifiable credential context.
|
|
@@ -108,7 +108,7 @@ The id of the new proof.
|
|
|
108
108
|
|
|
109
109
|
### get()
|
|
110
110
|
|
|
111
|
-
> **get**(`id`): `Promise`\<`
|
|
111
|
+
> **get**(`id`): `Promise`\<`IDidVerifiableCredential`\>
|
|
112
112
|
|
|
113
113
|
Get a proof.
|
|
114
114
|
|
|
@@ -122,7 +122,7 @@ The id of the proof to get.
|
|
|
122
122
|
|
|
123
123
|
#### Returns
|
|
124
124
|
|
|
125
|
-
`Promise`\<`
|
|
125
|
+
`Promise`\<`IDidVerifiableCredential`\>
|
|
126
126
|
|
|
127
127
|
The proof.
|
|
128
128
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/immutable-proof-service",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.8",
|
|
4
4
|
"description": "Immutable proof contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@twin.org/entity-storage-models": "next",
|
|
25
25
|
"@twin.org/event-bus-models": "next",
|
|
26
26
|
"@twin.org/identity-models": "next",
|
|
27
|
-
"@twin.org/immutable-proof-models": "0.0.3-next.
|
|
28
|
-
"@twin.org/immutable-proof-task": "0.0.3-next.
|
|
27
|
+
"@twin.org/immutable-proof-models": "0.0.3-next.8",
|
|
28
|
+
"@twin.org/immutable-proof-task": "0.0.3-next.8",
|
|
29
29
|
"@twin.org/logging-models": "next",
|
|
30
30
|
"@twin.org/nameof": "next",
|
|
31
31
|
"@twin.org/standards-w3c-did": "next",
|