@sentry/junior-vercel 0.179.0 → 0.180.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.
@@ -78,10 +78,11 @@ var deploymentSchema = z2.object({
78
78
  projectId: vercelProjectIdSchema,
79
79
  subscribable: subscribableResourceSchema.optional()
80
80
  });
81
- var outputSchema = pluginToolOutputSchema.extend({
82
- target: z2.literal("deployment"),
83
- ...deploymentSchema.shape
84
- });
81
+ var outputSchema = pluginToolOutputSchema.merge(
82
+ deploymentSchema.extend({
83
+ target: z2.literal("deployment")
84
+ })
85
+ );
85
86
  async function readJson(response) {
86
87
  const text = await response.text();
87
88
  if (!text) return void 0;
@@ -138,7 +139,7 @@ function createVercelDeploymentTool(ctx) {
138
139
  commitSha: commitSha2 ?? null,
139
140
  deploymentTarget: deploymentTarget2 ?? null,
140
141
  projectId,
141
- ...subscribable ? { subscribable } : {}
142
+ ...subscribable ? { subscribable } : void 0
142
143
  };
143
144
  return {
144
145
  target: "deployment",
@@ -258,7 +259,7 @@ function normalizeVercelResourceEvents(args) {
258
259
  eventType,
259
260
  occurredAtMs: envelope.data.createdAt,
260
261
  identifier: resource.identifier,
261
- ...completeOnTerminalEvent ? { terminal: true } : {},
262
+ ...completeOnTerminalEvent ? { terminal: true } : void 0,
262
263
  trustedSummary: `${resource.label} (${deploymentId}) ${outcome}.`,
263
264
  untrustedText
264
265
  }));
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  createVercelDeploymentTool,
5
5
  createVercelWebhookRoute,
6
6
  vercelWebhookSecret
7
- } from "./chunk-ILTVLDNC.js";
7
+ } from "./chunk-KZ3UAYBP.js";
8
8
 
9
9
  // src/index.ts
10
10
  import {
package/dist/testing.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  createVercelDeploymentTool,
3
3
  createVercelWebhookRoute,
4
4
  normalizeVercelResourceEvents
5
- } from "./chunk-ILTVLDNC.js";
5
+ } from "./chunk-KZ3UAYBP.js";
6
6
  export {
7
7
  createVercelDeploymentTool,
8
8
  createVercelWebhookRoute,
@@ -6,7 +6,6 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
6
6
  target?: "preview" | "production" | "staging" | undefined;
7
7
  team?: string | undefined;
8
8
  }, {
9
- [x: string]: unknown;
10
9
  commitSha: string | null;
11
10
  deploymentTarget: "preview" | "production" | "staging" | null;
12
11
  projectId: string;
@@ -25,7 +24,6 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
25
24
  suggestedEvents?: string[] | undefined;
26
25
  } | undefined;
27
26
  }, {
28
- [x: string]: unknown;
29
27
  commitSha: string | null;
30
28
  deploymentTarget: "preview" | "production" | "staging" | null;
31
29
  projectId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-vercel",
3
- "version": "0.179.0",
3
+ "version": "0.180.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,11 +27,12 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "zod": "^4.4.3",
30
- "@sentry/junior-plugin-api": "0.179.0"
30
+ "@sentry/junior-plugin-api": "0.180.0"
31
31
  },
32
32
  "devDependencies": {
33
+ "@oxlint/plugins": "1.79.0",
33
34
  "@types/node": "^25.9.1",
34
- "oxlint": "^1.66.0",
35
+ "oxlint": "^1.79.0",
35
36
  "tsup": "^8.5.1",
36
37
  "typescript": "^6.0.3",
37
38
  "vitest": "^4.1.7"