@crawlee/basic 4.0.0-beta.212 → 4.0.0-beta.213

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.
@@ -428,7 +428,9 @@ export class BasicCrawler {
428
428
  this.#sessionPoolDep = OwnedOrInjected.resolve(sessionPool, () => new SessionPool({
429
429
  createSessionFunction: async (opts) => new Session({
430
430
  ...opts?.sessionOptions,
431
- proxyInfo: opts?.sessionOptions?.proxyInfo ?? (await this.proxyConfiguration?.newProxyInfo()),
431
+ proxyInfo: this.proxyConfiguration
432
+ ? await this.proxyConfiguration.newProxyInfo(opts?.sessionOptions?.proxyInfo)
433
+ : opts?.sessionOptions?.proxyInfo,
432
434
  }),
433
435
  }));
434
436
  this.blockedStatusCodes = new Set(blockedStatusCodesInput ?? BLOCKED_STATUS_CODES);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/basic",
3
- "version": "4.0.0-beta.212",
3
+ "version": "4.0.0-beta.213",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -42,10 +42,10 @@
42
42
  "@apify/datastructures": "^3.0.1",
43
43
  "@apify/timeout": "^1.0.1",
44
44
  "@apify/utilities": "^3.0.1",
45
- "@crawlee/core": "4.0.0-beta.212",
46
- "@crawlee/http-client": "4.0.0-beta.212",
47
- "@crawlee/types": "4.0.0-beta.212",
48
- "@crawlee/utils": "4.0.0-beta.212",
45
+ "@crawlee/core": "4.0.0-beta.213",
46
+ "@crawlee/http-client": "4.0.0-beta.213",
47
+ "@crawlee/types": "4.0.0-beta.213",
48
+ "@crawlee/utils": "4.0.0-beta.213",
49
49
  "@sapphire/async-queue": "^1.5.5",
50
50
  "@standard-schema/spec": "^1.0.0",
51
51
  "csv-stringify": "^6.5.2",
@@ -57,7 +57,7 @@
57
57
  "zod": "^4.5.4"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@crawlee/impit-client": "4.0.0-beta.212"
60
+ "@crawlee/impit-client": "4.0.0-beta.213"
61
61
  },
62
62
  "lerna": {
63
63
  "command": {
@@ -66,5 +66,5 @@
66
66
  }
67
67
  }
68
68
  },
69
- "gitHead": "171a63a5d7f2a6d74cbce58479204ac20d30b87e"
69
+ "gitHead": "99d9370281d90291b8d20b4ad597fc2d0bcbcd80"
70
70
  }