@uns-kit/cron 0.0.1 → 0.0.3
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.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/uns-cron-plugin.d.ts +1 -1
- package/dist/uns-cron-plugin.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from "./uns-cron-plugin
|
|
2
|
-
export { UnsCronProxy, type UnsProxyProcessWithCron } from "./uns-cron-plugin
|
|
3
|
-
export { default as UnsCronProxyClass } from "./uns-cron-proxy
|
|
1
|
+
export { default } from "./uns-cron-plugin";
|
|
2
|
+
export { UnsCronProxy, type UnsProxyProcessWithCron } from "./uns-cron-plugin";
|
|
3
|
+
export { default as UnsCronProxyClass } from "./uns-cron-proxy";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from "./uns-cron-plugin
|
|
2
|
-
export { UnsCronProxy } from "./uns-cron-plugin
|
|
3
|
-
export { default as UnsCronProxyClass } from "./uns-cron-proxy
|
|
1
|
+
export { default } from "./uns-cron-plugin";
|
|
2
|
+
export { UnsCronProxy } from "./uns-cron-plugin";
|
|
3
|
+
export { default as UnsCronProxyClass } from "./uns-cron-proxy";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TaskOptions } from "node-cron";
|
|
2
2
|
import UnsProxyProcess, { type UnsProxyProcessPlugin } from "@uns-kit/core/uns/uns-proxy-process";
|
|
3
|
-
import UnsCronProxy from "./uns-cron-proxy
|
|
3
|
+
import UnsCronProxy from "./uns-cron-proxy";
|
|
4
4
|
declare const unsCronPlugin: UnsProxyProcessPlugin;
|
|
5
5
|
export default unsCronPlugin;
|
|
6
6
|
export { UnsCronProxy };
|
package/dist/uns-cron-plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import UnsProxyProcess from "@uns-kit/core/uns/uns-proxy-process";
|
|
2
|
-
import UnsCronProxy from "./uns-cron-proxy
|
|
2
|
+
import UnsCronProxy from "./uns-cron-proxy";
|
|
3
3
|
const cronProxyRegistry = new WeakMap();
|
|
4
4
|
const getCronProxies = (instance) => {
|
|
5
5
|
let proxies = cronProxyRegistry.get(instance);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/cron",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Cron-driven plugin for UnsProxyProcess that emits UNS events on a schedule.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"main": "dist/index.js",
|
|
28
28
|
"types": "dist/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"node-cron": "^4.2.1",
|
|
31
|
+
"@uns-kit/core": "0.0.13"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc -p tsconfig.build.json",
|