@twin.org/immutable-proof-rest-client 0.0.1-next.26 → 0.0.1-next.28
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/cjs/index.cjs
CHANGED
|
@@ -72,13 +72,13 @@ class ImmutableProofClient extends apiCore.BaseRestClient {
|
|
|
72
72
|
return response.body;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* Remove the
|
|
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
|
|
81
|
-
throw new core.NotSupportedError(this.CLASS_NAME, "
|
|
80
|
+
async removeVerifiable(id) {
|
|
81
|
+
throw new core.NotSupportedError(this.CLASS_NAME, "removeVerifiable");
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
package/dist/esm/index.mjs
CHANGED
|
@@ -70,13 +70,13 @@ class ImmutableProofClient extends BaseRestClient {
|
|
|
70
70
|
return response.body;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
* Remove the
|
|
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
|
|
79
|
-
throw new NotSupportedError(this.CLASS_NAME, "
|
|
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
|
|
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
|
-
|
|
44
|
+
removeVerifiable(id: string): Promise<void>;
|
|
45
45
|
}
|
package/docs/changelog.md
CHANGED
|
@@ -134,11 +134,11 @@ NotFoundError if the proof is not found.
|
|
|
134
134
|
|
|
135
135
|
***
|
|
136
136
|
|
|
137
|
-
###
|
|
137
|
+
### removeVerifiable()
|
|
138
138
|
|
|
139
|
-
> **
|
|
139
|
+
> **removeVerifiable**(`id`): `Promise`\<`void`\>
|
|
140
140
|
|
|
141
|
-
Remove the
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.0.1-next.28",
|
|
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.
|
|
22
|
+
"@twin.org/immutable-proof-models": "0.0.1-next.28",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
24
|
"@twin.org/web": "next"
|
|
25
25
|
},
|