job-pro 1.0.19 → 1.0.20
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/antgroup.js +6 -2
- package/package.json +1 -1
package/dist/antgroup.js
CHANGED
|
@@ -224,8 +224,12 @@ export async function fetchPositionDetail(postId) {
|
|
|
224
224
|
if (!id)
|
|
225
225
|
return { ok: false, source: SOURCE, message: "post_id is required" };
|
|
226
226
|
for (const rt of ["campus", "social"]) {
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
// pageSize >= 50 triggers a silent upstream rejection (returns
|
|
228
|
+
// {totalCount: 0, content: []}). 20 is the SPA's own default and the
|
|
229
|
+
// largest size that reliably returns data. Compensate by widening
|
|
230
|
+
// maxPages from 20 → 50 to preserve ~the same scan depth.
|
|
231
|
+
const pageSize = 20;
|
|
232
|
+
const maxPages = 50;
|
|
229
233
|
for (let page = 1; page <= maxPages; page++) {
|
|
230
234
|
const body = {
|
|
231
235
|
key: "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "job-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
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",
|