@sentry/junior-github 0.305.0 → 0.307.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/testing.d.ts CHANGED
@@ -40,7 +40,8 @@ type GitHubCheckSuiteFacts = {
40
40
  * Normalize one verified GitHub delivery into conversation events.
41
41
  *
42
42
  * Comments and reviews written by the configured bot are dropped, so Junior
43
- * does not react to or act on its own feedback.
43
+ * does not react to or act on its own feedback. Comment, review, and issue
44
+ * update Events name their `author`, and core decides whether to trust it.
44
45
  */
45
46
  export declare function normalizeGitHubEvents(args: {
46
47
  body: unknown;
@@ -48,5 +49,7 @@ export declare function normalizeGitHubEvents(args: {
48
49
  checkSuiteFacts?: GitHubCheckSuiteFacts;
49
50
  deliveryId: string;
50
51
  eventName: string;
52
+ /** Logins that the app config lists as trusted authors. */
53
+ trustedAuthors?: readonly string[];
51
54
  }): EventInput[];
52
55
  export {};
package/dist/testing.js CHANGED
@@ -1 +1 @@
1
- export { n as normalizeGitHubEvents } from "./events-DGd7UVVs.js";
1
+ export { n as normalizeGitHubEvents } from "./events-CAZiit9g.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.305.0",
3
+ "version": "0.307.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@0no-co/graphql.web": "^1.3.4",
32
- "@sentry/junior-plugin-api": "0.305.0",
32
+ "@sentry/junior-plugin-api": "0.307.0",
33
33
  "@sinclair/typebox": "^0.34.49",
34
34
  "drizzle-orm": "^0.45.4",
35
35
  "ignore": "^7.0.5",
@@ -37,6 +37,7 @@
37
37
  "mdast-util-from-markdown": "^2.1.0",
38
38
  "mdast-util-gfm": "^3.1.0",
39
39
  "micromark-extension-gfm": "^3.0.0",
40
+ "p-limit": "^7.3.1",
40
41
  "parse5": "^7.3.0",
41
42
  "zod": "^4.6.7"
42
43
  },