Compare commits

..

4 Commits

Author SHA1 Message Date
5f5957b0c0 4.0.0 2022-11-21 12:33:26 +01:00
31275536ec BREAKING CHANGE(core): switch to esm 2022-11-21 12:33:25 +01:00
c759d436dd 3.0.48 2022-11-21 11:31:30 +01:00
010c9e7bed fix(core): update 2022-11-21 11:31:29 +01:00
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "@pushrocks/smarttime", "name": "@pushrocks/smarttime",
"private": false, "private": false,
"version": "3.0.47", "version": "4.0.0",
"description": "handle time in smart ways", "description": "handle time in smart ways",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smarttime', name: '@pushrocks/smarttime',
version: '3.0.47', version: '4.0.0',
description: 'handle time in smart ways' description: 'handle time in smart ways'
} }

View File

@ -8,7 +8,7 @@ export type TJobFunction =
| ((triggerTimeArg?: number) => Promise<any>); | ((triggerTimeArg?: number) => Promise<any>);
export class CronJob { export class CronJob {
public cronParser: typeof plugins.croner; public cronParser: plugins.croner;
public status: 'started' | 'stopped' | 'initial' = 'initial'; public status: 'started' | 'stopped' | 'initial' = 'initial';
public cronExpression: string; public cronExpression: string;
public jobFunction: TJobFunction; public jobFunction: TJobFunction;