@twin.org/verifiable-storage-service 0.0.3-next.8 → 0.0.3-next.9
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 +3 -1
- package/docs/changelog.md +105 -89
- package/docs/examples.md +29 -1
- package/docs/open-api/spec.json +5 -923
- package/docs/reference/classes/VerifiableStorageService.md +6 -6
- package/docs/reference/interfaces/IVerifiableStorageServiceConfig.md +2 -2
- package/docs/reference/interfaces/IVerifiableStorageServiceConstructorOptions.md +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TWIN Verifiable Storage Service
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This package provides the service layer for verifiable storage, exposing component logic and REST route definitions that can be mounted in API applications. It translates storage operations into a consistent service interface for upstream consumers.
|
|
4
|
+
|
|
5
|
+
The package is useful when you need to host verifiable storage capabilities behind HTTP endpoints while retaining the same contracts used by connectors and clients.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
package/docs/changelog.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.3-next.
|
|
3
|
+
## [0.0.3-next.9](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.8...verifiable-storage-service-v0.0.3-next.9) (2026-05-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **verifiable-storage-service:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/verifiable-storage-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
16
|
+
* devDependencies
|
|
17
|
+
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
18
|
+
|
|
19
|
+
## [0.0.3-next.8](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.7...verifiable-storage-service-v0.0.3-next.8) (2026-03-03)
|
|
4
20
|
|
|
5
21
|
|
|
6
22
|
### Miscellaneous Chores
|
|
@@ -16,30 +32,30 @@
|
|
|
16
32
|
* devDependencies
|
|
17
33
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
18
34
|
|
|
19
|
-
## [0.0.3-next.7](https://github.com/
|
|
35
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.6...verifiable-storage-service-v0.0.3-next.7) (2026-02-25)
|
|
20
36
|
|
|
21
37
|
|
|
22
38
|
### Features
|
|
23
39
|
|
|
24
|
-
* add context id features ([#40](https://github.com/
|
|
25
|
-
* add support for allowlist ([#17](https://github.com/
|
|
26
|
-
* add validate-locales ([326384f](https://github.com/
|
|
27
|
-
* additional fields in IOTA receipt ([f1ddffa](https://github.com/
|
|
28
|
-
* eslint migration to flat config ([b0a0b85](https://github.com/
|
|
29
|
-
* remove unused namespace ([e95b332](https://github.com/
|
|
30
|
-
* update allow list name case ([278a787](https://github.com/
|
|
31
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
32
|
-
* update dependencies ([a16a772](https://github.com/
|
|
33
|
-
* update framework core ([efa612e](https://github.com/
|
|
34
|
-
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/
|
|
35
|
-
* update schemas ([a44dd16](https://github.com/
|
|
36
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
37
|
-
* use shared store mechanism ([#8](https://github.com/
|
|
40
|
+
* add context id features ([#40](https://github.com/iotaledger/twin-verifiable-storage/issues/40)) ([260b96a](https://github.com/iotaledger/twin-verifiable-storage/commit/260b96a8b7d1a26c6c415f2de12e09671ee70220))
|
|
41
|
+
* add support for allowlist ([#17](https://github.com/iotaledger/twin-verifiable-storage/issues/17)) ([9341ea6](https://github.com/iotaledger/twin-verifiable-storage/commit/9341ea6b95dfbf2a5dc70a53e5979d7d0e8b2de6))
|
|
42
|
+
* add validate-locales ([326384f](https://github.com/iotaledger/twin-verifiable-storage/commit/326384fe867604e7cd450460a6a56c6c7bdc8f98))
|
|
43
|
+
* additional fields in IOTA receipt ([f1ddffa](https://github.com/iotaledger/twin-verifiable-storage/commit/f1ddffa82b5d3fafe00bfe2ca938e9c6982e5aca))
|
|
44
|
+
* eslint migration to flat config ([b0a0b85](https://github.com/iotaledger/twin-verifiable-storage/commit/b0a0b8585a77c1e541531d60b432916b9dc0867e))
|
|
45
|
+
* remove unused namespace ([e95b332](https://github.com/iotaledger/twin-verifiable-storage/commit/e95b33251950bb2f04bff0cb643ed8bcdb2897d3))
|
|
46
|
+
* update allow list name case ([278a787](https://github.com/iotaledger/twin-verifiable-storage/commit/278a787e96864c95438f87adaac6f2fc8b6bebcd))
|
|
47
|
+
* update connector config and tests for gas station ([#25](https://github.com/iotaledger/twin-verifiable-storage/issues/25)) ([e0997ff](https://github.com/iotaledger/twin-verifiable-storage/commit/e0997ffb0f4869dca11f248a9886acdd22c7dcc2))
|
|
48
|
+
* update dependencies ([a16a772](https://github.com/iotaledger/twin-verifiable-storage/commit/a16a77244cb1d312ea5ee74232bcdadd25f2b330))
|
|
49
|
+
* update framework core ([efa612e](https://github.com/iotaledger/twin-verifiable-storage/commit/efa612e54dbe2d8f223f27ff9e315e08a2fed04b))
|
|
50
|
+
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/iotaledger/twin-verifiable-storage/issues/33)) ([7c8d0d2](https://github.com/iotaledger/twin-verifiable-storage/commit/7c8d0d2e0418333ab1f897f744326c5c72857932))
|
|
51
|
+
* update schemas ([a44dd16](https://github.com/iotaledger/twin-verifiable-storage/commit/a44dd164d03b799a38786dae655a42b1a5dcf9cc))
|
|
52
|
+
* use new dlt packages with latency fix ([#6](https://github.com/iotaledger/twin-verifiable-storage/issues/6)) ([d81c45b](https://github.com/iotaledger/twin-verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
|
|
53
|
+
* use shared store mechanism ([#8](https://github.com/iotaledger/twin-verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/iotaledger/twin-verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
|
|
38
54
|
|
|
39
55
|
|
|
40
56
|
### Bug Fixes
|
|
41
57
|
|
|
42
|
-
* tests ([e30075e](https://github.com/
|
|
58
|
+
* tests ([e30075e](https://github.com/iotaledger/twin-verifiable-storage/commit/e30075e0100a7eb956d4042b01b40fe3bd9ec62a))
|
|
43
59
|
|
|
44
60
|
|
|
45
61
|
### Dependencies
|
|
@@ -50,12 +66,12 @@
|
|
|
50
66
|
* devDependencies
|
|
51
67
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
52
68
|
|
|
53
|
-
## [0.0.3-next.6](https://github.com/
|
|
69
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.5...verifiable-storage-service-v0.0.3-next.6) (2026-02-25)
|
|
54
70
|
|
|
55
71
|
|
|
56
72
|
### Features
|
|
57
73
|
|
|
58
|
-
* update schemas ([a44dd16](https://github.com/
|
|
74
|
+
* update schemas ([a44dd16](https://github.com/iotaledger/twin-verifiable-storage/commit/a44dd164d03b799a38786dae655a42b1a5dcf9cc))
|
|
59
75
|
|
|
60
76
|
|
|
61
77
|
### Dependencies
|
|
@@ -66,17 +82,17 @@
|
|
|
66
82
|
* devDependencies
|
|
67
83
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
68
84
|
|
|
69
|
-
## [0.0.3-next.5](https://github.com/
|
|
85
|
+
## [0.0.3-next.5](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.4...verifiable-storage-service-v0.0.3-next.5) (2026-02-09)
|
|
70
86
|
|
|
71
87
|
|
|
72
88
|
### Features
|
|
73
89
|
|
|
74
|
-
* additional fields in IOTA receipt ([f1ddffa](https://github.com/
|
|
90
|
+
* additional fields in IOTA receipt ([f1ddffa](https://github.com/iotaledger/twin-verifiable-storage/commit/f1ddffa82b5d3fafe00bfe2ca938e9c6982e5aca))
|
|
75
91
|
|
|
76
92
|
|
|
77
93
|
### Bug Fixes
|
|
78
94
|
|
|
79
|
-
* tests ([e30075e](https://github.com/
|
|
95
|
+
* tests ([e30075e](https://github.com/iotaledger/twin-verifiable-storage/commit/e30075e0100a7eb956d4042b01b40fe3bd9ec62a))
|
|
80
96
|
|
|
81
97
|
|
|
82
98
|
### Dependencies
|
|
@@ -87,7 +103,7 @@
|
|
|
87
103
|
* devDependencies
|
|
88
104
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
89
105
|
|
|
90
|
-
## [0.0.3-next.4](https://github.com/
|
|
106
|
+
## [0.0.3-next.4](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.3...verifiable-storage-service-v0.0.3-next.4) (2026-02-09)
|
|
91
107
|
|
|
92
108
|
|
|
93
109
|
### Miscellaneous Chores
|
|
@@ -103,7 +119,7 @@
|
|
|
103
119
|
* devDependencies
|
|
104
120
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
105
121
|
|
|
106
|
-
## [0.0.3-next.3](https://github.com/
|
|
122
|
+
## [0.0.3-next.3](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.2...verifiable-storage-service-v0.0.3-next.3) (2026-01-21)
|
|
107
123
|
|
|
108
124
|
|
|
109
125
|
### Miscellaneous Chores
|
|
@@ -119,7 +135,7 @@
|
|
|
119
135
|
* devDependencies
|
|
120
136
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
121
137
|
|
|
122
|
-
## [0.0.3-next.2](https://github.com/
|
|
138
|
+
## [0.0.3-next.2](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.1...verifiable-storage-service-v0.0.3-next.2) (2026-01-14)
|
|
123
139
|
|
|
124
140
|
|
|
125
141
|
### Miscellaneous Chores
|
|
@@ -135,23 +151,23 @@
|
|
|
135
151
|
* devDependencies
|
|
136
152
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
137
153
|
|
|
138
|
-
## [0.0.3-next.1](https://github.com/
|
|
154
|
+
## [0.0.3-next.1](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.3-next.0...verifiable-storage-service-v0.0.3-next.1) (2025-11-12)
|
|
139
155
|
|
|
140
156
|
|
|
141
157
|
### Features
|
|
142
158
|
|
|
143
|
-
* add context id features ([#40](https://github.com/
|
|
144
|
-
* add support for allowlist ([#17](https://github.com/
|
|
145
|
-
* add validate-locales ([326384f](https://github.com/
|
|
146
|
-
* eslint migration to flat config ([b0a0b85](https://github.com/
|
|
147
|
-
* remove unused namespace ([e95b332](https://github.com/
|
|
148
|
-
* update allow list name case ([278a787](https://github.com/
|
|
149
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
150
|
-
* update dependencies ([a16a772](https://github.com/
|
|
151
|
-
* update framework core ([efa612e](https://github.com/
|
|
152
|
-
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/
|
|
153
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
154
|
-
* use shared store mechanism ([#8](https://github.com/
|
|
159
|
+
* add context id features ([#40](https://github.com/iotaledger/twin-verifiable-storage/issues/40)) ([260b96a](https://github.com/iotaledger/twin-verifiable-storage/commit/260b96a8b7d1a26c6c415f2de12e09671ee70220))
|
|
160
|
+
* add support for allowlist ([#17](https://github.com/iotaledger/twin-verifiable-storage/issues/17)) ([9341ea6](https://github.com/iotaledger/twin-verifiable-storage/commit/9341ea6b95dfbf2a5dc70a53e5979d7d0e8b2de6))
|
|
161
|
+
* add validate-locales ([326384f](https://github.com/iotaledger/twin-verifiable-storage/commit/326384fe867604e7cd450460a6a56c6c7bdc8f98))
|
|
162
|
+
* eslint migration to flat config ([b0a0b85](https://github.com/iotaledger/twin-verifiable-storage/commit/b0a0b8585a77c1e541531d60b432916b9dc0867e))
|
|
163
|
+
* remove unused namespace ([e95b332](https://github.com/iotaledger/twin-verifiable-storage/commit/e95b33251950bb2f04bff0cb643ed8bcdb2897d3))
|
|
164
|
+
* update allow list name case ([278a787](https://github.com/iotaledger/twin-verifiable-storage/commit/278a787e96864c95438f87adaac6f2fc8b6bebcd))
|
|
165
|
+
* update connector config and tests for gas station ([#25](https://github.com/iotaledger/twin-verifiable-storage/issues/25)) ([e0997ff](https://github.com/iotaledger/twin-verifiable-storage/commit/e0997ffb0f4869dca11f248a9886acdd22c7dcc2))
|
|
166
|
+
* update dependencies ([a16a772](https://github.com/iotaledger/twin-verifiable-storage/commit/a16a77244cb1d312ea5ee74232bcdadd25f2b330))
|
|
167
|
+
* update framework core ([efa612e](https://github.com/iotaledger/twin-verifiable-storage/commit/efa612e54dbe2d8f223f27ff9e315e08a2fed04b))
|
|
168
|
+
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/iotaledger/twin-verifiable-storage/issues/33)) ([7c8d0d2](https://github.com/iotaledger/twin-verifiable-storage/commit/7c8d0d2e0418333ab1f897f744326c5c72857932))
|
|
169
|
+
* use new dlt packages with latency fix ([#6](https://github.com/iotaledger/twin-verifiable-storage/issues/6)) ([d81c45b](https://github.com/iotaledger/twin-verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
|
|
170
|
+
* use shared store mechanism ([#8](https://github.com/iotaledger/twin-verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/iotaledger/twin-verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
|
|
155
171
|
|
|
156
172
|
|
|
157
173
|
### Dependencies
|
|
@@ -162,12 +178,12 @@
|
|
|
162
178
|
* devDependencies
|
|
163
179
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
164
180
|
|
|
165
|
-
## [0.0.2-next.6](https://github.com/
|
|
181
|
+
## [0.0.2-next.6](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.2-next.5...verifiable-storage-service-v0.0.2-next.6) (2025-10-09)
|
|
166
182
|
|
|
167
183
|
|
|
168
184
|
### Features
|
|
169
185
|
|
|
170
|
-
* add validate-locales ([326384f](https://github.com/
|
|
186
|
+
* add validate-locales ([326384f](https://github.com/iotaledger/twin-verifiable-storage/commit/326384fe867604e7cd450460a6a56c6c7bdc8f98))
|
|
171
187
|
|
|
172
188
|
|
|
173
189
|
### Dependencies
|
|
@@ -178,12 +194,12 @@
|
|
|
178
194
|
* devDependencies
|
|
179
195
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
180
196
|
|
|
181
|
-
## [0.0.2-next.5](https://github.com/
|
|
197
|
+
## [0.0.2-next.5](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.2-next.4...verifiable-storage-service-v0.0.2-next.5) (2025-09-26)
|
|
182
198
|
|
|
183
199
|
|
|
184
200
|
### Features
|
|
185
201
|
|
|
186
|
-
* eslint migration to flat config ([b0a0b85](https://github.com/
|
|
202
|
+
* eslint migration to flat config ([b0a0b85](https://github.com/iotaledger/twin-verifiable-storage/commit/b0a0b8585a77c1e541531d60b432916b9dc0867e))
|
|
187
203
|
|
|
188
204
|
|
|
189
205
|
### Dependencies
|
|
@@ -194,12 +210,12 @@
|
|
|
194
210
|
* devDependencies
|
|
195
211
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
196
212
|
|
|
197
|
-
## [0.0.2-next.4](https://github.com/
|
|
213
|
+
## [0.0.2-next.4](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.2-next.3...verifiable-storage-service-v0.0.2-next.4) (2025-08-20)
|
|
198
214
|
|
|
199
215
|
|
|
200
216
|
### Features
|
|
201
217
|
|
|
202
|
-
* update framework core ([efa612e](https://github.com/
|
|
218
|
+
* update framework core ([efa612e](https://github.com/iotaledger/twin-verifiable-storage/commit/efa612e54dbe2d8f223f27ff9e315e08a2fed04b))
|
|
203
219
|
|
|
204
220
|
|
|
205
221
|
### Dependencies
|
|
@@ -210,13 +226,13 @@
|
|
|
210
226
|
* devDependencies
|
|
211
227
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
212
228
|
|
|
213
|
-
## [0.0.2-next.3](https://github.com/
|
|
229
|
+
## [0.0.2-next.3](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.2-next.2...verifiable-storage-service-v0.0.2-next.3) (2025-07-28)
|
|
214
230
|
|
|
215
231
|
|
|
216
232
|
### Features
|
|
217
233
|
|
|
218
|
-
* remove unused namespace ([e95b332](https://github.com/
|
|
219
|
-
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/
|
|
234
|
+
* remove unused namespace ([e95b332](https://github.com/iotaledger/twin-verifiable-storage/commit/e95b33251950bb2f04bff0cb643ed8bcdb2897d3))
|
|
235
|
+
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/iotaledger/twin-verifiable-storage/issues/33)) ([7c8d0d2](https://github.com/iotaledger/twin-verifiable-storage/commit/7c8d0d2e0418333ab1f897f744326c5c72857932))
|
|
220
236
|
|
|
221
237
|
|
|
222
238
|
### Dependencies
|
|
@@ -227,17 +243,17 @@
|
|
|
227
243
|
* devDependencies
|
|
228
244
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
229
245
|
|
|
230
|
-
## [0.0.2-next.2](https://github.com/
|
|
246
|
+
## [0.0.2-next.2](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.2-next.1...verifiable-storage-service-v0.0.2-next.2) (2025-07-16)
|
|
231
247
|
|
|
232
248
|
|
|
233
249
|
### Features
|
|
234
250
|
|
|
235
|
-
* add support for allowlist ([#17](https://github.com/
|
|
236
|
-
* update allow list name case ([278a787](https://github.com/
|
|
237
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
238
|
-
* update dependencies ([a16a772](https://github.com/
|
|
239
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
240
|
-
* use shared store mechanism ([#8](https://github.com/
|
|
251
|
+
* add support for allowlist ([#17](https://github.com/iotaledger/twin-verifiable-storage/issues/17)) ([9341ea6](https://github.com/iotaledger/twin-verifiable-storage/commit/9341ea6b95dfbf2a5dc70a53e5979d7d0e8b2de6))
|
|
252
|
+
* update allow list name case ([278a787](https://github.com/iotaledger/twin-verifiable-storage/commit/278a787e96864c95438f87adaac6f2fc8b6bebcd))
|
|
253
|
+
* update connector config and tests for gas station ([#25](https://github.com/iotaledger/twin-verifiable-storage/issues/25)) ([e0997ff](https://github.com/iotaledger/twin-verifiable-storage/commit/e0997ffb0f4869dca11f248a9886acdd22c7dcc2))
|
|
254
|
+
* update dependencies ([a16a772](https://github.com/iotaledger/twin-verifiable-storage/commit/a16a77244cb1d312ea5ee74232bcdadd25f2b330))
|
|
255
|
+
* use new dlt packages with latency fix ([#6](https://github.com/iotaledger/twin-verifiable-storage/issues/6)) ([d81c45b](https://github.com/iotaledger/twin-verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
|
|
256
|
+
* use shared store mechanism ([#8](https://github.com/iotaledger/twin-verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/iotaledger/twin-verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
|
|
241
257
|
|
|
242
258
|
|
|
243
259
|
### Dependencies
|
|
@@ -248,17 +264,17 @@
|
|
|
248
264
|
* devDependencies
|
|
249
265
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.0 to 0.0.2-next.2
|
|
250
266
|
|
|
251
|
-
## [0.0.2-next.0](https://github.com/
|
|
267
|
+
## [0.0.2-next.0](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.2-next.0...verifiable-storage-service-v0.0.2-next.0) (2025-07-16)
|
|
252
268
|
|
|
253
269
|
|
|
254
270
|
### Features
|
|
255
271
|
|
|
256
|
-
* add support for allowlist ([#17](https://github.com/
|
|
257
|
-
* update allow list name case ([278a787](https://github.com/
|
|
258
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
259
|
-
* update dependencies ([a16a772](https://github.com/
|
|
260
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
261
|
-
* use shared store mechanism ([#8](https://github.com/
|
|
272
|
+
* add support for allowlist ([#17](https://github.com/iotaledger/twin-verifiable-storage/issues/17)) ([9341ea6](https://github.com/iotaledger/twin-verifiable-storage/commit/9341ea6b95dfbf2a5dc70a53e5979d7d0e8b2de6))
|
|
273
|
+
* update allow list name case ([278a787](https://github.com/iotaledger/twin-verifiable-storage/commit/278a787e96864c95438f87adaac6f2fc8b6bebcd))
|
|
274
|
+
* update connector config and tests for gas station ([#25](https://github.com/iotaledger/twin-verifiable-storage/issues/25)) ([e0997ff](https://github.com/iotaledger/twin-verifiable-storage/commit/e0997ffb0f4869dca11f248a9886acdd22c7dcc2))
|
|
275
|
+
* update dependencies ([a16a772](https://github.com/iotaledger/twin-verifiable-storage/commit/a16a77244cb1d312ea5ee74232bcdadd25f2b330))
|
|
276
|
+
* use new dlt packages with latency fix ([#6](https://github.com/iotaledger/twin-verifiable-storage/issues/6)) ([d81c45b](https://github.com/iotaledger/twin-verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
|
|
277
|
+
* use shared store mechanism ([#8](https://github.com/iotaledger/twin-verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/iotaledger/twin-verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
|
|
262
278
|
|
|
263
279
|
|
|
264
280
|
### Dependencies
|
|
@@ -274,7 +290,7 @@
|
|
|
274
290
|
|
|
275
291
|
### Features
|
|
276
292
|
|
|
277
|
-
* release to production ([6ce6744](https://github.com/
|
|
293
|
+
* release to production ([6ce6744](https://github.com/iotaledger/twin-verifiable-storage/commit/6ce6744c124cca586c1ef0552624378d1207578d))
|
|
278
294
|
|
|
279
295
|
|
|
280
296
|
### Dependencies
|
|
@@ -285,12 +301,12 @@
|
|
|
285
301
|
* devDependencies
|
|
286
302
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from ^0.0.0 to ^0.0.1
|
|
287
303
|
|
|
288
|
-
## [0.0.1-next.17](https://github.com/
|
|
304
|
+
## [0.0.1-next.17](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.16...verifiable-storage-service-v0.0.1-next.17) (2025-06-25)
|
|
289
305
|
|
|
290
306
|
|
|
291
307
|
### Features
|
|
292
308
|
|
|
293
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
309
|
+
* update connector config and tests for gas station ([#25](https://github.com/iotaledger/twin-verifiable-storage/issues/25)) ([e0997ff](https://github.com/iotaledger/twin-verifiable-storage/commit/e0997ffb0f4869dca11f248a9886acdd22c7dcc2))
|
|
294
310
|
|
|
295
311
|
|
|
296
312
|
### Dependencies
|
|
@@ -301,12 +317,12 @@
|
|
|
301
317
|
* devDependencies
|
|
302
318
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.16 to 0.0.1-next.17
|
|
303
319
|
|
|
304
|
-
## [0.0.1-next.16](https://github.com/
|
|
320
|
+
## [0.0.1-next.16](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.15...verifiable-storage-service-v0.0.1-next.16) (2025-06-12)
|
|
305
321
|
|
|
306
322
|
|
|
307
323
|
### Features
|
|
308
324
|
|
|
309
|
-
* update dependencies ([a16a772](https://github.com/
|
|
325
|
+
* update dependencies ([a16a772](https://github.com/iotaledger/twin-verifiable-storage/commit/a16a77244cb1d312ea5ee74232bcdadd25f2b330))
|
|
310
326
|
|
|
311
327
|
|
|
312
328
|
### Dependencies
|
|
@@ -317,7 +333,7 @@
|
|
|
317
333
|
* devDependencies
|
|
318
334
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.15 to 0.0.1-next.16
|
|
319
335
|
|
|
320
|
-
## [0.0.1-next.15](https://github.com/
|
|
336
|
+
## [0.0.1-next.15](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.14...verifiable-storage-service-v0.0.1-next.15) (2025-06-03)
|
|
321
337
|
|
|
322
338
|
|
|
323
339
|
### Miscellaneous Chores
|
|
@@ -333,15 +349,15 @@
|
|
|
333
349
|
* devDependencies
|
|
334
350
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.14 to 0.0.1-next.15
|
|
335
351
|
|
|
336
|
-
## [0.0.1-next.14](https://github.com/
|
|
352
|
+
## [0.0.1-next.14](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.13...verifiable-storage-service-v0.0.1-next.14) (2025-05-28)
|
|
337
353
|
|
|
338
354
|
|
|
339
355
|
### Features
|
|
340
356
|
|
|
341
|
-
* add support for allowlist ([#17](https://github.com/
|
|
342
|
-
* update allow list name case ([278a787](https://github.com/
|
|
343
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
344
|
-
* use shared store mechanism ([#8](https://github.com/
|
|
357
|
+
* add support for allowlist ([#17](https://github.com/iotaledger/twin-verifiable-storage/issues/17)) ([9341ea6](https://github.com/iotaledger/twin-verifiable-storage/commit/9341ea6b95dfbf2a5dc70a53e5979d7d0e8b2de6))
|
|
358
|
+
* update allow list name case ([278a787](https://github.com/iotaledger/twin-verifiable-storage/commit/278a787e96864c95438f87adaac6f2fc8b6bebcd))
|
|
359
|
+
* use new dlt packages with latency fix ([#6](https://github.com/iotaledger/twin-verifiable-storage/issues/6)) ([d81c45b](https://github.com/iotaledger/twin-verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
|
|
360
|
+
* use shared store mechanism ([#8](https://github.com/iotaledger/twin-verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/iotaledger/twin-verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
|
|
345
361
|
|
|
346
362
|
|
|
347
363
|
### Dependencies
|
|
@@ -352,7 +368,7 @@
|
|
|
352
368
|
* devDependencies
|
|
353
369
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.13 to 0.0.1-next.14
|
|
354
370
|
|
|
355
|
-
## [0.0.1-next.13](https://github.com/
|
|
371
|
+
## [0.0.1-next.13](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.12...verifiable-storage-service-v0.0.1-next.13) (2025-05-28)
|
|
356
372
|
|
|
357
373
|
|
|
358
374
|
### Miscellaneous Chores
|
|
@@ -368,12 +384,12 @@
|
|
|
368
384
|
* devDependencies
|
|
369
385
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.12 to 0.0.1-next.13
|
|
370
386
|
|
|
371
|
-
## [0.0.1-next.12](https://github.com/
|
|
387
|
+
## [0.0.1-next.12](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.11...verifiable-storage-service-v0.0.1-next.12) (2025-05-28)
|
|
372
388
|
|
|
373
389
|
|
|
374
390
|
### Features
|
|
375
391
|
|
|
376
|
-
* update allow list name case ([278a787](https://github.com/
|
|
392
|
+
* update allow list name case ([278a787](https://github.com/iotaledger/twin-verifiable-storage/commit/278a787e96864c95438f87adaac6f2fc8b6bebcd))
|
|
377
393
|
|
|
378
394
|
|
|
379
395
|
### Dependencies
|
|
@@ -384,7 +400,7 @@
|
|
|
384
400
|
* devDependencies
|
|
385
401
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.11 to 0.0.1-next.12
|
|
386
402
|
|
|
387
|
-
## [0.0.1-next.11](https://github.com/
|
|
403
|
+
## [0.0.1-next.11](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.10...verifiable-storage-service-v0.0.1-next.11) (2025-05-22)
|
|
388
404
|
|
|
389
405
|
|
|
390
406
|
### Miscellaneous Chores
|
|
@@ -400,12 +416,12 @@
|
|
|
400
416
|
* devDependencies
|
|
401
417
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.10 to 0.0.1-next.11
|
|
402
418
|
|
|
403
|
-
## [0.0.1-next.10](https://github.com/
|
|
419
|
+
## [0.0.1-next.10](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.9...verifiable-storage-service-v0.0.1-next.10) (2025-05-22)
|
|
404
420
|
|
|
405
421
|
|
|
406
422
|
### Features
|
|
407
423
|
|
|
408
|
-
* add support for allowlist ([#17](https://github.com/
|
|
424
|
+
* add support for allowlist ([#17](https://github.com/iotaledger/twin-verifiable-storage/issues/17)) ([9341ea6](https://github.com/iotaledger/twin-verifiable-storage/commit/9341ea6b95dfbf2a5dc70a53e5979d7d0e8b2de6))
|
|
409
425
|
|
|
410
426
|
|
|
411
427
|
### Dependencies
|
|
@@ -416,7 +432,7 @@
|
|
|
416
432
|
* devDependencies
|
|
417
433
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.9 to 0.0.1-next.10
|
|
418
434
|
|
|
419
|
-
## [0.0.1-next.9](https://github.com/
|
|
435
|
+
## [0.0.1-next.9](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.8...verifiable-storage-service-v0.0.1-next.9) (2025-05-06)
|
|
420
436
|
|
|
421
437
|
|
|
422
438
|
### Miscellaneous Chores
|
|
@@ -432,7 +448,7 @@
|
|
|
432
448
|
* devDependencies
|
|
433
449
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.8 to 0.0.1-next.9
|
|
434
450
|
|
|
435
|
-
## [0.0.1-next.8](https://github.com/
|
|
451
|
+
## [0.0.1-next.8](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.7...verifiable-storage-service-v0.0.1-next.8) (2025-04-24)
|
|
436
452
|
|
|
437
453
|
|
|
438
454
|
### Miscellaneous Chores
|
|
@@ -448,7 +464,7 @@
|
|
|
448
464
|
* devDependencies
|
|
449
465
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.7 to 0.0.1-next.8
|
|
450
466
|
|
|
451
|
-
## [0.0.1-next.7](https://github.com/
|
|
467
|
+
## [0.0.1-next.7](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.6...verifiable-storage-service-v0.0.1-next.7) (2025-04-23)
|
|
452
468
|
|
|
453
469
|
|
|
454
470
|
### Miscellaneous Chores
|
|
@@ -464,7 +480,7 @@
|
|
|
464
480
|
* devDependencies
|
|
465
481
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.6 to 0.0.1-next.7
|
|
466
482
|
|
|
467
|
-
## [0.0.1-next.6](https://github.com/
|
|
483
|
+
## [0.0.1-next.6](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.5...verifiable-storage-service-v0.0.1-next.6) (2025-04-23)
|
|
468
484
|
|
|
469
485
|
|
|
470
486
|
### Miscellaneous Chores
|
|
@@ -480,7 +496,7 @@
|
|
|
480
496
|
* devDependencies
|
|
481
497
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.5 to 0.0.1-next.6
|
|
482
498
|
|
|
483
|
-
## [0.0.1-next.5](https://github.com/
|
|
499
|
+
## [0.0.1-next.5](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.4...verifiable-storage-service-v0.0.1-next.5) (2025-04-23)
|
|
484
500
|
|
|
485
501
|
|
|
486
502
|
### Miscellaneous Chores
|
|
@@ -496,12 +512,12 @@
|
|
|
496
512
|
* devDependencies
|
|
497
513
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.4 to 0.0.1-next.5
|
|
498
514
|
|
|
499
|
-
## [0.0.1-next.4](https://github.com/
|
|
515
|
+
## [0.0.1-next.4](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.3...verifiable-storage-service-v0.0.1-next.4) (2025-04-17)
|
|
500
516
|
|
|
501
517
|
|
|
502
518
|
### Features
|
|
503
519
|
|
|
504
|
-
* use shared store mechanism ([#8](https://github.com/
|
|
520
|
+
* use shared store mechanism ([#8](https://github.com/iotaledger/twin-verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/iotaledger/twin-verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
|
|
505
521
|
|
|
506
522
|
|
|
507
523
|
### Dependencies
|
|
@@ -512,12 +528,12 @@
|
|
|
512
528
|
* devDependencies
|
|
513
529
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.3 to 0.0.1-next.4
|
|
514
530
|
|
|
515
|
-
## [0.0.1-next.3](https://github.com/
|
|
531
|
+
## [0.0.1-next.3](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.2...verifiable-storage-service-v0.0.1-next.3) (2025-04-17)
|
|
516
532
|
|
|
517
533
|
|
|
518
534
|
### Features
|
|
519
535
|
|
|
520
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
536
|
+
* use new dlt packages with latency fix ([#6](https://github.com/iotaledger/twin-verifiable-storage/issues/6)) ([d81c45b](https://github.com/iotaledger/twin-verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
|
|
521
537
|
|
|
522
538
|
|
|
523
539
|
### Dependencies
|
|
@@ -528,7 +544,7 @@
|
|
|
528
544
|
* devDependencies
|
|
529
545
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.2 to 0.0.1-next.3
|
|
530
546
|
|
|
531
|
-
## [0.0.1-next.2](https://github.com/
|
|
547
|
+
## [0.0.1-next.2](https://github.com/iotaledger/twin-verifiable-storage/compare/verifiable-storage-service-v0.0.1-next.1...verifiable-storage-service-v0.0.1-next.2) (2025-03-28)
|
|
532
548
|
|
|
533
549
|
|
|
534
550
|
### Miscellaneous Chores
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,29 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Verifiable Storage Service Examples
|
|
2
|
+
|
|
3
|
+
This page provides TypeScript examples for using the verifiable storage service. These samples demonstrate how to create and retrieve verifiable storage items using the service class, making it easier to manage verifiable data in your application.
|
|
4
|
+
|
|
5
|
+
## VerifiableStorageService
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { VerifiableStorageService } from '@twin.org/verifiable-storage-service';
|
|
9
|
+
|
|
10
|
+
const service = new VerifiableStorageService();
|
|
11
|
+
|
|
12
|
+
// Create a new verifiable storage item
|
|
13
|
+
const data = new TextEncoder().encode('Service data');
|
|
14
|
+
const allowList = ['did:example:controller1'];
|
|
15
|
+
const { id, receipt } = await service.create(data, allowList, { maxAllowListSize: 2 });
|
|
16
|
+
console.log(id); // Outputs the new item id
|
|
17
|
+
console.log(receipt); // Outputs the receipt object
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
// Retrieve a verifiable storage item
|
|
22
|
+
const item = await service.get(id);
|
|
23
|
+
if (item.data) {
|
|
24
|
+
const decoded = new TextDecoder().decode(item.data);
|
|
25
|
+
console.log(decoded); // Service data
|
|
26
|
+
}
|
|
27
|
+
console.log(item.allowList); // Outputs the allow list
|
|
28
|
+
console.log(item.receipt); // Outputs the receipt object
|
|
29
|
+
```
|