@twin.org/entity-storage-connector-synchronised 0.0.2-next.7 → 0.0.2-next.8

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,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Features
7
+
8
+ * eslint migration to flat config ([f033b64](https://github.com/twinfoundation/entity-storage/commit/f033b64984c0e6a8129d929c9dd816dcc1b8dab0))
9
+ * remove unused property ([459e859](https://github.com/twinfoundation/entity-storage/commit/459e859ebfdb8e74d0f063601e6075300e37d7f8))
10
+
11
+
12
+ ### Dependencies
13
+
14
+ * The following workspace dependencies were updated
15
+ * dependencies
16
+ * @twin.org/entity-storage-models bumped from 0.0.2-next.7 to 0.0.2-next.8
17
+ * devDependencies
18
+ * @twin.org/entity-storage-connector-memory bumped from 0.0.2-next.7 to 0.0.2-next.8
19
+
3
20
  ## [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
21
 
5
22
 
@@ -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.8",
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.8",
20
20
  "@twin.org/event-bus-models": "next",
21
21
  "@twin.org/logging-models": "next",
22
22
  "@twin.org/nameof": "next",