@sentry/junior-vercel 0.266.0 → 0.268.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.
@@ -36,6 +36,7 @@ var VERCEL_DEPLOYMENT_MATCH_FIELDS = eventMatchFieldsSchema.parse({
36
36
  },
37
37
  commitSha: {
38
38
  kind: "string",
39
+ case: "lower",
39
40
  description: "full lowercase Git commit SHA of the deployment, when it came from a Git commit",
40
41
  events: [...VERCEL_DEPLOYMENT_EVENTS]
41
42
  }
@@ -15,6 +15,7 @@ export declare const VERCEL_DEPLOYMENT_MATCH_FIELDS: Record<string, {
15
15
  description: string;
16
16
  enum?: string[] | undefined;
17
17
  list?: true | undefined;
18
+ case?: "lower" | "upper" | undefined;
18
19
  events?: string[] | undefined;
19
20
  }>;
20
21
  /** Build the stable deployment identity shared by tools and webhooks. */
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  VERCEL_DEPLOYMENT_SUGGESTED_EVENTS,
5
5
  createVercelDeploymentTool,
6
6
  createVercelWebhookRoute
7
- } from "./chunk-CUJQR3FA.js";
7
+ } from "./chunk-5IIQV7WI.js";
8
8
 
9
9
  // src/index.ts
10
10
  import {
@@ -307,6 +307,15 @@ function vercelPlugin() {
307
307
  matchFields: VERCEL_DEPLOYMENT_MATCH_FIELDS
308
308
  }
309
309
  ],
310
+ // Deployment events carry status facts, and Junior adds nothing to
311
+ // Vercel, so they can run for every project. Use the `projectId`
312
+ // filter to narrow them.
313
+ events: Object.fromEntries(
314
+ VERCEL_DEPLOYMENT_EVENTS.map((eventType) => [
315
+ eventType,
316
+ { reach: "all" }
317
+ ])
318
+ ),
310
319
  isEnabled: () => Boolean(vercelWebhookSecret())
311
320
  },
312
321
  manifest: {
package/dist/testing.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  createVercelDeploymentTool,
3
3
  createVercelWebhookRoute,
4
4
  normalizeVercelEvents
5
- } from "./chunk-CUJQR3FA.js";
5
+ } from "./chunk-5IIQV7WI.js";
6
6
  export {
7
7
  createVercelDeploymentTool,
8
8
  createVercelWebhookRoute,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-vercel",
3
- "version": "0.266.0",
3
+ "version": "0.268.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.266.0"
30
+ "@sentry/junior-plugin-api": "0.268.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@oxlint/plugins": "1.79.0",