@twin.org/immutable-proof-rest-client 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.
@@ -72,13 +72,13 @@ class ImmutableProofClient extends apiCore.BaseRestClient {
72
72
  return response.body;
73
73
  }
74
74
  /**
75
- * Remove the immutable storage for the proof.
75
+ * Remove the verifiable storage for the proof.
76
76
  * @param id The id of the proof to remove the storage from.
77
77
  * @returns Nothing.
78
78
  * @throws NotFoundError if the proof is not found.
79
79
  */
80
- async removeImmutable(id) {
81
- throw new core.NotSupportedError(this.CLASS_NAME, "removeImmutable");
80
+ async removeVerifiable(id) {
81
+ throw new core.NotSupportedError(this.CLASS_NAME, "removeVerifiable");
82
82
  }
83
83
  }
84
84
 
@@ -70,13 +70,13 @@ class ImmutableProofClient extends BaseRestClient {
70
70
  return response.body;
71
71
  }
72
72
  /**
73
- * Remove the immutable storage for the proof.
73
+ * Remove the verifiable storage for the proof.
74
74
  * @param id The id of the proof to remove the storage from.
75
75
  * @returns Nothing.
76
76
  * @throws NotFoundError if the proof is not found.
77
77
  */
78
- async removeImmutable(id) {
79
- throw new NotSupportedError(this.CLASS_NAME, "removeImmutable");
78
+ async removeVerifiable(id) {
79
+ throw new NotSupportedError(this.CLASS_NAME, "removeVerifiable");
80
80
  }
81
81
  }
82
82
 
@@ -36,10 +36,10 @@ export declare class ImmutableProofClient extends BaseRestClient implements IImm
36
36
  */
37
37
  verify(id: string): Promise<IImmutableProofVerification>;
38
38
  /**
39
- * Remove the immutable storage for the proof.
39
+ * Remove the verifiable storage for the proof.
40
40
  * @param id The id of the proof to remove the storage from.
41
41
  * @returns Nothing.
42
42
  * @throws NotFoundError if the proof is not found.
43
43
  */
44
- removeImmutable(id: string): Promise<void>;
44
+ removeVerifiable(id: string): Promise<void>;
45
45
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/immutable-proof-rest-client - Changelog
2
2
 
3
- ## v0.0.1-next.27
3
+ ## v0.0.1-next.29
4
4
 
5
5
  - Initial Release
@@ -134,11 +134,11 @@ NotFoundError if the proof is not found.
134
134
 
135
135
  ***
136
136
 
137
- ### removeImmutable()
137
+ ### removeVerifiable()
138
138
 
139
- > **removeImmutable**(`id`): `Promise`\<`void`\>
139
+ > **removeVerifiable**(`id`): `Promise`\<`void`\>
140
140
 
141
- Remove the immutable storage for the proof.
141
+ Remove the verifiable storage for the proof.
142
142
 
143
143
  #### Parameters
144
144
 
@@ -160,4 +160,4 @@ NotFoundError if the proof is not found.
160
160
 
161
161
  #### Implementation of
162
162
 
163
- `IImmutableProofComponent.removeImmutable`
163
+ `IImmutableProofComponent.removeVerifiable`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-rest-client",
3
- "version": "0.0.1-next.27",
3
+ "version": "0.0.1-next.29",
4
4
  "description": "Immutable Proof contract implementation which can connect to REST endpoints",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/data-json-ld": "next",
21
21
  "@twin.org/entity": "next",
22
- "@twin.org/immutable-proof-models": "0.0.1-next.27",
22
+ "@twin.org/immutable-proof-models": "0.0.1-next.29",
23
23
  "@twin.org/nameof": "next",
24
24
  "@twin.org/web": "next"
25
25
  },