@sentry/junior-vercel 0.270.0 → 0.272.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.
@@ -66,6 +66,11 @@ function vercelDeploymentSubscribable(input) {
66
66
  if (input.commitSha && !input.target) return void 0;
67
67
  return {
68
68
  ...vercelDeploymentResource(input),
69
+ match: {
70
+ projectId: input.projectId,
71
+ ...input.target ? { target: input.target } : void 0,
72
+ ...input.commitSha ? { commitSha: input.commitSha.toLowerCase() } : void 0
73
+ },
69
74
  suggestedEvents: VERCEL_DEPLOYMENT_SUGGESTED_EVENTS,
70
75
  supportedEvents: [...VERCEL_DEPLOYMENT_EVENTS],
71
76
  type: "deployment"
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-5IIQV7WI.js";
7
+ } from "./chunk-APG6SIOV.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
  normalizeVercelEvents
5
- } from "./chunk-5IIQV7WI.js";
5
+ } from "./chunk-APG6SIOV.js";
6
6
  export {
7
7
  createVercelDeploymentTool,
8
8
  createVercelWebhookRoute,
@@ -66,6 +66,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
66
66
  subscribable?: {
67
67
  identifier: string;
68
68
  label: string;
69
+ match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
69
70
  namespace: string;
70
71
  suggestedEvents?: string[] | undefined;
71
72
  supportedEvents: string[];
@@ -133,6 +134,7 @@ export declare function createVercelDeploymentTool(ctx: ToolRegistrationHookCont
133
134
  subscribable?: {
134
135
  identifier: string;
135
136
  label: string;
137
+ match?: Record<string, string | number | boolean | (string | number)[]> | undefined;
136
138
  namespace: string;
137
139
  suggestedEvents?: string[] | undefined;
138
140
  supportedEvents: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-vercel",
3
- "version": "0.270.0",
3
+ "version": "0.272.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.270.0"
30
+ "@sentry/junior-plugin-api": "0.272.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@oxlint/plugins": "1.79.0",