@twin.org/immutable-proof-models 0.0.1-next.27 → 0.0.1-next.29

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.
@@ -64,6 +64,10 @@ var properties = {
64
64
  type: "string",
65
65
  description: "The hash of the object associated with the proof."
66
66
  },
67
+ verifiableStorageId: {
68
+ type: "string",
69
+ description: "The verifiable storage id for where the proof is stored."
70
+ },
67
71
  proof: {
68
72
  $ref: "https://schema.twindev.org/did/DataIntegrityProof",
69
73
  description: "The proof which can be undefined if it has not yet been issued."
@@ -62,6 +62,10 @@ var properties = {
62
62
  type: "string",
63
63
  description: "The hash of the object associated with the proof."
64
64
  },
65
+ verifiableStorageId: {
66
+ type: "string",
67
+ description: "The verifiable storage id for where the proof is stored."
68
+ },
65
69
  proof: {
66
70
  $ref: "https://schema.twindev.org/did/DataIntegrityProof",
67
71
  description: "The proof which can be undefined if it has not yet been issued."
@@ -38,6 +38,10 @@ export interface IImmutableProof {
38
38
  * The hash of the object associated with the proof.
39
39
  */
40
40
  proofObjectHash: string;
41
+ /**
42
+ * The verifiable storage id for where the proof is stored.
43
+ */
44
+ verifiableStorageId?: string;
41
45
  /**
42
46
  * The proof which can be undefined if it has not yet been issued.
43
47
  */
@@ -29,11 +29,11 @@ export interface IImmutableProofComponent extends IComponent {
29
29
  */
30
30
  verify(id: string): Promise<IImmutableProofVerification>;
31
31
  /**
32
- * Remove the immutable storage for the proof.
32
+ * Remove the verifiable storage for the proof.
33
33
  * @param id The id of the proof to remove the storage from.
34
34
  * @param nodeIdentity The node identity to use for vault operations.
35
35
  * @returns Nothing.
36
36
  * @throws NotFoundError if the proof is not found.
37
37
  */
38
- removeImmutable(id: string, nodeIdentity?: string): Promise<void>;
38
+ removeVerifiable(id: string, nodeIdentity?: string): Promise<void>;
39
39
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/immutable-proof-models - Changelog
2
2
 
3
- ## v0.0.1-next.27
3
+ ## v0.0.1-next.29
4
4
 
5
5
  - Initial Release
@@ -60,6 +60,14 @@ The hash of the object associated with the proof.
60
60
 
61
61
  ***
62
62
 
63
+ ### verifiableStorageId?
64
+
65
+ > `optional` **verifiableStorageId**: `string`
66
+
67
+ The verifiable storage id for where the proof is stored.
68
+
69
+ ***
70
+
63
71
  ### proof?
64
72
 
65
73
  > `optional` **proof**: `IDataIntegrityProof`
@@ -94,11 +94,11 @@ NotFoundError if the proof is not found.
94
94
 
95
95
  ***
96
96
 
97
- ### removeImmutable()
97
+ ### removeVerifiable()
98
98
 
99
- > **removeImmutable**(`id`, `nodeIdentity`?): `Promise`\<`void`\>
99
+ > **removeVerifiable**(`id`, `nodeIdentity`?): `Promise`\<`void`\>
100
100
 
101
- Remove the immutable storage for the proof.
101
+ Remove the verifiable storage for the proof.
102
102
 
103
103
  #### Parameters
104
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-models",
3
- "version": "0.0.1-next.27",
3
+ "version": "0.0.1-next.29",
4
4
  "description": "Models which define the structure of the immutable proof connectors and services",
5
5
  "repository": {
6
6
  "type": "git",