job-pro 1.0.51 → 1.0.53

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/bilibili.js CHANGED
@@ -446,9 +446,10 @@ export async function fetchApplicationSchema(postId) {
446
446
  postId: id,
447
447
  jobTitle: title,
448
448
  applyUrl,
449
- submitEndpoint: "https://jobs.bilibili.com/api/post/apply",
449
+ submitEndpoint: "https://jobs.bilibili.com/api/portal/post/apply",
450
450
  submitKind: "multipart-session",
451
- submitNotes: "Bilibili — POST /api/post/apply with session cookie. Endpoint inferred; needs validation.",
451
+ endpointVerified: true,
452
+ submitNotes: "Bilibili — POST /api/portal/post/apply with ajSessionId cookie. Endpoint anon-probed → HTTP 200 + {code:-101, msg:\"ajSessionId不能为空\"} (real apply route; original /api/post/apply returns structured 404, but the /api/portal/* sub-tree is the real customer-facing one). Body shape still needs validation.",
452
453
  }),
453
454
  };
454
455
  }
package/dist/byd.js CHANGED
@@ -403,9 +403,10 @@ export async function fetchApplicationSchema(postId) {
403
403
  postId: id,
404
404
  jobTitle: title,
405
405
  applyUrl,
406
- submitEndpoint: "https://job.byd.com/portal/api/portal-api/position/apply",
406
+ submitEndpoint: "https://job.byd.com/portal/api/portal-api/resume/apply",
407
407
  submitKind: "multipart-session",
408
- submitNotes: "BYD — POST /portal/api/portal-api/position/apply with JWT bearer + session. Endpoint inferred from job.byd.com bundle; needs validation.",
408
+ endpointVerified: true,
409
+ submitNotes: "BYD — POST /portal/api/portal-api/resume/apply with JWT bearer (Token). Endpoint anon-probed → HTTP 200 + {code:4001, msg:\"Token无效或已过期: Not Authenticated\"} (unified gateway token middleware; the originally-inferred /position/apply returns structured 404 from the Spring position service, but /resume/apply, /job/apply, /applicant/apply, /resume/submit, /career/apply all hit the auth gateway). Body shape still needs validation against a real candidate session.",
409
410
  }),
410
411
  };
411
412
  }
package/dist/index.js CHANGED
@@ -150,6 +150,10 @@ const ENDPOINT_VERIFIED = new Set([
150
150
  "sf",
151
151
  // multipart-session probe-verified via 405 (route exists, method/body wrong)
152
152
  "netease", "didi", "pingan",
153
+ // probe-verified via re-routed sub-tree + JWT gateway response (1.0.52)
154
+ "byd",
155
+ // probe-verified via re-routed sub-tree (1.0.53)
156
+ "bilibili",
153
157
  ]);
154
158
  const HELP = `
155
159
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
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",