revdeck 0.11.0 → 0.12.1

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/daemon.js CHANGED
@@ -759,7 +759,9 @@ rename to ${newPath}
759
759
  updatedAt: String(mr.updated_at ?? ""),
760
760
  state: String(mr.state ?? ""),
761
761
  draft: Boolean(mr.draft ?? mr.work_in_progress),
762
- webUrl: String(mr.web_url ?? "")
762
+ webUrl: String(mr.web_url ?? ""),
763
+ sourceBranch: String(mr.source_branch ?? ""),
764
+ targetBranch: String(mr.target_branch ?? "")
763
765
  }));
764
766
  }
765
767
  async findByBranch(branch) {
@@ -1126,7 +1128,9 @@ rename to ${newPath}
1126
1128
  updatedAt: pull.updated_at,
1127
1129
  state: pull.state,
1128
1130
  draft: Boolean(pull.draft),
1129
- webUrl: pull.html_url
1131
+ webUrl: pull.html_url,
1132
+ sourceBranch: String(pull.head?.ref ?? ""),
1133
+ targetBranch: String(pull.base?.ref ?? "")
1130
1134
  }));
1131
1135
  }
1132
1136
  async findByBranch(branch) {
@@ -1401,7 +1405,7 @@ async function writeFileAtomic(file, data, mode = 384, dirMode = 448) {
1401
1405
  init_redact();
1402
1406
 
1403
1407
  // src/version.ts
1404
- var VERSION = "0.11.0";
1408
+ var VERSION = "0.12.1";
1405
1409
  var PROTOCOL_VERSION = 2;
1406
1410
 
1407
1411
  // src/daemon/main.ts