@twin.org/background-task-scheduler 0.0.2-next.5 → 0.0.2-next.7

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.
@@ -43,10 +43,9 @@ class TaskSchedulerService {
43
43
  * The component needs to be stopped when the node is closed.
44
44
  * @param nodeIdentity The identity of the node stopping the component.
45
45
  * @param nodeLoggingComponentType The node logging component type.
46
- * @param componentState A persistent state which can be modified by the method.
47
46
  * @returns Nothing.
48
47
  */
49
- async stop(nodeIdentity, nodeLoggingComponentType, componentState) {
48
+ async stop(nodeIdentity, nodeLoggingComponentType) {
50
49
  this.stopTimer();
51
50
  }
52
51
  /**
@@ -41,10 +41,9 @@ class TaskSchedulerService {
41
41
  * The component needs to be stopped when the node is closed.
42
42
  * @param nodeIdentity The identity of the node stopping the component.
43
43
  * @param nodeLoggingComponentType The node logging component type.
44
- * @param componentState A persistent state which can be modified by the method.
45
44
  * @returns Nothing.
46
45
  */
47
- async stop(nodeIdentity, nodeLoggingComponentType, componentState) {
46
+ async stop(nodeIdentity, nodeLoggingComponentType) {
48
47
  this.stopTimer();
49
48
  }
50
49
  /**
@@ -17,12 +17,9 @@ export declare class TaskSchedulerService implements ITaskSchedulerComponent {
17
17
  * The component needs to be stopped when the node is closed.
18
18
  * @param nodeIdentity The identity of the node stopping the component.
19
19
  * @param nodeLoggingComponentType The node logging component type.
20
- * @param componentState A persistent state which can be modified by the method.
21
20
  * @returns Nothing.
22
21
  */
23
- stop(nodeIdentity: string, nodeLoggingComponentType: string | undefined, componentState?: {
24
- [id: string]: unknown;
25
- }): Promise<void>;
22
+ stop(nodeIdentity: string, nodeLoggingComponentType: string | undefined): Promise<void>;
26
23
  /**
27
24
  * Add a task to the scheduler.
28
25
  * @param taskId The id of the task to add.
package/docs/changelog.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.2-next.7](https://github.com/twinfoundation/background-task/compare/background-task-scheduler-v0.0.2-next.6...background-task-scheduler-v0.0.2-next.7) (2025-08-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * eslint migration to flat config ([6c9136c](https://github.com/twinfoundation/background-task/commit/6c9136c37bccdbbd109892d1503660aab7080d49))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/background-task-models bumped from 0.0.2-next.6 to 0.0.2-next.7
16
+
17
+ ## [0.0.2-next.6](https://github.com/twinfoundation/background-task/compare/background-task-scheduler-v0.0.2-next.5...background-task-scheduler-v0.0.2-next.6) (2025-08-22)
18
+
19
+
20
+ ### Features
21
+
22
+ * remove unused parameters ([1028b3c](https://github.com/twinfoundation/background-task/commit/1028b3cc147c25da22a8ba8d7207acfb34f89cdb))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * dependencies
29
+ * @twin.org/background-task-models bumped from 0.0.2-next.5 to 0.0.2-next.6
30
+
3
31
  ## [0.0.2-next.5](https://github.com/twinfoundation/background-task/compare/background-task-scheduler-v0.0.2-next.4...background-task-scheduler-v0.0.2-next.5) (2025-08-20)
4
32
 
5
33
 
@@ -42,7 +42,7 @@ Runtime name for the class.
42
42
 
43
43
  ### stop()
44
44
 
45
- > **stop**(`nodeIdentity`, `nodeLoggingComponentType`, `componentState?`): `Promise`\<`void`\>
45
+ > **stop**(`nodeIdentity`, `nodeLoggingComponentType`): `Promise`\<`void`\>
46
46
 
47
47
  The component needs to be stopped when the node is closed.
48
48
 
@@ -60,10 +60,6 @@ The node logging component type.
60
60
 
61
61
  `undefined` | `string`
62
62
 
63
- ##### componentState?
64
-
65
- A persistent state which can be modified by the method.
66
-
67
63
  #### Returns
68
64
 
69
65
  `Promise`\<`void`\>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/background-task-scheduler",
3
- "version": "0.0.2-next.5",
3
+ "version": "0.0.2-next.7",
4
4
  "description": "Background task scheduler",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/background-task-models": "0.0.2-next.5",
17
+ "@twin.org/background-task-models": "0.0.2-next.7",
18
18
  "@twin.org/core": "next",
19
19
  "@twin.org/logging-models": "next",
20
20
  "@twin.org/nameof": "next"