@twin.org/verifiable-storage-models 0.0.1-next.2 → 0.0.1-next.4

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/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/verifiable-storage-models - Changelog
2
2
 
3
+ ## [0.0.1-next.4](https://github.com/twinfoundation/verifiable-storage/compare/verifiable-storage-models-v0.0.1-next.3...verifiable-storage-models-v0.0.1-next.4) (2025-04-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * use shared store mechanism ([#8](https://github.com/twinfoundation/verifiable-storage/issues/8)) ([8c8ecb8](https://github.com/twinfoundation/verifiable-storage/commit/8c8ecb83d32431952c594ea23d37040991f5b4d3))
9
+
10
+ ## [0.0.1-next.3](https://github.com/twinfoundation/verifiable-storage/compare/verifiable-storage-models-v0.0.1-next.2...verifiable-storage-models-v0.0.1-next.3) (2025-04-17)
11
+
12
+
13
+ ### Features
14
+
15
+ * use new dlt packages with latency fix ([#6](https://github.com/twinfoundation/verifiable-storage/issues/6)) ([d81c45b](https://github.com/twinfoundation/verifiable-storage/commit/d81c45bce035864a41bbd498815169d7257fbcb8))
16
+
3
17
  ## [0.0.1-next.2](https://github.com/twinfoundation/verifiable-storage/compare/verifiable-storage-models-v0.0.1-next.1...verifiable-storage-models-v0.0.1-next.2) (2025-03-28)
4
18
 
5
19
 
@@ -10,7 +10,7 @@ Interface describing a Verifiable Storage component.
10
10
 
11
11
  ### create()
12
12
 
13
- > **create**(`data`, `identity`?, `namespace`?): `Promise`\<\{ `id`: `string`; `receipt`: `IJsonLdNodeObject`; \}\>
13
+ > **create**(`data`, `identity?`, `namespace?`): `Promise`\<\{ `id`: `string`; `receipt`: `IJsonLdNodeObject`; \}\>
14
14
 
15
15
  Create an item in verifiable storage.
16
16
 
@@ -44,7 +44,7 @@ The id of the stored verifiable item in urn format and the receipt.
44
44
 
45
45
  ### update()
46
46
 
47
- > **update**(`id`, `data`, `identity`?): `Promise`\<`IJsonLdNodeObject`\>
47
+ > **update**(`id`, `data`, `identity?`): `Promise`\<`IJsonLdNodeObject`\>
48
48
 
49
49
  Update an item in verifiable storage.
50
50
 
@@ -78,7 +78,7 @@ The updated receipt.
78
78
 
79
79
  ### get()
80
80
 
81
- > **get**(`id`, `options`?): `Promise`\<\{ `data`: `Uint8Array`\<`ArrayBufferLike`\>; `receipt`: `IJsonLdNodeObject`; \}\>
81
+ > **get**(`id`, `options?`): `Promise`\<\{ `data`: `Uint8Array`\<`ArrayBufferLike`\>; `receipt`: `IJsonLdNodeObject`; \}\>
82
82
 
83
83
  Get an verifiable item.
84
84
 
@@ -110,7 +110,7 @@ The data for the item and the receipt.
110
110
 
111
111
  ### remove()
112
112
 
113
- > **remove**(`id`, `controllerIdentity`?): `Promise`\<`void`\>
113
+ > **remove**(`id`, `controllerIdentity?`): `Promise`\<`void`\>
114
114
 
115
115
  Remove the item from verifiable storage.
116
116
 
@@ -72,7 +72,7 @@ The updated receipt.
72
72
 
73
73
  ### get()
74
74
 
75
- > **get**(`id`, `options`?): `Promise`\<\{ `data`: `Uint8Array`\<`ArrayBufferLike`\>; `receipt`: `IJsonLdNodeObject`; \}\>
75
+ > **get**(`id`, `options?`): `Promise`\<\{ `data`: `Uint8Array`\<`ArrayBufferLike`\>; `receipt`: `IJsonLdNodeObject`; \}\>
76
76
 
77
77
  Get an verifiable item.
78
78
 
@@ -1,5 +1,5 @@
1
1
  # Type Alias: VerifiableStorageContexts
2
2
 
3
- > **VerifiableStorageContexts**: *typeof* [`VerifiableStorageContexts`](../variables/VerifiableStorageContexts.md)\[keyof *typeof* [`VerifiableStorageContexts`](../variables/VerifiableStorageContexts.md)\]
3
+ > **VerifiableStorageContexts** = *typeof* [`VerifiableStorageContexts`](../variables/VerifiableStorageContexts.md)\[keyof *typeof* [`VerifiableStorageContexts`](../variables/VerifiableStorageContexts.md)\]
4
4
 
5
5
  The contexts of verifiable storage data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/verifiable-storage-models",
3
- "version": "0.0.1-next.2",
3
+ "version": "0.0.1-next.4",
4
4
  "description": "Contains models and classes for use with verifiable storage",
5
5
  "repository": {
6
6
  "type": "git",