@twin.org/immutable-proof-service 0.0.3-next.9 → 0.9.0

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.
Files changed (30) hide show
  1. package/README.md +1 -1
  2. package/dist/es/entities/immutableProof.js +3 -3
  3. package/dist/es/entities/immutableProof.js.map +1 -1
  4. package/dist/es/immutableProofRoutes.js +98 -14
  5. package/dist/es/immutableProofRoutes.js.map +1 -1
  6. package/dist/es/immutableProofService.js +77 -42
  7. package/dist/es/immutableProofService.js.map +1 -1
  8. package/dist/es/models/IImmutableProofServiceConstructorOptions.js.map +1 -1
  9. package/dist/es/restEntryPoints.js +3 -0
  10. package/dist/es/restEntryPoints.js.map +1 -1
  11. package/dist/types/entities/immutableProof.d.ts +2 -2
  12. package/dist/types/immutableProofRoutes.d.ts +20 -4
  13. package/dist/types/immutableProofService.d.ts +20 -10
  14. package/dist/types/models/IImmutableProofServiceConstructorOptions.d.ts +3 -4
  15. package/dist/types/restEntryPoints.d.ts +3 -0
  16. package/docs/changelog.md +242 -47
  17. package/docs/examples.md +127 -1
  18. package/docs/open-api/spec.json +216 -692
  19. package/docs/reference/classes/ImmutableProof.md +11 -11
  20. package/docs/reference/classes/ImmutableProofService.md +57 -17
  21. package/docs/reference/functions/immutableProofGet.md +1 -1
  22. package/docs/reference/functions/immutableProofRemove.md +31 -0
  23. package/docs/reference/functions/immutableProofRemoveNotarization.md +31 -0
  24. package/docs/reference/functions/immutableProofVerify.md +1 -1
  25. package/docs/reference/index.md +2 -0
  26. package/docs/reference/interfaces/IImmutableProofServiceConfig.md +2 -2
  27. package/docs/reference/interfaces/IImmutableProofServiceConstructorOptions.md +16 -22
  28. package/docs/reference/variables/restEntryPoints.md +2 -0
  29. package/locales/en.json +2 -1
  30. package/package.json +22 -22
package/docs/changelog.md CHANGED
@@ -1,11 +1,206 @@
1
- # @twin.org/immutable-proof-service - Changelog
1
+ # Changelog
2
2
 
3
- ## [0.0.3-next.9](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.8...immutable-proof-service-v0.0.3-next.9) (2026-02-13)
3
+ ## [0.9.0](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.9.0...immutable-proof-service-v0.9.0) (2026-06-25)
4
4
 
5
5
 
6
6
  ### Features
7
7
 
8
- * remove vm linkage in on chain proof ([4034336](https://github.com/twinfoundation/immutable-proof/commit/4034336177261dcf3b017524a56f3f6537545227))
8
+ * release to production ([cb7ecff](https://github.com/iotaledger/twin-immutable-proof/commit/cb7ecff3e9a1ec8b4391d7efea4a58057b8b66c6))
9
+ * release to production ([#58](https://github.com/iotaledger/twin-immutable-proof/issues/58)) ([e1d8c04](https://github.com/iotaledger/twin-immutable-proof/commit/e1d8c04c4d2c764980ed44b320c3ce6218c9b70b))
10
+
11
+ ## [0.9.0-next.1](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.9.0-next.0...immutable-proof-service-v0.9.0-next.1) (2026-06-24)
12
+
13
+
14
+ ### Features
15
+
16
+ * add context id features ([#14](https://github.com/iotaledger/twin-immutable-proof/issues/14)) ([ed5a594](https://github.com/iotaledger/twin-immutable-proof/commit/ed5a594eaa7d50f74b1c09a7a560d48b33a4ecd1))
17
+ * add logging ([#18](https://github.com/iotaledger/twin-immutable-proof/issues/18)) ([e331ce8](https://github.com/iotaledger/twin-immutable-proof/commit/e331ce843393554750c2708ebce1273056b6399a))
18
+ * add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
19
+ * eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
20
+ * immutable proof as vc ([#31](https://github.com/iotaledger/twin-immutable-proof/issues/31)) ([79cdb03](https://github.com/iotaledger/twin-immutable-proof/commit/79cdb03eb86c4f6d2ab1d5bf235f74ff74e8b877))
21
+ * remove default loggers ([1f59001](https://github.com/iotaledger/twin-immutable-proof/commit/1f59001038a9b83b5e3675c4cee2c4131023e9ff))
22
+ * remove unused namespace ([a39864c](https://github.com/iotaledger/twin-immutable-proof/commit/a39864c0b2ca8753334a34028b8e5823a14162b4))
23
+ * remove vm linkage in on chain proof ([4034336](https://github.com/iotaledger/twin-immutable-proof/commit/4034336177261dcf3b017524a56f3f6537545227))
24
+ * replace verifiable storage with notarization as immutable proof ([#41](https://github.com/iotaledger/twin-immutable-proof/issues/41)) ([54f2154](https://github.com/iotaledger/twin-immutable-proof/commit/54f215469b0bdc9ea94cad572ca13b8533144104))
25
+ * typescript 6 update ([34d8aea](https://github.com/iotaledger/twin-immutable-proof/commit/34d8aea0ea0c1e1252de1882517abb1683d98313))
26
+ * update background tasks ([f25741c](https://github.com/iotaledger/twin-immutable-proof/commit/f25741c704e2c8311bc98bc69d4d926c523c781e))
27
+ * update contexts ([#22](https://github.com/iotaledger/twin-immutable-proof/issues/22)) ([645b880](https://github.com/iotaledger/twin-immutable-proof/commit/645b8803540408c74e3891b2c5ff9aefd5908d9f))
28
+ * update contexts and namespaces ([#20](https://github.com/iotaledger/twin-immutable-proof/issues/20)) ([d38aa69](https://github.com/iotaledger/twin-immutable-proof/commit/d38aa696c73e4fcc304f08fb458d5900109abcb4))
29
+ * update data types to use fully qualified names ([e94d0f5](https://github.com/iotaledger/twin-immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
30
+ * update dependencies ([1ec6b18](https://github.com/iotaledger/twin-immutable-proof/commit/1ec6b18e93198a8fc4935700863cdab1c3df7b64))
31
+ * update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
32
+ * update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
33
+ * update remove methods ([#45](https://github.com/iotaledger/twin-immutable-proof/issues/45)) ([9db19bb](https://github.com/iotaledger/twin-immutable-proof/commit/9db19bb4c8e6f5d66139755e8b8a8071a77c4887))
34
+ * update schemas ([ab0569a](https://github.com/iotaledger/twin-immutable-proof/commit/ab0569adf3419beefd8aef7793fdbe5b2fe2d93e))
35
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * constructor component name ([06ea7c3](https://github.com/iotaledger/twin-immutable-proof/commit/06ea7c3602a7b465870300bf02f358d95312d49a))
41
+ * Missing user and node identity on create ([#1](https://github.com/iotaledger/twin-immutable-proof/issues/1)) ([80ea2f9](https://github.com/iotaledger/twin-immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
42
+ * register platform mock in immutable proof service tests ([#52](https://github.com/iotaledger/twin-immutable-proof/issues/52)) ([b9575d3](https://github.com/iotaledger/twin-immutable-proof/commit/b9575d3d79de9abad08692831f751d1aab20c0b5))
43
+ * test mocks ([c89f465](https://github.com/iotaledger/twin-immutable-proof/commit/c89f465873024196bfd4b8cc48df1c301acf62f9))
44
+ * use async getStore in tests ([ec0b3b3](https://github.com/iotaledger/twin-immutable-proof/commit/ec0b3b38271fddf38a4b521cf871cc9cc01049f4))
45
+
46
+
47
+ ### Dependencies
48
+
49
+ * The following workspace dependencies were updated
50
+ * dependencies
51
+ * @twin.org/immutable-proof-models bumped from 0.9.0-next.0 to 0.9.0-next.1
52
+ * @twin.org/immutable-proof-task bumped from 0.9.0-next.0 to 0.9.0-next.1
53
+
54
+ ## [0.0.3-next.17](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.16...immutable-proof-service-v0.0.3-next.17) (2026-06-11)
55
+
56
+
57
+ ### Features
58
+
59
+ * remove default loggers ([1f59001](https://github.com/iotaledger/twin-immutable-proof/commit/1f59001038a9b83b5e3675c4cee2c4131023e9ff))
60
+
61
+
62
+ ### Dependencies
63
+
64
+ * The following workspace dependencies were updated
65
+ * dependencies
66
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.16 to 0.0.3-next.17
67
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.16 to 0.0.3-next.17
68
+
69
+ ## [0.0.3-next.16](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.15...immutable-proof-service-v0.0.3-next.16) (2026-05-29)
70
+
71
+
72
+ ### Features
73
+
74
+ * add context id features ([#14](https://github.com/iotaledger/twin-immutable-proof/issues/14)) ([ed5a594](https://github.com/iotaledger/twin-immutable-proof/commit/ed5a594eaa7d50f74b1c09a7a560d48b33a4ecd1))
75
+ * add logging ([#18](https://github.com/iotaledger/twin-immutable-proof/issues/18)) ([e331ce8](https://github.com/iotaledger/twin-immutable-proof/commit/e331ce843393554750c2708ebce1273056b6399a))
76
+ * add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
77
+ * eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
78
+ * immutable proof as vc ([#31](https://github.com/iotaledger/twin-immutable-proof/issues/31)) ([79cdb03](https://github.com/iotaledger/twin-immutable-proof/commit/79cdb03eb86c4f6d2ab1d5bf235f74ff74e8b877))
79
+ * remove unused namespace ([a39864c](https://github.com/iotaledger/twin-immutable-proof/commit/a39864c0b2ca8753334a34028b8e5823a14162b4))
80
+ * remove vm linkage in on chain proof ([4034336](https://github.com/iotaledger/twin-immutable-proof/commit/4034336177261dcf3b017524a56f3f6537545227))
81
+ * replace verifiable storage with notarization as immutable proof ([#41](https://github.com/iotaledger/twin-immutable-proof/issues/41)) ([54f2154](https://github.com/iotaledger/twin-immutable-proof/commit/54f215469b0bdc9ea94cad572ca13b8533144104))
82
+ * typescript 6 update ([34d8aea](https://github.com/iotaledger/twin-immutable-proof/commit/34d8aea0ea0c1e1252de1882517abb1683d98313))
83
+ * update background tasks ([f25741c](https://github.com/iotaledger/twin-immutable-proof/commit/f25741c704e2c8311bc98bc69d4d926c523c781e))
84
+ * update contexts ([#22](https://github.com/iotaledger/twin-immutable-proof/issues/22)) ([645b880](https://github.com/iotaledger/twin-immutable-proof/commit/645b8803540408c74e3891b2c5ff9aefd5908d9f))
85
+ * update contexts and namespaces ([#20](https://github.com/iotaledger/twin-immutable-proof/issues/20)) ([d38aa69](https://github.com/iotaledger/twin-immutable-proof/commit/d38aa696c73e4fcc304f08fb458d5900109abcb4))
86
+ * update data types to use fully qualified names ([e94d0f5](https://github.com/iotaledger/twin-immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
87
+ * update dependencies ([1ec6b18](https://github.com/iotaledger/twin-immutable-proof/commit/1ec6b18e93198a8fc4935700863cdab1c3df7b64))
88
+ * update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
89
+ * update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
90
+ * update remove methods ([#45](https://github.com/iotaledger/twin-immutable-proof/issues/45)) ([9db19bb](https://github.com/iotaledger/twin-immutable-proof/commit/9db19bb4c8e6f5d66139755e8b8a8071a77c4887))
91
+ * update schemas ([ab0569a](https://github.com/iotaledger/twin-immutable-proof/commit/ab0569adf3419beefd8aef7793fdbe5b2fe2d93e))
92
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
93
+
94
+
95
+ ### Bug Fixes
96
+
97
+ * constructor component name ([06ea7c3](https://github.com/iotaledger/twin-immutable-proof/commit/06ea7c3602a7b465870300bf02f358d95312d49a))
98
+ * Missing user and node identity on create ([#1](https://github.com/iotaledger/twin-immutable-proof/issues/1)) ([80ea2f9](https://github.com/iotaledger/twin-immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
99
+
100
+
101
+ ### Dependencies
102
+
103
+ * The following workspace dependencies were updated
104
+ * dependencies
105
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.15 to 0.0.3-next.16
106
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.15 to 0.0.3-next.16
107
+
108
+ ## [0.0.3-next.15](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.14...immutable-proof-service-v0.0.3-next.15) (2026-05-29)
109
+
110
+
111
+ ### Features
112
+
113
+ * update remove methods ([#45](https://github.com/iotaledger/twin-immutable-proof/issues/45)) ([9db19bb](https://github.com/iotaledger/twin-immutable-proof/commit/9db19bb4c8e6f5d66139755e8b8a8071a77c4887))
114
+
115
+
116
+ ### Dependencies
117
+
118
+ * The following workspace dependencies were updated
119
+ * dependencies
120
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.14 to 0.0.3-next.15
121
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.14 to 0.0.3-next.15
122
+
123
+ ## [0.0.3-next.14](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.13...immutable-proof-service-v0.0.3-next.14) (2026-05-28)
124
+
125
+
126
+ ### Features
127
+
128
+ * replace verifiable storage with notarization as immutable proof ([#41](https://github.com/iotaledger/twin-immutable-proof/issues/41)) ([54f2154](https://github.com/iotaledger/twin-immutable-proof/commit/54f215469b0bdc9ea94cad572ca13b8533144104))
129
+
130
+
131
+ ### Dependencies
132
+
133
+ * The following workspace dependencies were updated
134
+ * dependencies
135
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.13 to 0.0.3-next.14
136
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.13 to 0.0.3-next.14
137
+
138
+ ## [0.0.3-next.13](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.12...immutable-proof-service-v0.0.3-next.13) (2026-05-20)
139
+
140
+
141
+ ### Features
142
+
143
+ * update dependencies ([1ec6b18](https://github.com/iotaledger/twin-immutable-proof/commit/1ec6b18e93198a8fc4935700863cdab1c3df7b64))
144
+
145
+
146
+ ### Dependencies
147
+
148
+ * The following workspace dependencies were updated
149
+ * dependencies
150
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.12 to 0.0.3-next.13
151
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.12 to 0.0.3-next.13
152
+
153
+ ## [0.0.3-next.12](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.11...immutable-proof-service-v0.0.3-next.12) (2026-05-12)
154
+
155
+
156
+ ### Features
157
+
158
+ * typescript 6 update ([34d8aea](https://github.com/iotaledger/twin-immutable-proof/commit/34d8aea0ea0c1e1252de1882517abb1683d98313))
159
+
160
+
161
+ ### Dependencies
162
+
163
+ * The following workspace dependencies were updated
164
+ * dependencies
165
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.11 to 0.0.3-next.12
166
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.11 to 0.0.3-next.12
167
+
168
+ ## [0.0.3-next.11](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.10...immutable-proof-service-v0.0.3-next.11) (2026-03-25)
169
+
170
+
171
+ ### Miscellaneous Chores
172
+
173
+ * **immutable-proof-service:** Synchronize repo versions
174
+
175
+
176
+ ### Dependencies
177
+
178
+ * The following workspace dependencies were updated
179
+ * dependencies
180
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.10 to 0.0.3-next.11
181
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.10 to 0.0.3-next.11
182
+
183
+ ## [0.0.3-next.10](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.9...immutable-proof-service-v0.0.3-next.10) (2026-02-25)
184
+
185
+
186
+ ### Features
187
+
188
+ * update schemas ([ab0569a](https://github.com/iotaledger/twin-immutable-proof/commit/ab0569adf3419beefd8aef7793fdbe5b2fe2d93e))
189
+
190
+
191
+ ### Dependencies
192
+
193
+ * The following workspace dependencies were updated
194
+ * dependencies
195
+ * @twin.org/immutable-proof-models bumped from 0.0.3-next.9 to 0.0.3-next.10
196
+ * @twin.org/immutable-proof-task bumped from 0.0.3-next.9 to 0.0.3-next.10
197
+
198
+ ## [0.0.3-next.9](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.8...immutable-proof-service-v0.0.3-next.9) (2026-02-13)
199
+
200
+
201
+ ### Features
202
+
203
+ * remove vm linkage in on chain proof ([4034336](https://github.com/iotaledger/twin-immutable-proof/commit/4034336177261dcf3b017524a56f3f6537545227))
9
204
 
10
205
 
11
206
  ### Dependencies
@@ -15,12 +210,12 @@
15
210
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.8 to 0.0.3-next.9
16
211
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.8 to 0.0.3-next.9
17
212
 
18
- ## [0.0.3-next.8](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.7...immutable-proof-service-v0.0.3-next.8) (2026-02-10)
213
+ ## [0.0.3-next.8](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.7...immutable-proof-service-v0.0.3-next.8) (2026-02-10)
19
214
 
20
215
 
21
216
  ### Features
22
217
 
23
- * immutable proof as vc ([#31](https://github.com/twinfoundation/immutable-proof/issues/31)) ([79cdb03](https://github.com/twinfoundation/immutable-proof/commit/79cdb03eb86c4f6d2ab1d5bf235f74ff74e8b877))
218
+ * immutable proof as vc ([#31](https://github.com/iotaledger/twin-immutable-proof/issues/31)) ([79cdb03](https://github.com/iotaledger/twin-immutable-proof/commit/79cdb03eb86c4f6d2ab1d5bf235f74ff74e8b877))
24
219
 
25
220
 
26
221
  ### Dependencies
@@ -30,7 +225,7 @@
30
225
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.7 to 0.0.3-next.8
31
226
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.7 to 0.0.3-next.8
32
227
 
33
- ## [0.0.3-next.7](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.6...immutable-proof-service-v0.0.3-next.7) (2026-02-05)
228
+ ## [0.0.3-next.7](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.6...immutable-proof-service-v0.0.3-next.7) (2026-02-05)
34
229
 
35
230
 
36
231
  ### Miscellaneous Chores
@@ -45,12 +240,12 @@
45
240
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.6 to 0.0.3-next.7
46
241
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.6 to 0.0.3-next.7
47
242
 
48
- ## [0.0.3-next.6](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.5...immutable-proof-service-v0.0.3-next.6) (2026-01-21)
243
+ ## [0.0.3-next.6](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.5...immutable-proof-service-v0.0.3-next.6) (2026-01-21)
49
244
 
50
245
 
51
246
  ### Features
52
247
 
53
- * update contexts ([#22](https://github.com/twinfoundation/immutable-proof/issues/22)) ([645b880](https://github.com/twinfoundation/immutable-proof/commit/645b8803540408c74e3891b2c5ff9aefd5908d9f))
248
+ * update contexts ([#22](https://github.com/iotaledger/twin-immutable-proof/issues/22)) ([645b880](https://github.com/iotaledger/twin-immutable-proof/commit/645b8803540408c74e3891b2c5ff9aefd5908d9f))
54
249
 
55
250
 
56
251
  ### Dependencies
@@ -60,12 +255,12 @@
60
255
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.5 to 0.0.3-next.6
61
256
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.5 to 0.0.3-next.6
62
257
 
63
- ## [0.0.3-next.5](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.4...immutable-proof-service-v0.0.3-next.5) (2026-01-14)
258
+ ## [0.0.3-next.5](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.4...immutable-proof-service-v0.0.3-next.5) (2026-01-14)
64
259
 
65
260
 
66
261
  ### Features
67
262
 
68
- * update contexts and namespaces ([#20](https://github.com/twinfoundation/immutable-proof/issues/20)) ([d38aa69](https://github.com/twinfoundation/immutable-proof/commit/d38aa696c73e4fcc304f08fb458d5900109abcb4))
263
+ * update contexts and namespaces ([#20](https://github.com/iotaledger/twin-immutable-proof/issues/20)) ([d38aa69](https://github.com/iotaledger/twin-immutable-proof/commit/d38aa696c73e4fcc304f08fb458d5900109abcb4))
69
264
 
70
265
 
71
266
  ### Dependencies
@@ -75,12 +270,12 @@
75
270
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.4 to 0.0.3-next.5
76
271
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.4 to 0.0.3-next.5
77
272
 
78
- ## [0.0.3-next.4](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.3...immutable-proof-service-v0.0.3-next.4) (2026-01-07)
273
+ ## [0.0.3-next.4](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.3...immutable-proof-service-v0.0.3-next.4) (2026-01-07)
79
274
 
80
275
 
81
276
  ### Features
82
277
 
83
- * add logging ([#18](https://github.com/twinfoundation/immutable-proof/issues/18)) ([e331ce8](https://github.com/twinfoundation/immutable-proof/commit/e331ce843393554750c2708ebce1273056b6399a))
278
+ * add logging ([#18](https://github.com/iotaledger/twin-immutable-proof/issues/18)) ([e331ce8](https://github.com/iotaledger/twin-immutable-proof/commit/e331ce843393554750c2708ebce1273056b6399a))
84
279
 
85
280
 
86
281
  ### Dependencies
@@ -90,12 +285,12 @@
90
285
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.3 to 0.0.3-next.4
91
286
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.3 to 0.0.3-next.4
92
287
 
93
- ## [0.0.3-next.3](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.2...immutable-proof-service-v0.0.3-next.3) (2025-11-28)
288
+ ## [0.0.3-next.3](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.2...immutable-proof-service-v0.0.3-next.3) (2025-11-28)
94
289
 
95
290
 
96
291
  ### Bug Fixes
97
292
 
98
- * constructor component name ([06ea7c3](https://github.com/twinfoundation/immutable-proof/commit/06ea7c3602a7b465870300bf02f358d95312d49a))
293
+ * constructor component name ([06ea7c3](https://github.com/iotaledger/twin-immutable-proof/commit/06ea7c3602a7b465870300bf02f358d95312d49a))
99
294
 
100
295
 
101
296
  ### Dependencies
@@ -105,12 +300,12 @@
105
300
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.2 to 0.0.3-next.3
106
301
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.2 to 0.0.3-next.3
107
302
 
108
- ## [0.0.3-next.2](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.1...immutable-proof-service-v0.0.3-next.2) (2025-11-28)
303
+ ## [0.0.3-next.2](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.1...immutable-proof-service-v0.0.3-next.2) (2025-11-28)
109
304
 
110
305
 
111
306
  ### Features
112
307
 
113
- * update background tasks ([f25741c](https://github.com/twinfoundation/immutable-proof/commit/f25741c704e2c8311bc98bc69d4d926c523c781e))
308
+ * update background tasks ([f25741c](https://github.com/iotaledger/twin-immutable-proof/commit/f25741c704e2c8311bc98bc69d4d926c523c781e))
114
309
 
115
310
 
116
311
  ### Dependencies
@@ -120,24 +315,24 @@
120
315
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.1 to 0.0.3-next.2
121
316
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.1 to 0.0.3-next.2
122
317
 
123
- ## [0.0.3-next.1](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.3-next.0...immutable-proof-service-v0.0.3-next.1) (2025-11-12)
318
+ ## [0.0.3-next.1](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.3-next.0...immutable-proof-service-v0.0.3-next.1) (2025-11-12)
124
319
 
125
320
 
126
321
  ### Features
127
322
 
128
- * add context id features ([#14](https://github.com/twinfoundation/immutable-proof/issues/14)) ([ed5a594](https://github.com/twinfoundation/immutable-proof/commit/ed5a594eaa7d50f74b1c09a7a560d48b33a4ecd1))
129
- * add validate-locales ([d6a7c07](https://github.com/twinfoundation/immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
130
- * eslint migration to flat config ([c8536f2](https://github.com/twinfoundation/immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
131
- * remove unused namespace ([a39864c](https://github.com/twinfoundation/immutable-proof/commit/a39864c0b2ca8753334a34028b8e5823a14162b4))
132
- * update data types to use fully qualified names ([e94d0f5](https://github.com/twinfoundation/immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
133
- * update dependencies ([7d6b321](https://github.com/twinfoundation/immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
134
- * update framework core ([e708d4d](https://github.com/twinfoundation/immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
135
- * use shared store mechanism ([#3](https://github.com/twinfoundation/immutable-proof/issues/3)) ([7042a40](https://github.com/twinfoundation/immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
323
+ * add context id features ([#14](https://github.com/iotaledger/twin-immutable-proof/issues/14)) ([ed5a594](https://github.com/iotaledger/twin-immutable-proof/commit/ed5a594eaa7d50f74b1c09a7a560d48b33a4ecd1))
324
+ * add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
325
+ * eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
326
+ * remove unused namespace ([a39864c](https://github.com/iotaledger/twin-immutable-proof/commit/a39864c0b2ca8753334a34028b8e5823a14162b4))
327
+ * update data types to use fully qualified names ([e94d0f5](https://github.com/iotaledger/twin-immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
328
+ * update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
329
+ * update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
330
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
136
331
 
137
332
 
138
333
  ### Bug Fixes
139
334
 
140
- * Missing user and node identity on create ([#1](https://github.com/twinfoundation/immutable-proof/issues/1)) ([80ea2f9](https://github.com/twinfoundation/immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
335
+ * Missing user and node identity on create ([#1](https://github.com/iotaledger/twin-immutable-proof/issues/1)) ([80ea2f9](https://github.com/iotaledger/twin-immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
141
336
 
142
337
 
143
338
  ### Dependencies
@@ -147,12 +342,12 @@
147
342
  * @twin.org/immutable-proof-models bumped from 0.0.3-next.0 to 0.0.3-next.1
148
343
  * @twin.org/immutable-proof-task bumped from 0.0.3-next.0 to 0.0.3-next.1
149
344
 
150
- ## [0.0.2-next.3](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.2-next.2...immutable-proof-service-v0.0.2-next.3) (2025-10-09)
345
+ ## [0.0.2-next.3](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.2-next.2...immutable-proof-service-v0.0.2-next.3) (2025-10-09)
151
346
 
152
347
 
153
348
  ### Features
154
349
 
155
- * add validate-locales ([d6a7c07](https://github.com/twinfoundation/immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
350
+ * add validate-locales ([d6a7c07](https://github.com/iotaledger/twin-immutable-proof/commit/d6a7c0794a1922981a42f56cc24724d7cee727f6))
156
351
 
157
352
 
158
353
  ### Dependencies
@@ -162,12 +357,12 @@
162
357
  * @twin.org/immutable-proof-models bumped from 0.0.2-next.2 to 0.0.2-next.3
163
358
  * @twin.org/immutable-proof-task bumped from 0.0.2-next.2 to 0.0.2-next.3
164
359
 
165
- ## [0.0.2-next.2](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.2-next.1...immutable-proof-service-v0.0.2-next.2) (2025-08-29)
360
+ ## [0.0.2-next.2](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.2-next.1...immutable-proof-service-v0.0.2-next.2) (2025-08-29)
166
361
 
167
362
 
168
363
  ### Features
169
364
 
170
- * eslint migration to flat config ([c8536f2](https://github.com/twinfoundation/immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
365
+ * eslint migration to flat config ([c8536f2](https://github.com/iotaledger/twin-immutable-proof/commit/c8536f219c7709c6c08b9266e537831f9054dda9))
171
366
 
172
367
 
173
368
  ### Dependencies
@@ -177,21 +372,21 @@
177
372
  * @twin.org/immutable-proof-models bumped from 0.0.2-next.1 to 0.0.2-next.2
178
373
  * @twin.org/immutable-proof-task bumped from 0.0.2-next.1 to 0.0.2-next.2
179
374
 
180
- ## [0.0.2-next.1](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.2-next.0...immutable-proof-service-v0.0.2-next.1) (2025-08-20)
375
+ ## [0.0.2-next.1](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.2-next.0...immutable-proof-service-v0.0.2-next.1) (2025-08-20)
181
376
 
182
377
 
183
378
  ### Features
184
379
 
185
- * remove unused namespace ([a39864c](https://github.com/twinfoundation/immutable-proof/commit/a39864c0b2ca8753334a34028b8e5823a14162b4))
186
- * update data types to use fully qualified names ([e94d0f5](https://github.com/twinfoundation/immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
187
- * update dependencies ([7d6b321](https://github.com/twinfoundation/immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
188
- * update framework core ([e708d4d](https://github.com/twinfoundation/immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
189
- * use shared store mechanism ([#3](https://github.com/twinfoundation/immutable-proof/issues/3)) ([7042a40](https://github.com/twinfoundation/immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
380
+ * remove unused namespace ([a39864c](https://github.com/iotaledger/twin-immutable-proof/commit/a39864c0b2ca8753334a34028b8e5823a14162b4))
381
+ * update data types to use fully qualified names ([e94d0f5](https://github.com/iotaledger/twin-immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
382
+ * update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
383
+ * update framework core ([e708d4d](https://github.com/iotaledger/twin-immutable-proof/commit/e708d4dd3febcfbcd64663d5be004eab1d26c0fb))
384
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
190
385
 
191
386
 
192
387
  ### Bug Fixes
193
388
 
194
- * Missing user and node identity on create ([#1](https://github.com/twinfoundation/immutable-proof/issues/1)) ([80ea2f9](https://github.com/twinfoundation/immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
389
+ * Missing user and node identity on create ([#1](https://github.com/iotaledger/twin-immutable-proof/issues/1)) ([80ea2f9](https://github.com/iotaledger/twin-immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
195
390
 
196
391
 
197
392
  ### Dependencies
@@ -206,7 +401,7 @@
206
401
 
207
402
  ### Features
208
403
 
209
- * release to production ([cb7ecff](https://github.com/twinfoundation/immutable-proof/commit/cb7ecff3e9a1ec8b4391d7efea4a58057b8b66c6))
404
+ * release to production ([cb7ecff](https://github.com/iotaledger/twin-immutable-proof/commit/cb7ecff3e9a1ec8b4391d7efea4a58057b8b66c6))
210
405
 
211
406
 
212
407
  ### Dependencies
@@ -216,12 +411,12 @@
216
411
  * @twin.org/immutable-proof-models bumped from ^0.0.0 to ^0.0.1
217
412
  * @twin.org/immutable-proof-task bumped from ^0.0.0 to ^0.0.1
218
413
 
219
- ## [0.0.1-next.35](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.1-next.34...immutable-proof-service-v0.0.1-next.35) (2025-06-12)
414
+ ## [0.0.1-next.35](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.1-next.34...immutable-proof-service-v0.0.1-next.35) (2025-06-12)
220
415
 
221
416
 
222
417
  ### Features
223
418
 
224
- * update dependencies ([7d6b321](https://github.com/twinfoundation/immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
419
+ * update dependencies ([7d6b321](https://github.com/iotaledger/twin-immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
225
420
 
226
421
 
227
422
  ### Dependencies
@@ -231,7 +426,7 @@
231
426
  * @twin.org/immutable-proof-models bumped from 0.0.1-next.34 to 0.0.1-next.35
232
427
  * @twin.org/immutable-proof-task bumped from 0.0.1-next.34 to 0.0.1-next.35
233
428
 
234
- ## [0.0.1-next.34](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.1-next.33...immutable-proof-service-v0.0.1-next.34) (2025-06-03)
429
+ ## [0.0.1-next.34](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.1-next.33...immutable-proof-service-v0.0.1-next.34) (2025-06-03)
235
430
 
236
431
 
237
432
  ### Miscellaneous Chores
@@ -246,12 +441,12 @@
246
441
  * @twin.org/immutable-proof-models bumped from 0.0.1-next.33 to 0.0.1-next.34
247
442
  * @twin.org/immutable-proof-task bumped from 0.0.1-next.33 to 0.0.1-next.34
248
443
 
249
- ## [0.0.1-next.33](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.1-next.32...immutable-proof-service-v0.0.1-next.33) (2025-05-28)
444
+ ## [0.0.1-next.33](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.1-next.32...immutable-proof-service-v0.0.1-next.33) (2025-05-28)
250
445
 
251
446
 
252
447
  ### Features
253
448
 
254
- * update data types to use fully qualified names ([e94d0f5](https://github.com/twinfoundation/immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
449
+ * update data types to use fully qualified names ([e94d0f5](https://github.com/iotaledger/twin-immutable-proof/commit/e94d0f5db93856b5b59cfd34e55252fa13a7f4e0))
255
450
 
256
451
 
257
452
  ### Dependencies
@@ -261,12 +456,12 @@
261
456
  * @twin.org/immutable-proof-models bumped from 0.0.1-next.32 to 0.0.1-next.33
262
457
  * @twin.org/immutable-proof-task bumped from 0.0.1-next.32 to 0.0.1-next.33
263
458
 
264
- ## [0.0.1-next.32](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.1-next.31...immutable-proof-service-v0.0.1-next.32) (2025-04-17)
459
+ ## [0.0.1-next.32](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.1-next.31...immutable-proof-service-v0.0.1-next.32) (2025-04-17)
265
460
 
266
461
 
267
462
  ### Features
268
463
 
269
- * use shared store mechanism ([#3](https://github.com/twinfoundation/immutable-proof/issues/3)) ([7042a40](https://github.com/twinfoundation/immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
464
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-immutable-proof/issues/3)) ([7042a40](https://github.com/iotaledger/twin-immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
270
465
 
271
466
 
272
467
  ### Dependencies
@@ -276,12 +471,12 @@
276
471
  * @twin.org/immutable-proof-models bumped from 0.0.1-next.31 to 0.0.1-next.32
277
472
  * @twin.org/immutable-proof-task bumped from 0.0.1-next.31 to 0.0.1-next.32
278
473
 
279
- ## [0.0.1-next.31](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-service-v0.0.1-next.30...immutable-proof-service-v0.0.1-next.31) (2025-03-28)
474
+ ## [0.0.1-next.31](https://github.com/iotaledger/twin-immutable-proof/compare/immutable-proof-service-v0.0.1-next.30...immutable-proof-service-v0.0.1-next.31) (2025-03-28)
280
475
 
281
476
 
282
477
  ### Bug Fixes
283
478
 
284
- * Missing user and node identity on create ([#1](https://github.com/twinfoundation/immutable-proof/issues/1)) ([80ea2f9](https://github.com/twinfoundation/immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
479
+ * Missing user and node identity on create ([#1](https://github.com/iotaledger/twin-immutable-proof/issues/1)) ([80ea2f9](https://github.com/iotaledger/twin-immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
285
480
 
286
481
 
287
482
  ### Dependencies
package/docs/examples.md CHANGED
@@ -1 +1,127 @@
1
- # @twin.org/immutable-proof-service - Examples
1
+ # Immutable Proof Service Examples
2
+
3
+ These examples show how to initialise storage and routes, create and retrieve proofs, verify them, and work with persisted entities.
4
+
5
+ ## ImmutableProofService
6
+
7
+ ```typescript
8
+ import { ImmutableProofService } from '@twin.org/immutable-proof-service';
9
+
10
+ const service = new ImmutableProofService({
11
+ identityConnectorType: 'identity',
12
+ config: {
13
+ verificationMethodId: 'immutable-proof-assertion'
14
+ }
15
+ });
16
+
17
+ console.log(service.className()); // ImmutableProofService
18
+ ```
19
+
20
+ ```typescript
21
+ import { ImmutableProofService } from '@twin.org/immutable-proof-service';
22
+
23
+ const service = new ImmutableProofService();
24
+ await service.start();
25
+
26
+ const proofId = await service.create({
27
+ '@context': 'https://schema.org',
28
+ type: 'Person',
29
+ name: 'Alice Example'
30
+ });
31
+
32
+ console.log(proofId); // immutable-proof:01JABCDEF1234567890
33
+ ```
34
+
35
+ ```typescript
36
+ import { ImmutableProofService } from '@twin.org/immutable-proof-service';
37
+
38
+ const service = new ImmutableProofService();
39
+ const proofId = 'immutable-proof:01JABCDEF1234567890';
40
+
41
+ const credential = await service.get(proofId);
42
+ const verification = await service.verify(proofId);
43
+
44
+ console.log(credential.id); // immutable-proof:01JABCDEF1234567890
45
+ console.log(verification.verified); // true
46
+ ```
47
+
48
+ ```typescript
49
+ import { ImmutableProofService } from '@twin.org/immutable-proof-service';
50
+
51
+ const service = new ImmutableProofService();
52
+ const proofId = 'immutable-proof:01JABCDEF1234567890';
53
+
54
+ await service.removeVerifiable(proofId);
55
+ const verificationAfterRemoval = await service.verify(proofId);
56
+
57
+ console.log(verificationAfterRemoval.verified); // false
58
+ ```
59
+
60
+ ## ImmutableProof
61
+
62
+ ```typescript
63
+ import { ImmutableProof } from '@twin.org/immutable-proof-service';
64
+
65
+ const entity: ImmutableProof = {
66
+ id: '01JABCDEF1234567890',
67
+ organizationId: 'did:iota:tst:issuer',
68
+ dateCreated: '2026-03-10T09:30:00.000Z',
69
+ proofObjectId: 'https://example.org/documents/100',
70
+ proofObjectIntegrity: 'yEr9VvYCGDh2Ww1YwQMehUy4LlW35mLhX8j8R8U6x0g=',
71
+ notarizationId: 'notarization:01JABCDE'
72
+ };
73
+
74
+ console.log(entity.organizationId); // did:iota:tst:issuer
75
+ ```
76
+
77
+ ## Route and Schema Helpers
78
+
79
+ ```typescript
80
+ import {
81
+ generateRestRoutesImmutableProof,
82
+ initSchema,
83
+ restEntryPoints
84
+ } from '@twin.org/immutable-proof-service';
85
+
86
+ initSchema();
87
+
88
+ const routes = generateRestRoutesImmutableProof('/immutable-proof', 'immutable-proof');
89
+ console.log(routes.length); // 3
90
+ console.log(restEntryPoints[0].name); // immutable-proof
91
+ ```
92
+
93
+ ```typescript
94
+ import {
95
+ immutableProofCreate,
96
+ immutableProofGet,
97
+ immutableProofVerify
98
+ } from '@twin.org/immutable-proof-service';
99
+
100
+ const requestContext = {};
101
+
102
+ const createResponse = await immutableProofCreate(requestContext, 'immutable-proof', {
103
+ body: {
104
+ document: {
105
+ '@context': 'https://schema.org',
106
+ type: 'Person',
107
+ name: 'Alice Example'
108
+ }
109
+ }
110
+ });
111
+
112
+ const getResponse = await immutableProofGet(requestContext, 'immutable-proof', {
113
+ pathParams: {
114
+ id: createResponse.headers.location
115
+ }
116
+ });
117
+
118
+ const verifyResponse = await immutableProofVerify(requestContext, 'immutable-proof', {
119
+ pathParams: {
120
+ id: createResponse.headers.location
121
+ }
122
+ });
123
+
124
+ console.log(createResponse.statusCode); // 201
125
+ console.log(getResponse.body.id); // immutable-proof:01JABCDEF1234567890
126
+ console.log(verifyResponse.body.verified); // true
127
+ ```