@twin.org/verifiable-storage-service 0.0.3-next.7 → 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 +120 -88
- 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,29 +1,61 @@
|
|
|
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)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* **verifiable-storage-service:** Synchronize repo versions
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* The following workspace dependencies were updated
|
|
30
|
+
* dependencies
|
|
31
|
+
* @twin.org/verifiable-storage-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
32
|
+
* devDependencies
|
|
33
|
+
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
34
|
+
|
|
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)
|
|
4
36
|
|
|
5
37
|
|
|
6
38
|
### Features
|
|
7
39
|
|
|
8
|
-
* add context id features ([#40](https://github.com/
|
|
9
|
-
* add support for allowlist ([#17](https://github.com/
|
|
10
|
-
* add validate-locales ([326384f](https://github.com/
|
|
11
|
-
* additional fields in IOTA receipt ([f1ddffa](https://github.com/
|
|
12
|
-
* eslint migration to flat config ([b0a0b85](https://github.com/
|
|
13
|
-
* remove unused namespace ([e95b332](https://github.com/
|
|
14
|
-
* update allow list name case ([278a787](https://github.com/
|
|
15
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
16
|
-
* update dependencies ([a16a772](https://github.com/
|
|
17
|
-
* update framework core ([efa612e](https://github.com/
|
|
18
|
-
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/
|
|
19
|
-
* update schemas ([a44dd16](https://github.com/
|
|
20
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
21
|
-
* 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))
|
|
22
54
|
|
|
23
55
|
|
|
24
56
|
### Bug Fixes
|
|
25
57
|
|
|
26
|
-
* tests ([e30075e](https://github.com/
|
|
58
|
+
* tests ([e30075e](https://github.com/iotaledger/twin-verifiable-storage/commit/e30075e0100a7eb956d4042b01b40fe3bd9ec62a))
|
|
27
59
|
|
|
28
60
|
|
|
29
61
|
### Dependencies
|
|
@@ -34,12 +66,12 @@
|
|
|
34
66
|
* devDependencies
|
|
35
67
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
36
68
|
|
|
37
|
-
## [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)
|
|
38
70
|
|
|
39
71
|
|
|
40
72
|
### Features
|
|
41
73
|
|
|
42
|
-
* update schemas ([a44dd16](https://github.com/
|
|
74
|
+
* update schemas ([a44dd16](https://github.com/iotaledger/twin-verifiable-storage/commit/a44dd164d03b799a38786dae655a42b1a5dcf9cc))
|
|
43
75
|
|
|
44
76
|
|
|
45
77
|
### Dependencies
|
|
@@ -50,17 +82,17 @@
|
|
|
50
82
|
* devDependencies
|
|
51
83
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
52
84
|
|
|
53
|
-
## [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)
|
|
54
86
|
|
|
55
87
|
|
|
56
88
|
### Features
|
|
57
89
|
|
|
58
|
-
* 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))
|
|
59
91
|
|
|
60
92
|
|
|
61
93
|
### Bug Fixes
|
|
62
94
|
|
|
63
|
-
* tests ([e30075e](https://github.com/
|
|
95
|
+
* tests ([e30075e](https://github.com/iotaledger/twin-verifiable-storage/commit/e30075e0100a7eb956d4042b01b40fe3bd9ec62a))
|
|
64
96
|
|
|
65
97
|
|
|
66
98
|
### Dependencies
|
|
@@ -71,7 +103,7 @@
|
|
|
71
103
|
* devDependencies
|
|
72
104
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
73
105
|
|
|
74
|
-
## [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)
|
|
75
107
|
|
|
76
108
|
|
|
77
109
|
### Miscellaneous Chores
|
|
@@ -87,7 +119,7 @@
|
|
|
87
119
|
* devDependencies
|
|
88
120
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
89
121
|
|
|
90
|
-
## [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)
|
|
91
123
|
|
|
92
124
|
|
|
93
125
|
### Miscellaneous Chores
|
|
@@ -103,7 +135,7 @@
|
|
|
103
135
|
* devDependencies
|
|
104
136
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
105
137
|
|
|
106
|
-
## [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)
|
|
107
139
|
|
|
108
140
|
|
|
109
141
|
### Miscellaneous Chores
|
|
@@ -119,23 +151,23 @@
|
|
|
119
151
|
* devDependencies
|
|
120
152
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
121
153
|
|
|
122
|
-
## [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)
|
|
123
155
|
|
|
124
156
|
|
|
125
157
|
### Features
|
|
126
158
|
|
|
127
|
-
* add context id features ([#40](https://github.com/
|
|
128
|
-
* add support for allowlist ([#17](https://github.com/
|
|
129
|
-
* add validate-locales ([326384f](https://github.com/
|
|
130
|
-
* eslint migration to flat config ([b0a0b85](https://github.com/
|
|
131
|
-
* remove unused namespace ([e95b332](https://github.com/
|
|
132
|
-
* update allow list name case ([278a787](https://github.com/
|
|
133
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
134
|
-
* update dependencies ([a16a772](https://github.com/
|
|
135
|
-
* update framework core ([efa612e](https://github.com/
|
|
136
|
-
* update IOTA verifiable storage connector to use the updated move-to-json cli ([#33](https://github.com/
|
|
137
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
138
|
-
* 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))
|
|
139
171
|
|
|
140
172
|
|
|
141
173
|
### Dependencies
|
|
@@ -146,12 +178,12 @@
|
|
|
146
178
|
* devDependencies
|
|
147
179
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
148
180
|
|
|
149
|
-
## [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)
|
|
150
182
|
|
|
151
183
|
|
|
152
184
|
### Features
|
|
153
185
|
|
|
154
|
-
* add validate-locales ([326384f](https://github.com/
|
|
186
|
+
* add validate-locales ([326384f](https://github.com/iotaledger/twin-verifiable-storage/commit/326384fe867604e7cd450460a6a56c6c7bdc8f98))
|
|
155
187
|
|
|
156
188
|
|
|
157
189
|
### Dependencies
|
|
@@ -162,12 +194,12 @@
|
|
|
162
194
|
* devDependencies
|
|
163
195
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
164
196
|
|
|
165
|
-
## [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)
|
|
166
198
|
|
|
167
199
|
|
|
168
200
|
### Features
|
|
169
201
|
|
|
170
|
-
* 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))
|
|
171
203
|
|
|
172
204
|
|
|
173
205
|
### Dependencies
|
|
@@ -178,12 +210,12 @@
|
|
|
178
210
|
* devDependencies
|
|
179
211
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
180
212
|
|
|
181
|
-
## [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)
|
|
182
214
|
|
|
183
215
|
|
|
184
216
|
### Features
|
|
185
217
|
|
|
186
|
-
* update framework core ([efa612e](https://github.com/
|
|
218
|
+
* update framework core ([efa612e](https://github.com/iotaledger/twin-verifiable-storage/commit/efa612e54dbe2d8f223f27ff9e315e08a2fed04b))
|
|
187
219
|
|
|
188
220
|
|
|
189
221
|
### Dependencies
|
|
@@ -194,13 +226,13 @@
|
|
|
194
226
|
* devDependencies
|
|
195
227
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
196
228
|
|
|
197
|
-
## [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)
|
|
198
230
|
|
|
199
231
|
|
|
200
232
|
### Features
|
|
201
233
|
|
|
202
|
-
* remove unused namespace ([e95b332](https://github.com/
|
|
203
|
-
* 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))
|
|
204
236
|
|
|
205
237
|
|
|
206
238
|
### Dependencies
|
|
@@ -211,17 +243,17 @@
|
|
|
211
243
|
* devDependencies
|
|
212
244
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
213
245
|
|
|
214
|
-
## [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)
|
|
215
247
|
|
|
216
248
|
|
|
217
249
|
### Features
|
|
218
250
|
|
|
219
|
-
* add support for allowlist ([#17](https://github.com/
|
|
220
|
-
* update allow list name case ([278a787](https://github.com/
|
|
221
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
222
|
-
* update dependencies ([a16a772](https://github.com/
|
|
223
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
224
|
-
* 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))
|
|
225
257
|
|
|
226
258
|
|
|
227
259
|
### Dependencies
|
|
@@ -232,17 +264,17 @@
|
|
|
232
264
|
* devDependencies
|
|
233
265
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.2-next.0 to 0.0.2-next.2
|
|
234
266
|
|
|
235
|
-
## [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)
|
|
236
268
|
|
|
237
269
|
|
|
238
270
|
### Features
|
|
239
271
|
|
|
240
|
-
* add support for allowlist ([#17](https://github.com/
|
|
241
|
-
* update allow list name case ([278a787](https://github.com/
|
|
242
|
-
* update connector config and tests for gas station ([#25](https://github.com/
|
|
243
|
-
* update dependencies ([a16a772](https://github.com/
|
|
244
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
245
|
-
* 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))
|
|
246
278
|
|
|
247
279
|
|
|
248
280
|
### Dependencies
|
|
@@ -258,7 +290,7 @@
|
|
|
258
290
|
|
|
259
291
|
### Features
|
|
260
292
|
|
|
261
|
-
* release to production ([6ce6744](https://github.com/
|
|
293
|
+
* release to production ([6ce6744](https://github.com/iotaledger/twin-verifiable-storage/commit/6ce6744c124cca586c1ef0552624378d1207578d))
|
|
262
294
|
|
|
263
295
|
|
|
264
296
|
### Dependencies
|
|
@@ -269,12 +301,12 @@
|
|
|
269
301
|
* devDependencies
|
|
270
302
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from ^0.0.0 to ^0.0.1
|
|
271
303
|
|
|
272
|
-
## [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)
|
|
273
305
|
|
|
274
306
|
|
|
275
307
|
### Features
|
|
276
308
|
|
|
277
|
-
* 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))
|
|
278
310
|
|
|
279
311
|
|
|
280
312
|
### Dependencies
|
|
@@ -285,12 +317,12 @@
|
|
|
285
317
|
* devDependencies
|
|
286
318
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.16 to 0.0.1-next.17
|
|
287
319
|
|
|
288
|
-
## [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)
|
|
289
321
|
|
|
290
322
|
|
|
291
323
|
### Features
|
|
292
324
|
|
|
293
|
-
* update dependencies ([a16a772](https://github.com/
|
|
325
|
+
* update dependencies ([a16a772](https://github.com/iotaledger/twin-verifiable-storage/commit/a16a77244cb1d312ea5ee74232bcdadd25f2b330))
|
|
294
326
|
|
|
295
327
|
|
|
296
328
|
### Dependencies
|
|
@@ -301,7 +333,7 @@
|
|
|
301
333
|
* devDependencies
|
|
302
334
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.15 to 0.0.1-next.16
|
|
303
335
|
|
|
304
|
-
## [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)
|
|
305
337
|
|
|
306
338
|
|
|
307
339
|
### Miscellaneous Chores
|
|
@@ -317,15 +349,15 @@
|
|
|
317
349
|
* devDependencies
|
|
318
350
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.14 to 0.0.1-next.15
|
|
319
351
|
|
|
320
|
-
## [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)
|
|
321
353
|
|
|
322
354
|
|
|
323
355
|
### Features
|
|
324
356
|
|
|
325
|
-
* add support for allowlist ([#17](https://github.com/
|
|
326
|
-
* update allow list name case ([278a787](https://github.com/
|
|
327
|
-
* use new dlt packages with latency fix ([#6](https://github.com/
|
|
328
|
-
* 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))
|
|
329
361
|
|
|
330
362
|
|
|
331
363
|
### Dependencies
|
|
@@ -336,7 +368,7 @@
|
|
|
336
368
|
* devDependencies
|
|
337
369
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.13 to 0.0.1-next.14
|
|
338
370
|
|
|
339
|
-
## [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)
|
|
340
372
|
|
|
341
373
|
|
|
342
374
|
### Miscellaneous Chores
|
|
@@ -352,12 +384,12 @@
|
|
|
352
384
|
* devDependencies
|
|
353
385
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.12 to 0.0.1-next.13
|
|
354
386
|
|
|
355
|
-
## [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)
|
|
356
388
|
|
|
357
389
|
|
|
358
390
|
### Features
|
|
359
391
|
|
|
360
|
-
* 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))
|
|
361
393
|
|
|
362
394
|
|
|
363
395
|
### Dependencies
|
|
@@ -368,7 +400,7 @@
|
|
|
368
400
|
* devDependencies
|
|
369
401
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.11 to 0.0.1-next.12
|
|
370
402
|
|
|
371
|
-
## [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)
|
|
372
404
|
|
|
373
405
|
|
|
374
406
|
### Miscellaneous Chores
|
|
@@ -384,12 +416,12 @@
|
|
|
384
416
|
* devDependencies
|
|
385
417
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.10 to 0.0.1-next.11
|
|
386
418
|
|
|
387
|
-
## [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)
|
|
388
420
|
|
|
389
421
|
|
|
390
422
|
### Features
|
|
391
423
|
|
|
392
|
-
* 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))
|
|
393
425
|
|
|
394
426
|
|
|
395
427
|
### Dependencies
|
|
@@ -400,7 +432,7 @@
|
|
|
400
432
|
* devDependencies
|
|
401
433
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.9 to 0.0.1-next.10
|
|
402
434
|
|
|
403
|
-
## [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)
|
|
404
436
|
|
|
405
437
|
|
|
406
438
|
### Miscellaneous Chores
|
|
@@ -416,7 +448,7 @@
|
|
|
416
448
|
* devDependencies
|
|
417
449
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.8 to 0.0.1-next.9
|
|
418
450
|
|
|
419
|
-
## [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)
|
|
420
452
|
|
|
421
453
|
|
|
422
454
|
### Miscellaneous Chores
|
|
@@ -432,7 +464,7 @@
|
|
|
432
464
|
* devDependencies
|
|
433
465
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.7 to 0.0.1-next.8
|
|
434
466
|
|
|
435
|
-
## [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)
|
|
436
468
|
|
|
437
469
|
|
|
438
470
|
### Miscellaneous Chores
|
|
@@ -448,7 +480,7 @@
|
|
|
448
480
|
* devDependencies
|
|
449
481
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.6 to 0.0.1-next.7
|
|
450
482
|
|
|
451
|
-
## [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)
|
|
452
484
|
|
|
453
485
|
|
|
454
486
|
### Miscellaneous Chores
|
|
@@ -464,7 +496,7 @@
|
|
|
464
496
|
* devDependencies
|
|
465
497
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.5 to 0.0.1-next.6
|
|
466
498
|
|
|
467
|
-
## [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)
|
|
468
500
|
|
|
469
501
|
|
|
470
502
|
### Miscellaneous Chores
|
|
@@ -480,12 +512,12 @@
|
|
|
480
512
|
* devDependencies
|
|
481
513
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.4 to 0.0.1-next.5
|
|
482
514
|
|
|
483
|
-
## [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)
|
|
484
516
|
|
|
485
517
|
|
|
486
518
|
### Features
|
|
487
519
|
|
|
488
|
-
* 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))
|
|
489
521
|
|
|
490
522
|
|
|
491
523
|
### Dependencies
|
|
@@ -496,12 +528,12 @@
|
|
|
496
528
|
* devDependencies
|
|
497
529
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.3 to 0.0.1-next.4
|
|
498
530
|
|
|
499
|
-
## [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)
|
|
500
532
|
|
|
501
533
|
|
|
502
534
|
### Features
|
|
503
535
|
|
|
504
|
-
* 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))
|
|
505
537
|
|
|
506
538
|
|
|
507
539
|
### Dependencies
|
|
@@ -512,7 +544,7 @@
|
|
|
512
544
|
* devDependencies
|
|
513
545
|
* @twin.org/verifiable-storage-connector-entity-storage bumped from 0.0.1-next.2 to 0.0.1-next.3
|
|
514
546
|
|
|
515
|
-
## [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)
|
|
516
548
|
|
|
517
549
|
|
|
518
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
|
+
```
|