@theholocron/github-client 1.34.0 → 1.35.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +7 -0
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -250,6 +250,13 @@ interface GitHubPullRequestFile {
250
250
  status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
251
251
  /** Set only when `status === "renamed"`. */
252
252
  previous_filename?: string;
253
+ /**
254
+ * This file's unified-diff hunks (`@@ -a,b +c,d @@` headers plus
255
+ * context/added/removed lines) — what a consumer needs to know which
256
+ * RIGHT-side lines a PR review comment can anchor to. Absent for binary
257
+ * files and for diffs too large for GitHub to include.
258
+ */
259
+ patch?: string;
253
260
  }
254
261
  /** One inline comment in a `POST /pulls/{pull_number}/reviews` request body. */
255
262
  interface CreateReviewComment {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/github-client",
3
- "version": "1.34.0",
3
+ "version": "1.35.0",
4
4
  "description": "A TypeScript client for the GitHub REST API",
5
5
  "keywords": [
6
6
  "github",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@theholocron/observability": "^0.3.0",
36
- "@theholocron/http-client": "^1.34.0"
36
+ "@theholocron/http-client": "^1.35.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@theholocron/cli": "5.0.0-alpha.79",