@sentry/junior-scheduler 0.63.0 → 0.64.0
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.js +4 -4
- package/dist/plugin.d.ts +1 -1
- package/package.json +3 -4
- package/src/plugin.ts +4 -4
- package/plugin.yaml +0 -2
package/dist/index.js
CHANGED
|
@@ -1482,11 +1482,11 @@ async function failClaimedRun(args) {
|
|
|
1482
1482
|
}
|
|
1483
1483
|
function createSchedulerPlugin() {
|
|
1484
1484
|
return defineJuniorPlugin({
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
packages: ["@sentry/junior-scheduler"]
|
|
1485
|
+
manifest: {
|
|
1486
|
+
name: "scheduler",
|
|
1487
|
+
description: "Scheduled Junior task management and heartbeat dispatch"
|
|
1489
1488
|
},
|
|
1489
|
+
legacyStatePrefixes: ["junior:scheduler"],
|
|
1490
1490
|
hooks: {
|
|
1491
1491
|
tools(ctx) {
|
|
1492
1492
|
if (!ctx.channelId || !ctx.teamId || !ctx.requester?.userId) {
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Create Junior's built-in trusted scheduler plugin. */
|
|
2
|
-
export declare function createSchedulerPlugin(): import("@sentry/junior-plugin-api").
|
|
2
|
+
export declare function createSchedulerPlugin(): import("@sentry/junior-plugin-api").JuniorPluginRegistration;
|
|
3
3
|
/** Register trusted scheduler runtime hooks for scheduled Junior tasks. */
|
|
4
4
|
export declare const schedulerPlugin: typeof createSchedulerPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-scheduler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,12 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist",
|
|
22
|
-
"src"
|
|
23
|
-
"plugin.yaml"
|
|
22
|
+
"src"
|
|
24
23
|
],
|
|
25
24
|
"dependencies": {
|
|
26
25
|
"@sinclair/typebox": "^0.34.49",
|
|
27
|
-
"@sentry/junior-plugin-api": "0.
|
|
26
|
+
"@sentry/junior-plugin-api": "0.64.0"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
29
|
"@types/node": "^25.9.1",
|
package/src/plugin.ts
CHANGED
|
@@ -169,11 +169,11 @@ async function failClaimedRun(args: {
|
|
|
169
169
|
/** Create Junior's built-in trusted scheduler plugin. */
|
|
170
170
|
export function createSchedulerPlugin() {
|
|
171
171
|
return defineJuniorPlugin({
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
packages: ["@sentry/junior-scheduler"],
|
|
172
|
+
manifest: {
|
|
173
|
+
name: "scheduler",
|
|
174
|
+
description: "Scheduled Junior task management and heartbeat dispatch",
|
|
176
175
|
},
|
|
176
|
+
legacyStatePrefixes: ["junior:scheduler"],
|
|
177
177
|
hooks: {
|
|
178
178
|
tools(ctx) {
|
|
179
179
|
if (!ctx.channelId || !ctx.teamId || !ctx.requester?.userId) {
|
package/plugin.yaml
DELETED