@twin.org/entity-storage-connector-synchronised 0.0.2-next.7 → 0.0.2-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.
@@ -88,10 +88,9 @@ class SynchronisedEntityStorageConnector {
88
88
  * The component needs to be started when the node is initialized.
89
89
  * @param nodeIdentity The identity of the node starting the component.
90
90
  * @param nodeLoggingComponentType The node logging component type.
91
- * @param componentState A persistent state which can be modified by the method.
92
91
  * @returns Nothing.
93
92
  */
94
- async start(nodeIdentity, nodeLoggingComponentType, componentState) {
93
+ async start(nodeIdentity, nodeLoggingComponentType) {
95
94
  this._nodeIdentity = nodeIdentity;
96
95
  // Tell the synchronised storage about this storage key
97
96
  await this._eventBusComponent.publish(synchronisedStorageModels.SynchronisedStorageTopics.RegisterStorageKey, {
@@ -86,10 +86,9 @@ class SynchronisedEntityStorageConnector {
86
86
  * The component needs to be started when the node is initialized.
87
87
  * @param nodeIdentity The identity of the node starting the component.
88
88
  * @param nodeLoggingComponentType The node logging component type.
89
- * @param componentState A persistent state which can be modified by the method.
90
89
  * @returns Nothing.
91
90
  */
92
- async start(nodeIdentity, nodeLoggingComponentType, componentState) {
91
+ async start(nodeIdentity, nodeLoggingComponentType) {
93
92
  this._nodeIdentity = nodeIdentity;
94
93
  // Tell the synchronised storage about this storage key
95
94
  await this._eventBusComponent.publish(SynchronisedStorageTopics.RegisterStorageKey, {
@@ -24,12 +24,9 @@ export declare class SynchronisedEntityStorageConnector<T extends ISynchronisedE
24
24
  * The component needs to be started when the node is initialized.
25
25
  * @param nodeIdentity The identity of the node starting the component.
26
26
  * @param nodeLoggingComponentType The node logging component type.
27
- * @param componentState A persistent state which can be modified by the method.
28
27
  * @returns Nothing.
29
28
  */
30
- start(nodeIdentity: string, nodeLoggingComponentType: string | undefined, componentState?: {
31
- [id: string]: unknown;
32
- }): Promise<void>;
29
+ start(nodeIdentity: string, nodeLoggingComponentType: string | undefined): Promise<void>;
33
30
  /**
34
31
  * Get an entity.
35
32
  * @param id The id of the entity to get, or the index value if secondaryIndex is set.
package/docs/changelog.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.2-next.9](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-synchronised-v0.0.2-next.8...entity-storage-connector-synchronised-v0.0.2-next.9) (2025-10-02)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **entity-storage-connector-synchronised:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.8 to 0.0.2-next.9
16
+ * devDependencies
17
+ * @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.8 to 0.0.2-next.9
18
+
19
+ ## [0.0.2-next.8](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-synchronised-v0.0.2-next.7...entity-storage-connector-synchronised-v0.0.2-next.8) (2025-08-29)
20
+
21
+
22
+ ### Features
23
+
24
+ * eslint migration to flat config ([f033b64](https://github.com/twinfoundation/entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
25
+ * remove unused property ([459e859](https://github.com/twinfoundation/entity-storage/commit/459e859ebfdb8e74d0f063601e6075300e37d7f8))
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * The following workspace dependencies were updated
31
+ * dependencies
32
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.7 to 0.0.2-next.8
33
+ * devDependencies
34
+ * @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.7 to 0.0.2-next.8
35
+
3
36
  ## [0.0.2-next.7](https://github.com/twinfoundation/entity-storage/compare/entity-storage-connector-synchronised-v0.0.2-next.6...entity-storage-connector-synchronised-v0.0.2-next.7) (2025-08-20)
4
37
 
5
38
 
@@ -66,7 +66,7 @@ The schema for the entities.
66
66
 
67
67
  ### start()
68
68
 
69
- > **start**(`nodeIdentity`, `nodeLoggingComponentType`, `componentState?`): `Promise`\<`void`\>
69
+ > **start**(`nodeIdentity`, `nodeLoggingComponentType`): `Promise`\<`void`\>
70
70
 
71
71
  The component needs to be started when the node is initialized.
72
72
 
@@ -84,10 +84,6 @@ The node logging component type.
84
84
 
85
85
  `undefined` | `string`
86
86
 
87
- ##### componentState?
88
-
89
- A persistent state which can be modified by the method.
90
-
91
87
  #### Returns
92
88
 
93
89
  `Promise`\<`void`\>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/entity-storage-connector-synchronised",
3
- "version": "0.0.2-next.7",
3
+ "version": "0.0.2-next.9",
4
4
  "description": "Entity Storage connector implementation using synchronised storage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/entity": "next",
19
- "@twin.org/entity-storage-models": "0.0.2-next.7",
19
+ "@twin.org/entity-storage-models": "0.0.2-next.9",
20
20
  "@twin.org/event-bus-models": "next",
21
21
  "@twin.org/logging-models": "next",
22
22
  "@twin.org/nameof": "next",
@@ -39,5 +39,20 @@
39
39
  "dist/types",
40
40
  "locales",
41
41
  "docs"
42
+ ],
43
+ "keywords": [
44
+ "twin",
45
+ "trade",
46
+ "iota",
47
+ "framework",
48
+ "blockchain",
49
+ "entity-storage",
50
+ "entity",
51
+ "storage",
52
+ "persistence",
53
+ "database",
54
+ "connector",
55
+ "adapter",
56
+ "integration"
42
57
  ]
43
58
  }