job-pro 1.0.34 → 1.0.35

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.js +6 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -776,6 +776,9 @@ async function runCompany(adapter, company, rawArgs) {
776
776
  }, compact);
777
777
  }
778
778
  const result = await familyExecutor(staged, session, { kind: "upstream" });
779
+ if (result.ok) {
780
+ memoryEvent("applied", `${company} ${postId} — ${staged.job_title}`);
781
+ }
779
782
  return emit({ mode: "really-submit", staged, submit_kind: kind, session_used: true, result }, compact);
780
783
  }
781
784
  if (!isGenericMultipart) {
@@ -825,6 +828,9 @@ async function runCompany(adapter, company, rawArgs) {
825
828
  }
826
829
  }
827
830
  const result = await submitApplication(staged, { kind: "upstream" }, { session });
831
+ if (result.ok) {
832
+ memoryEvent("applied", `${company} ${postId} — ${staged.job_title}`);
833
+ }
828
834
  return emit({ mode: "really-submit", staged, submit_kind: kind, session_used: !!session, result }, compact);
829
835
  }
830
836
  // Default: dry-run print, no network.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Query Chinese big-tech campus recruiting from your terminal. 50 companies, all 50 live. 46 via each company's own API; the 4 with no public canonical feed (Hikvision, CICC, Cainiao, WeBank) surfaced via Liepin as a clearly-labeled third-party fallback. No signup, no token, no server.",
5
5
  "homepage": "https://job.ha7ch.com",
6
6
  "repository": "https://github.com/HA7CH/job-pro",