job-pro 1.0.57 → 1.0.58

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/index.js CHANGED
@@ -160,6 +160,8 @@ const ENDPOINT_VERIFIED = new Set([
160
160
  "baidu",
161
161
  // probe-verified via JS-bundle string extraction (1.0.57)
162
162
  "tencent",
163
+ // verified via JS-bundle path extraction + cross-domain check (1.0.58)
164
+ "jd",
163
165
  ]);
164
166
  const HELP = `
165
167
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/dist/jd.js CHANGED
@@ -550,9 +550,10 @@ export async function fetchApplicationSchema(postId) {
550
550
  postId: id,
551
551
  jobTitle: title,
552
552
  applyUrl,
553
- submitEndpoint: "https://campus.jd.com/web/job/apply",
553
+ submitEndpoint: "https://wutongzhaopin.jd.com/api/wx/delivery",
554
554
  submitKind: "multipart-session",
555
- submitNotes: "JD — POST /web/job/apply with session cookie. Endpoint inferred from campus.jd.com SPA; needs validation.",
555
+ endpointVerified: true,
556
+ submitNotes: "JD — POST /api/wx/delivery on wutongzhaopin.jd.com (JD's careers backend). Endpoint extracted from the campus.jd.com SPA's umi.js bundle (gzip-decompressed); also documented sibling routes /api/wx/activityDelivery/activityDelivery, /api/wx/favorites/add, /api/wx/delivery/list. The campus.jd.com frontend domain serves SPA HTML only; XHR traffic targets wutongzhaopin.jd.com. Requires session cookies + JD passport login. Probe from US IP returns ECONNRESET (geo-fenced); the URL is verified via static JS-bundle analysis, not live anonymous probe.",
556
557
  }),
557
558
  };
558
559
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
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",