@twin.org/immutable-proof-rest-client 0.0.3-next.10 → 0.0.3-next.12
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/README.md +1 -1
- package/docs/changelog.md +62 -34
- package/docs/examples.md +59 -1
- package/docs/reference/classes/ImmutableProofRestClient.md +6 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TWIN Immutable Proof REST Client
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This package delivers a dedicated client for immutable proof HTTP endpoints. It provides a simple interface for creating proofs, loading proof credentials, and running verification calls without reimplementing request handling in each consuming project.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
package/docs/changelog.md
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.3-next.
|
|
3
|
+
## [0.0.3-next.12](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.11...immutable-proof-rest-client-v0.0.3-next.12) (2026-05-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* typescript 6 update ([34d8aea](https://github.com/iotaledger/twin-immutable-proof/commit/34d8aea0ea0c1e1252de1882517abb1683d98313))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/immutable-proof-models bumped from 0.0.3-next.11 to 0.0.3-next.12
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.11](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.10...immutable-proof-rest-client-v0.0.3-next.11) (2026-03-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **immutable-proof-rest-client:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/immutable-proof-models bumped from 0.0.3-next.10 to 0.0.3-next.11
|
|
30
|
+
|
|
31
|
+
## [0.0.3-next.10](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.9...immutable-proof-rest-client-v0.0.3-next.10) (2026-02-25)
|
|
4
32
|
|
|
5
33
|
|
|
6
34
|
### Miscellaneous Chores
|
|
@@ -14,7 +42,7 @@
|
|
|
14
42
|
* dependencies
|
|
15
43
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
16
44
|
|
|
17
|
-
## [0.0.3-next.9](https://github.com/
|
|
45
|
+
## [0.0.3-next.9](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.8...immutable-proof-rest-client-v0.0.3-next.9) (2026-02-13)
|
|
18
46
|
|
|
19
47
|
|
|
20
48
|
### Miscellaneous Chores
|
|
@@ -28,12 +56,12 @@
|
|
|
28
56
|
* dependencies
|
|
29
57
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
30
58
|
|
|
31
|
-
## [0.0.3-next.8](https://github.com/
|
|
59
|
+
## [0.0.3-next.8](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.7...immutable-proof-rest-client-v0.0.3-next.8) (2026-02-10)
|
|
32
60
|
|
|
33
61
|
|
|
34
62
|
### Features
|
|
35
63
|
|
|
36
|
-
* immutable proof as vc ([#31](https://github.com/
|
|
64
|
+
* immutable proof as vc ([#31](https://github.com/iotaledger/twin-immutable-proof/issues/31)) ([79cdb03](https://github.com/iotaledger/twin-immutable-proof/commit/79cdb03eb86c4f6d2ab1d5bf235f74ff74e8b877))
|
|
37
65
|
|
|
38
66
|
|
|
39
67
|
### Dependencies
|
|
@@ -42,7 +70,7 @@
|
|
|
42
70
|
* dependencies
|
|
43
71
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
44
72
|
|
|
45
|
-
## [0.0.3-next.7](https://github.com/
|
|
73
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.6...immutable-proof-rest-client-v0.0.3-next.7) (2026-02-05)
|
|
46
74
|
|
|
47
75
|
|
|
48
76
|
### Miscellaneous Chores
|
|
@@ -56,7 +84,7 @@
|
|
|
56
84
|
* dependencies
|
|
57
85
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
58
86
|
|
|
59
|
-
## [0.0.3-next.6](https://github.com/
|
|
87
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.5...immutable-proof-rest-client-v0.0.3-next.6) (2026-01-21)
|
|
60
88
|
|
|
61
89
|
|
|
62
90
|
### Miscellaneous Chores
|
|
@@ -70,7 +98,7 @@
|
|
|
70
98
|
* dependencies
|
|
71
99
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
72
100
|
|
|
73
|
-
## [0.0.3-next.5](https://github.com/
|
|
101
|
+
## [0.0.3-next.5](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.4...immutable-proof-rest-client-v0.0.3-next.5) (2026-01-14)
|
|
74
102
|
|
|
75
103
|
|
|
76
104
|
### Miscellaneous Chores
|
|
@@ -84,7 +112,7 @@
|
|
|
84
112
|
* dependencies
|
|
85
113
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
86
114
|
|
|
87
|
-
## [0.0.3-next.4](https://github.com/
|
|
115
|
+
## [0.0.3-next.4](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.3...immutable-proof-rest-client-v0.0.3-next.4) (2026-01-07)
|
|
88
116
|
|
|
89
117
|
|
|
90
118
|
### Miscellaneous Chores
|
|
@@ -98,7 +126,7 @@
|
|
|
98
126
|
* dependencies
|
|
99
127
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
100
128
|
|
|
101
|
-
## [0.0.3-next.3](https://github.com/
|
|
129
|
+
## [0.0.3-next.3](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.2...immutable-proof-rest-client-v0.0.3-next.3) (2025-11-28)
|
|
102
130
|
|
|
103
131
|
|
|
104
132
|
### Miscellaneous Chores
|
|
@@ -112,7 +140,7 @@
|
|
|
112
140
|
* dependencies
|
|
113
141
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
114
142
|
|
|
115
|
-
## [0.0.3-next.2](https://github.com/
|
|
143
|
+
## [0.0.3-next.2](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.1...immutable-proof-rest-client-v0.0.3-next.2) (2025-11-28)
|
|
116
144
|
|
|
117
145
|
|
|
118
146
|
### Miscellaneous Chores
|
|
@@ -126,17 +154,17 @@
|
|
|
126
154
|
* dependencies
|
|
127
155
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
128
156
|
|
|
129
|
-
## [0.0.3-next.1](https://github.com/
|
|
157
|
+
## [0.0.3-next.1](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.3-next.0...immutable-proof-rest-client-v0.0.3-next.1) (2025-11-12)
|
|
130
158
|
|
|
131
159
|
|
|
132
160
|
### Features
|
|
133
161
|
|
|
134
|
-
* add context id features ([#14](https://github.com/
|
|
135
|
-
* add validate-locales ([d6a7c07](https://github.com/
|
|
136
|
-
* eslint migration to flat config ([c8536f2](https://github.com/
|
|
137
|
-
* update dependencies ([7d6b321](https://github.com/
|
|
138
|
-
* update framework core ([e708d4d](https://github.com/
|
|
139
|
-
* use shared store mechanism ([#3](https://github.com/
|
|
162
|
+
* add context id features ([#14](https://github.com/iotaledger/twin-immutable-proof/issues/14)) ([ed5a594](https://github.com/iotaledger/twin-immutable-proof/commit/ed5a594eaa7d50f74b1c09a7a560d48b33a4ecd1))
|
|
163
|
+
* add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
|
|
164
|
+
* eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
|
|
165
|
+
* update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
|
|
166
|
+
* update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
|
|
167
|
+
* use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
|
|
140
168
|
|
|
141
169
|
|
|
142
170
|
### Dependencies
|
|
@@ -145,12 +173,12 @@
|
|
|
145
173
|
* dependencies
|
|
146
174
|
* @twin.org/immutable-proof-models bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
147
175
|
|
|
148
|
-
## [0.0.2-next.3](https://github.com/
|
|
176
|
+
## [0.0.2-next.3](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.2-next.2...immutable-proof-rest-client-v0.0.2-next.3) (2025-10-09)
|
|
149
177
|
|
|
150
178
|
|
|
151
179
|
### Features
|
|
152
180
|
|
|
153
|
-
* add validate-locales ([d6a7c07](https://github.com/
|
|
181
|
+
* add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
|
|
154
182
|
|
|
155
183
|
|
|
156
184
|
### Dependencies
|
|
@@ -159,12 +187,12 @@
|
|
|
159
187
|
* dependencies
|
|
160
188
|
* @twin.org/immutable-proof-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
161
189
|
|
|
162
|
-
## [0.0.2-next.2](https://github.com/
|
|
190
|
+
## [0.0.2-next.2](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.2-next.1...immutable-proof-rest-client-v0.0.2-next.2) (2025-08-29)
|
|
163
191
|
|
|
164
192
|
|
|
165
193
|
### Features
|
|
166
194
|
|
|
167
|
-
* eslint migration to flat config ([c8536f2](https://github.com/
|
|
195
|
+
* eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
|
|
168
196
|
|
|
169
197
|
|
|
170
198
|
### Dependencies
|
|
@@ -173,14 +201,14 @@
|
|
|
173
201
|
* dependencies
|
|
174
202
|
* @twin.org/immutable-proof-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
175
203
|
|
|
176
|
-
## [0.0.2-next.1](https://github.com/
|
|
204
|
+
## [0.0.2-next.1](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.2-next.0...immutable-proof-rest-client-v0.0.2-next.1) (2025-08-20)
|
|
177
205
|
|
|
178
206
|
|
|
179
207
|
### Features
|
|
180
208
|
|
|
181
|
-
* update dependencies ([7d6b321](https://github.com/
|
|
182
|
-
* update framework core ([e708d4d](https://github.com/
|
|
183
|
-
* use shared store mechanism ([#3](https://github.com/
|
|
209
|
+
* update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
|
|
210
|
+
* update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
|
|
211
|
+
* use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
|
|
184
212
|
|
|
185
213
|
|
|
186
214
|
### Dependencies
|
|
@@ -194,7 +222,7 @@
|
|
|
194
222
|
|
|
195
223
|
### Features
|
|
196
224
|
|
|
197
|
-
* release to production ([cb7ecff](https://github.com/
|
|
225
|
+
* release to production ([cb7ecff](https://github.com/iotaledger/twin-immutable-proof/commit/cb7ecff3e9a1ec8b4391d7efea4a58057b8b66c6))
|
|
198
226
|
|
|
199
227
|
|
|
200
228
|
### Dependencies
|
|
@@ -203,12 +231,12 @@
|
|
|
203
231
|
* dependencies
|
|
204
232
|
* @twin.org/immutable-proof-models bumped from ^0.0.0 to ^0.0.1
|
|
205
233
|
|
|
206
|
-
## [0.0.1-next.35](https://github.com/
|
|
234
|
+
## [0.0.1-next.35](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.1-next.34...immutable-proof-rest-client-v0.0.1-next.35) (2025-06-12)
|
|
207
235
|
|
|
208
236
|
|
|
209
237
|
### Features
|
|
210
238
|
|
|
211
|
-
* update dependencies ([7d6b321](https://github.com/
|
|
239
|
+
* update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
|
|
212
240
|
|
|
213
241
|
|
|
214
242
|
### Dependencies
|
|
@@ -217,7 +245,7 @@
|
|
|
217
245
|
* dependencies
|
|
218
246
|
* @twin.org/immutable-proof-models bumped from 0.0.1-next.34 to 0.0.1-next.35
|
|
219
247
|
|
|
220
|
-
## [0.0.1-next.34](https://github.com/
|
|
248
|
+
## [0.0.1-next.34](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.1-next.33...immutable-proof-rest-client-v0.0.1-next.34) (2025-06-03)
|
|
221
249
|
|
|
222
250
|
|
|
223
251
|
### Miscellaneous Chores
|
|
@@ -231,7 +259,7 @@
|
|
|
231
259
|
* dependencies
|
|
232
260
|
* @twin.org/immutable-proof-models bumped from 0.0.1-next.33 to 0.0.1-next.34
|
|
233
261
|
|
|
234
|
-
## [0.0.1-next.33](https://github.com/
|
|
262
|
+
## [0.0.1-next.33](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.1-next.32...immutable-proof-rest-client-v0.0.1-next.33) (2025-05-28)
|
|
235
263
|
|
|
236
264
|
|
|
237
265
|
### Miscellaneous Chores
|
|
@@ -245,12 +273,12 @@
|
|
|
245
273
|
* dependencies
|
|
246
274
|
* @twin.org/immutable-proof-models bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
247
275
|
|
|
248
|
-
## [0.0.1-next.32](https://github.com/
|
|
276
|
+
## [0.0.1-next.32](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.1-next.31...immutable-proof-rest-client-v0.0.1-next.32) (2025-04-17)
|
|
249
277
|
|
|
250
278
|
|
|
251
279
|
### Features
|
|
252
280
|
|
|
253
|
-
* use shared store mechanism ([#3](https://github.com/
|
|
281
|
+
* use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
|
|
254
282
|
|
|
255
283
|
|
|
256
284
|
### Dependencies
|
|
@@ -259,7 +287,7 @@
|
|
|
259
287
|
* dependencies
|
|
260
288
|
* @twin.org/immutable-proof-models bumped from 0.0.1-next.31 to 0.0.1-next.32
|
|
261
289
|
|
|
262
|
-
## [0.0.1-next.31](https://github.com/
|
|
290
|
+
## [0.0.1-next.31](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-rest-client-v0.0.1-next.30...immutable-proof-rest-client-v0.0.1-next.31) (2025-03-28)
|
|
263
291
|
|
|
264
292
|
|
|
265
293
|
### Miscellaneous Chores
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,59 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Immutable Proof REST Client Examples
|
|
2
|
+
|
|
3
|
+
Use these snippets to connect to an API, create and retrieve proofs, and validate proofs through REST endpoints.
|
|
4
|
+
|
|
5
|
+
## ImmutableProofRestClient
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { ImmutableProofRestClient } from '@twin.org/immutable-proof-rest-client';
|
|
9
|
+
|
|
10
|
+
const client = new ImmutableProofRestClient({
|
|
11
|
+
endpoint: 'http://localhost:8080'
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
console.log(client.className()); // ImmutableProofRestClient
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ImmutableProofRestClient } from '@twin.org/immutable-proof-rest-client';
|
|
19
|
+
|
|
20
|
+
const client = new ImmutableProofRestClient({
|
|
21
|
+
endpoint: 'http://localhost:8080'
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const proofId = await client.create({
|
|
25
|
+
'@context': 'https://schema.org',
|
|
26
|
+
type: 'Person',
|
|
27
|
+
name: 'Alice Example'
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
console.log(proofId); // immutable-proof:01JABCDEF1234567890
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import { ImmutableProofRestClient } from '@twin.org/immutable-proof-rest-client';
|
|
35
|
+
|
|
36
|
+
const client = new ImmutableProofRestClient({
|
|
37
|
+
endpoint: 'http://localhost:8080'
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
const proof = await client.get('immutable-proof:01JABCDEF1234567890');
|
|
41
|
+
const verification = await client.verify('immutable-proof:01JABCDEF1234567890');
|
|
42
|
+
|
|
43
|
+
console.log(proof.id); // immutable-proof:01JABCDEF1234567890
|
|
44
|
+
console.log(verification.verified); // true
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { ImmutableProofRestClient } from '@twin.org/immutable-proof-rest-client';
|
|
49
|
+
|
|
50
|
+
const client = new ImmutableProofRestClient({
|
|
51
|
+
endpoint: 'http://localhost:8080'
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
try {
|
|
55
|
+
await client.removeVerifiable('immutable-proof:01JABCDEF1234567890');
|
|
56
|
+
} catch (error) {
|
|
57
|
+
console.log(error instanceof Error); // true
|
|
58
|
+
}
|
|
59
|
+
```
|
|
@@ -36,7 +36,7 @@ The configuration for the client.
|
|
|
36
36
|
|
|
37
37
|
## Properties
|
|
38
38
|
|
|
39
|
-
### CLASS\_NAME
|
|
39
|
+
### CLASS\_NAME {#class_name}
|
|
40
40
|
|
|
41
41
|
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Runtime name for the class.
|
|
|
44
44
|
|
|
45
45
|
## Methods
|
|
46
46
|
|
|
47
|
-
### className()
|
|
47
|
+
### className() {#classname}
|
|
48
48
|
|
|
49
49
|
> **className**(): `string`
|
|
50
50
|
|
|
@@ -62,7 +62,7 @@ The class name of the component.
|
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
65
|
-
### create()
|
|
65
|
+
### create() {#create}
|
|
66
66
|
|
|
67
67
|
> **create**(`document`): `Promise`\<`string`\>
|
|
68
68
|
|
|
@@ -88,7 +88,7 @@ The id of the new proof.
|
|
|
88
88
|
|
|
89
89
|
***
|
|
90
90
|
|
|
91
|
-
### get()
|
|
91
|
+
### get() {#get}
|
|
92
92
|
|
|
93
93
|
> **get**(`id`): `Promise`\<`IDidVerifiableCredential`\>
|
|
94
94
|
|
|
@@ -118,7 +118,7 @@ NotFoundError if the proof is not found.
|
|
|
118
118
|
|
|
119
119
|
***
|
|
120
120
|
|
|
121
|
-
### verify()
|
|
121
|
+
### verify() {#verify}
|
|
122
122
|
|
|
123
123
|
> **verify**(`id`): `Promise`\<`IImmutableProofVerification`\>
|
|
124
124
|
|
|
@@ -148,7 +148,7 @@ NotFoundError if the proof is not found.
|
|
|
148
148
|
|
|
149
149
|
***
|
|
150
150
|
|
|
151
|
-
### removeVerifiable()
|
|
151
|
+
### removeVerifiable() {#removeverifiable}
|
|
152
152
|
|
|
153
153
|
> **removeVerifiable**(`id`): `Promise`\<`void`\>
|
|
154
154
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/immutable-proof-rest-client",
|
|
3
|
-
"version": "0.0.3-next.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.3-next.12",
|
|
4
|
+
"description": "HTTP client for calling immutable proof service endpoints from external components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/iotaledger/immutable-proof.git",
|
|
8
8
|
"directory": "packages/immutable-proof-rest-client"
|
|
9
9
|
},
|
|
10
10
|
"author": "martyn.janes@iota.org",
|
|
@@ -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.3-next.
|
|
22
|
+
"@twin.org/immutable-proof-models": "0.0.3-next.12",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
24
|
"@twin.org/web": "next"
|
|
25
25
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"immutable-proof"
|
|
49
49
|
],
|
|
50
50
|
"bugs": {
|
|
51
|
-
"url": "git+https://github.com/
|
|
51
|
+
"url": "git+https://github.com/iotaledger/immutable-proof/issues"
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://twindev.org"
|
|
54
54
|
}
|