@uns-kit/cron 0.0.17 → 0.0.19

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,5 +1,5 @@
1
1
  import type { TaskOptions } from "node-cron";
2
- import UnsProxyProcess, { type UnsProxyProcessPlugin } from "@uns-kit/core/uns/uns-proxy-process";
2
+ import UnsProxyProcess, { type UnsProxyProcessPlugin } from "@uns-kit/core/uns/uns-proxy-process.js";
3
3
  import UnsCronProxy from "./uns-cron-proxy.js";
4
4
  declare const unsCronPlugin: UnsProxyProcessPlugin;
5
5
  export default unsCronPlugin;
@@ -1,4 +1,4 @@
1
- import UnsProxyProcess from "@uns-kit/core/uns/uns-proxy-process";
1
+ import UnsProxyProcess from "@uns-kit/core/uns/uns-proxy-process.js";
2
2
  import UnsCronProxy from "./uns-cron-proxy.js";
3
3
  const cronProxyRegistry = new WeakMap();
4
4
  const getCronProxies = (instance) => {
@@ -1,5 +1,5 @@
1
1
  import { TaskOptions } from "node-cron";
2
- import UnsProxy from "@uns-kit/core/uns/uns-proxy";
2
+ import UnsProxy from "@uns-kit/core/uns/uns-proxy.js";
3
3
  export default class UnsCronProxy extends UnsProxy {
4
4
  private readonly cronExpression;
5
5
  private readonly task;
@@ -1,5 +1,5 @@
1
1
  import cron from "node-cron";
2
- import UnsProxy from "@uns-kit/core/uns/uns-proxy";
2
+ import UnsProxy from "@uns-kit/core/uns/uns-proxy.js";
3
3
  export default class UnsCronProxy extends UnsProxy {
4
4
  cronExpression;
5
5
  task;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uns-kit/cron",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "Cron-driven plugin for UnsProxyProcess that emits UNS events on a schedule.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "types": "dist/index.d.ts",
33
33
  "dependencies": {
34
34
  "node-cron": "^4.2.1",
35
- "@uns-kit/core": "0.0.35"
35
+ "@uns-kit/core": "0.0.37"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsc -p tsconfig.build.json",