owservable 1.0.94 → 1.0.95

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.
@@ -1,7 +1,7 @@
1
1
  type CronJobType = {
2
2
  schedule: string;
3
3
  init?: () => Promise<void>;
4
- job: () => Promise<void>;
4
+ job: () => void | Promise<void>;
5
5
  options?: any;
6
6
  };
7
7
  export default CronJobType;
@@ -1,6 +1,6 @@
1
1
  type WatcherType = {
2
2
  init?: () => Promise<void>;
3
- watch: () => Promise<void>;
3
+ watch: () => void | Promise<void>;
4
4
  waitForInit?: boolean;
5
5
  };
6
6
  export default WatcherType;
@@ -1,5 +1,5 @@
1
1
  type WorkerType = {
2
2
  init?: () => Promise<void>;
3
- work: () => Promise<void>;
3
+ work: () => void | Promise<void>;
4
4
  };
5
5
  export default WorkerType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owservable",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "owservable backend",
5
5
  "engines": {
6
6
  "node": ">=20"