@twin.org/immutable-proof-service 0.0.3-next.1 → 0.0.3-next.10

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.
@@ -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
- ### proofObjectHash
49
+ ### proofObjectIntegrity
42
50
 
43
- > **proofObjectHash**: `string`
51
+ > **proofObjectIntegrity**: `string`
44
52
 
45
- The associated hash for the item.
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`\<`IImmutableProof`\>
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`\<`IImmutableProof`\>
125
+ `Promise`\<`IDidVerifiableCredential`\>
126
126
 
127
127
  The proof.
128
128
 
@@ -32,6 +32,20 @@ verifiable-storage
32
32
 
33
33
  ***
34
34
 
35
+ ### loggingComponentType?
36
+
37
+ > `optional` **loggingComponentType**: `string`
38
+
39
+ The logging component type.
40
+
41
+ #### Default
42
+
43
+ ```ts
44
+ logging
45
+ ```
46
+
47
+ ***
48
+
35
49
  ### identityConnectorType?
36
50
 
37
51
  > `optional` **identityConnectorType**: `string`
@@ -46,11 +60,11 @@ identity
46
60
 
47
61
  ***
48
62
 
49
- ### backgroundTaskConnectorType?
63
+ ### backgroundTaskComponentType?
50
64
 
51
- > `optional` **backgroundTaskConnectorType**: `string`
65
+ > `optional` **backgroundTaskComponentType**: `string`
52
66
 
53
- The background task connector type.
67
+ The background task component type.
54
68
 
55
69
  #### Default
56
70
 
package/locales/en.json CHANGED
@@ -6,7 +6,13 @@
6
6
  "getFailed": "Getting the proof failed",
7
7
  "verifyFailed": "Verifying the proof failed",
8
8
  "removeVerifiableFailed": "Removing verifiable entry from the Immutable Proof failed",
9
- "proofNotFound": "The proof with the Id \"{notFoundId}\" was not found"
9
+ "proofNotFound": "The proof with the Id \"{notFoundId}\" was not found",
10
+ "createProofFailed": "Creating the immutable proof failed"
11
+ }
12
+ },
13
+ "info": {
14
+ "immutableProofService": {
15
+ "createdProof": "The immutable proof with Id \"{proofId}\" has been created successfully"
10
16
  }
11
17
  }
12
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-service",
3
- "version": "0.0.3-next.1",
3
+ "version": "0.0.3-next.10",
4
4
  "description": "Immutable proof contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,8 +24,9 @@
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.1",
28
- "@twin.org/immutable-proof-task": "0.0.3-next.1",
27
+ "@twin.org/immutable-proof-models": "0.0.3-next.10",
28
+ "@twin.org/immutable-proof-task": "0.0.3-next.10",
29
+ "@twin.org/logging-models": "next",
29
30
  "@twin.org/nameof": "next",
30
31
  "@twin.org/standards-w3c-did": "next",
31
32
  "@twin.org/vault-models": "next",