@kingsworld/plugin-cron 5.0.0-next.45848ab → 5.0.0-next.607e203
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/cjs/CronTaskHandler-fVZWiMAa.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/lib/CronTaskHandler.d.cts +1 -1
- package/dist/esm/CronTaskHandler-DL6DRegu.mjs.map +1 -1
- package/dist/esm/{CronTaskHandler-CeMP2qgY.d.mts → CronTaskHandler-kTcROO_P.d.mts} +2 -2
- package/dist/esm/{CronTaskHandler-CeMP2qgY.d.mts.map → CronTaskHandler-kTcROO_P.d.mts.map} +1 -1
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/lib/CronTaskHandler.d.mts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CronTaskHandler-fVZWiMAa.cjs","names":[],"sources":["../../src/lib/CronTaskHandler.ts"],"sourcesContent":["import type Sentry from '@sentry/node';\nimport type { CronTaskHandlerOptions } from './types/CronTaskTypes';\n\nexport class CronTaskHandler {\n\t/**\n\t * The default IANA/TZ timezone to use for all cron jobs.\n\t * You can override this per task, using the timezone option.\n\t *\n\t * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\t */\n\tpublic defaultTimezone?: CronTaskHandlerOptions['defaultTimezone'];\n\n\t/**\n\t * The ability to opt-out of instrumenting cron jobs with Sentry.\n\t * If you don't use Sentry, you can ignore this option.\n\t *\n\t * @see https://docs.sentry.io/product/crons/\n\t * @defaultValue false\n\t */\n\tpublic disableSentry: boolean;\n\n\t/**\n\t * The Sentry instance to use for instrumenting cron jobs.\n\t * This is only available when [`@sentry/node`](https://www.npmjs.com/package/\\@sentry/node)\n\t * is installed and the `disableSentry` option is set to false.\n\t */\n\tpublic sentry?: typeof Sentry;\n\n\tpublic constructor(options?: Partial<CronTaskHandlerOptions>) {\n\t\tthis.defaultTimezone = options?.defaultTimezone;\n\t\tthis.disableSentry = options?.disableSentry ?? false;\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAa,kBAAb,MAA6B;CAyBrB,YAAY,SAA2C;wBAlBvD;wBASA;wBAOA;EAGN,KAAK,kBAAkB,SAAS;EAChC,KAAK,gBAAgB,SAAS,iBAAiB;CAChD;AACD"}
|
|
1
|
+
{"version":3,"file":"CronTaskHandler-fVZWiMAa.cjs","names":[],"sources":["../../src/lib/CronTaskHandler.ts"],"sourcesContent":["import type Sentry from '@sentry/node';\nimport type { CronTaskHandlerOptions } from './types/CronTaskTypes';\n\nexport class CronTaskHandler {\n\t/**\n\t * The default IANA/TZ timezone to use for all cron jobs.\n\t * You can override this per task, using the timezone option.\n\t *\n\t * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\t */\n\tpublic defaultTimezone?: CronTaskHandlerOptions['defaultTimezone'];\n\n\t/**\n\t * The ability to opt-out of instrumenting cron jobs with Sentry.\n\t * If you don't use Sentry, you can ignore this option.\n\t *\n\t * @see https://docs.sentry.io/product/crons/\n\t * @defaultValue false\n\t */\n\tpublic disableSentry: boolean;\n\n\t/**\n\t * The Sentry instance to use for instrumenting cron jobs.\n\t * This is only available when [`@sentry/node`](https://www.npmjs.com/package/\\@sentry/node)\n\t * is installed and the {@link CronTaskHandler.disableSentry | `disableSentry`} option is set to false.\n\t */\n\tpublic sentry?: typeof Sentry;\n\n\tpublic constructor(options?: Partial<CronTaskHandlerOptions>) {\n\t\tthis.defaultTimezone = options?.defaultTimezone;\n\t\tthis.disableSentry = options?.disableSentry ?? false;\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAa,kBAAb,MAA6B;CAyBrB,YAAY,SAA2C;wBAlBvD;wBASA;wBAOA;EAGN,KAAK,kBAAkB,SAAS;EAChC,KAAK,gBAAgB,SAAS,iBAAiB;CAChD;AACD"}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@ const require_lib_structures_CronTaskStore = require("./lib/structures/CronTaskS
|
|
|
12
12
|
*
|
|
13
13
|
* Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild
|
|
14
14
|
*/
|
|
15
|
-
const version = "5.0.0-next.
|
|
15
|
+
const version = "5.0.0-next.607e203";
|
|
16
16
|
|
|
17
17
|
exports.CronTask = require_lib_structures_CronTask.CronTask;
|
|
18
18
|
exports.CronTaskHandler = require_CronTaskHandler.CronTaskHandler;
|
|
@@ -20,7 +20,7 @@ export declare class CronTaskHandler {
|
|
|
20
20
|
/**
|
|
21
21
|
* The Sentry instance to use for instrumenting cron jobs.
|
|
22
22
|
* This is only available when [`@sentry/node`](https://www.npmjs.com/package/\@sentry/node)
|
|
23
|
-
* is installed and the `disableSentry` option is set to false.
|
|
23
|
+
* is installed and the {@link CronTaskHandler.disableSentry | `disableSentry`} option is set to false.
|
|
24
24
|
*/
|
|
25
25
|
sentry?: typeof Sentry;
|
|
26
26
|
constructor(options?: Partial<CronTaskHandlerOptions>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CronTaskHandler-DL6DRegu.mjs","names":[],"sources":["../../src/lib/CronTaskHandler.ts"],"sourcesContent":["import type Sentry from '@sentry/node';\nimport type { CronTaskHandlerOptions } from './types/CronTaskTypes';\n\nexport class CronTaskHandler {\n\t/**\n\t * The default IANA/TZ timezone to use for all cron jobs.\n\t * You can override this per task, using the timezone option.\n\t *\n\t * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\t */\n\tpublic defaultTimezone?: CronTaskHandlerOptions['defaultTimezone'];\n\n\t/**\n\t * The ability to opt-out of instrumenting cron jobs with Sentry.\n\t * If you don't use Sentry, you can ignore this option.\n\t *\n\t * @see https://docs.sentry.io/product/crons/\n\t * @defaultValue false\n\t */\n\tpublic disableSentry: boolean;\n\n\t/**\n\t * The Sentry instance to use for instrumenting cron jobs.\n\t * This is only available when [`@sentry/node`](https://www.npmjs.com/package/\\@sentry/node)\n\t * is installed and the `disableSentry` option is set to false.\n\t */\n\tpublic sentry?: typeof Sentry;\n\n\tpublic constructor(options?: Partial<CronTaskHandlerOptions>) {\n\t\tthis.defaultTimezone = options?.defaultTimezone;\n\t\tthis.disableSentry = options?.disableSentry ?? false;\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAa,kBAAb,MAA6B;CAyBrB,YAAY,SAA2C;wBAlBvD;wBASA;wBAOA;EAGN,KAAK,kBAAkB,SAAS;EAChC,KAAK,gBAAgB,SAAS,iBAAiB;CAChD;AACD"}
|
|
1
|
+
{"version":3,"file":"CronTaskHandler-DL6DRegu.mjs","names":[],"sources":["../../src/lib/CronTaskHandler.ts"],"sourcesContent":["import type Sentry from '@sentry/node';\nimport type { CronTaskHandlerOptions } from './types/CronTaskTypes';\n\nexport class CronTaskHandler {\n\t/**\n\t * The default IANA/TZ timezone to use for all cron jobs.\n\t * You can override this per task, using the timezone option.\n\t *\n\t * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\t */\n\tpublic defaultTimezone?: CronTaskHandlerOptions['defaultTimezone'];\n\n\t/**\n\t * The ability to opt-out of instrumenting cron jobs with Sentry.\n\t * If you don't use Sentry, you can ignore this option.\n\t *\n\t * @see https://docs.sentry.io/product/crons/\n\t * @defaultValue false\n\t */\n\tpublic disableSentry: boolean;\n\n\t/**\n\t * The Sentry instance to use for instrumenting cron jobs.\n\t * This is only available when [`@sentry/node`](https://www.npmjs.com/package/\\@sentry/node)\n\t * is installed and the {@link CronTaskHandler.disableSentry | `disableSentry`} option is set to false.\n\t */\n\tpublic sentry?: typeof Sentry;\n\n\tpublic constructor(options?: Partial<CronTaskHandlerOptions>) {\n\t\tthis.defaultTimezone = options?.defaultTimezone;\n\t\tthis.disableSentry = options?.disableSentry ?? false;\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAa,kBAAb,MAA6B;CAyBrB,YAAY,SAA2C;wBAlBvD;wBASA;wBAOA;EAGN,KAAK,kBAAkB,SAAS;EAChC,KAAK,gBAAgB,SAAS,iBAAiB;CAChD;AACD"}
|
|
@@ -19,10 +19,10 @@ declare class CronTaskHandler {
|
|
|
19
19
|
/**
|
|
20
20
|
* The Sentry instance to use for instrumenting cron jobs.
|
|
21
21
|
* This is only available when [`@sentry/node`](https://www.npmjs.com/package/\@sentry/node)
|
|
22
|
-
* is installed and the `disableSentry` option is set to false.
|
|
22
|
+
* is installed and the {@link CronTaskHandler.disableSentry | `disableSentry`} option is set to false.
|
|
23
23
|
*/
|
|
24
24
|
sentry?: typeof Sentry;
|
|
25
25
|
constructor(options?: Partial<CronTaskHandlerOptions>);
|
|
26
26
|
}
|
|
27
27
|
export { CronTaskHandler as t };
|
|
28
|
-
//# sourceMappingURL=CronTaskHandler-
|
|
28
|
+
//# sourceMappingURL=CronTaskHandler-kTcROO_P.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CronTaskHandler-
|
|
1
|
+
{"version":3,"file":"CronTaskHandler-kTcROO_P.d.mts","names":[],"sources":["../../src/lib/CronTaskHandler.ts"],"mappings":";;cAGa;;;;;;;EAOL,kBAAkB;;;;;;;;EASlB;;;;;;EAOA,gBAAgB;EAEJ,YAAA,UAAU,QAAQ"}
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CronTaskStore } from "./CronTaskStore-Cxdru_tz.mjs";
|
|
2
|
-
import { t as CronTaskHandler } from "./CronTaskHandler-
|
|
2
|
+
import { t as CronTaskHandler } from "./CronTaskHandler-kTcROO_P.mjs";
|
|
3
3
|
import { n as CronTaskHandlerOptions, t as CronJobOptions } from "./CronTaskTypes-BRnD-V2d.mjs";
|
|
4
4
|
import { t as CronTask } from "./CronTask-yw_82mkr.mjs";
|
|
5
5
|
declare module '@sapphire/pieces' {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { CronTaskStore } from "./lib/structures/CronTaskStore.mjs";
|
|
|
9
9
|
*
|
|
10
10
|
* Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild
|
|
11
11
|
*/
|
|
12
|
-
const version = "5.0.0-next.
|
|
12
|
+
const version = "5.0.0-next.607e203";
|
|
13
13
|
|
|
14
14
|
export { CronTask, CronTaskHandler, CronTaskStore, version };
|
|
15
15
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CronTaskHandler } from "../CronTaskHandler-
|
|
1
|
+
import { t as CronTaskHandler } from "../CronTaskHandler-kTcROO_P.mjs";
|
|
2
2
|
export { CronTaskHandler };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kingsworld/plugin-cron",
|
|
3
3
|
"description": "A simple @sapphire/framework plugin that aims to make use of the croner package and allow users to make cron jobs within their Sapphire discord bot.",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.607e203",
|
|
5
5
|
"author": "Seren_Modz 21 <seren@kings-world.net>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/cjs/index.cjs",
|