@sentry/junior-vercel 0.227.0 → 0.228.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.
|
@@ -298,7 +298,7 @@ function createVercelWebhookRoute(args) {
|
|
|
298
298
|
}
|
|
299
299
|
const events = normalizeVercelEvents({ body });
|
|
300
300
|
for (const event of events) {
|
|
301
|
-
await args.events.publish(event);
|
|
301
|
+
await args.events.publish({ ...event, objectType: "deployment" });
|
|
302
302
|
}
|
|
303
303
|
return new Response(events.length ? "Accepted" : "Ignored", {
|
|
304
304
|
status: 202
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createVercelDeploymentTool,
|
|
5
5
|
createVercelWebhookRoute,
|
|
6
6
|
vercelWebhookSecret
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y32K3C3X.js";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
import {
|
|
@@ -67,7 +67,7 @@ function deploymentResult(data) {
|
|
|
67
67
|
objectAnnotations: [
|
|
68
68
|
{
|
|
69
69
|
kind: "object",
|
|
70
|
-
objectType: "
|
|
70
|
+
objectType: "deployment",
|
|
71
71
|
displayType: "Deployment",
|
|
72
72
|
key: value.id,
|
|
73
73
|
label: value.id,
|
package/dist/testing.js
CHANGED
package/dist/tools/actions.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
21
21
|
kind: "object";
|
|
22
22
|
key: string;
|
|
23
23
|
label: string;
|
|
24
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
24
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
25
25
|
title: string;
|
|
26
26
|
url: string | null;
|
|
27
27
|
description?: string | undefined;
|
|
@@ -81,7 +81,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
81
81
|
kind: "object";
|
|
82
82
|
key: string;
|
|
83
83
|
label: string;
|
|
84
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
84
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
85
85
|
title: string;
|
|
86
86
|
url: string | null;
|
|
87
87
|
description?: string | undefined;
|
|
@@ -145,7 +145,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
145
145
|
kind: "object";
|
|
146
146
|
key: string;
|
|
147
147
|
label: string;
|
|
148
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
148
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
149
149
|
title: string;
|
|
150
150
|
url: string | null;
|
|
151
151
|
description?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
205
205
|
kind: "object";
|
|
206
206
|
key: string;
|
|
207
207
|
label: string;
|
|
208
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
208
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
209
209
|
title: string;
|
|
210
210
|
url: string | null;
|
|
211
211
|
description?: string | undefined;
|
|
@@ -267,7 +267,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
267
267
|
kind: "object";
|
|
268
268
|
key: string;
|
|
269
269
|
label: string;
|
|
270
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
270
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
271
271
|
title: string;
|
|
272
272
|
url: string | null;
|
|
273
273
|
description?: string | undefined;
|
|
@@ -324,7 +324,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
324
324
|
kind: "object";
|
|
325
325
|
key: string;
|
|
326
326
|
label: string;
|
|
327
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
327
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
328
328
|
title: string;
|
|
329
329
|
url: string | null;
|
|
330
330
|
description?: string | undefined;
|
|
@@ -384,7 +384,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
384
384
|
kind: "object";
|
|
385
385
|
key: string;
|
|
386
386
|
label: string;
|
|
387
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
387
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
388
388
|
title: string;
|
|
389
389
|
url: string | null;
|
|
390
390
|
description?: string | undefined;
|
|
@@ -440,7 +440,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
440
440
|
kind: "object";
|
|
441
441
|
key: string;
|
|
442
442
|
label: string;
|
|
443
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
443
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
444
444
|
title: string;
|
|
445
445
|
url: string | null;
|
|
446
446
|
description?: string | undefined;
|
|
@@ -499,7 +499,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
499
499
|
kind: "object";
|
|
500
500
|
key: string;
|
|
501
501
|
label: string;
|
|
502
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
502
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
503
503
|
title: string;
|
|
504
504
|
url: string | null;
|
|
505
505
|
description?: string | undefined;
|
|
@@ -554,7 +554,7 @@ export declare function createVercelActionTools(ctx: ToolRegistrationHookContext
|
|
|
554
554
|
kind: "object";
|
|
555
555
|
key: string;
|
|
556
556
|
label: string;
|
|
557
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
557
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
558
558
|
title: string;
|
|
559
559
|
url: string | null;
|
|
560
560
|
description?: string | undefined;
|
|
@@ -14,7 +14,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
14
14
|
kind: "object";
|
|
15
15
|
key: string;
|
|
16
16
|
label: string;
|
|
17
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
17
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
18
18
|
title: string;
|
|
19
19
|
url: string | null;
|
|
20
20
|
description?: string | undefined;
|
|
@@ -77,7 +77,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
|
|
|
77
77
|
kind: "object";
|
|
78
78
|
key: string;
|
|
79
79
|
label: string;
|
|
80
|
-
objectType: "code_change" | "task" | "automation" | "item";
|
|
80
|
+
objectType: "deployment" | "code_change" | "task" | "automation" | "item";
|
|
81
81
|
title: string;
|
|
82
82
|
url: string | null;
|
|
83
83
|
description?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior-vercel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.228.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"zod": "^4.5.4",
|
|
30
|
-
"@sentry/junior-plugin-api": "0.
|
|
30
|
+
"@sentry/junior-plugin-api": "0.228.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@oxlint/plugins": "1.79.0",
|