rezo 1.0.34 → 1.0.36

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.
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -691,7 +691,7 @@ async function executeSingleFetchRequest(config, fetchOptions, requestCount, tim
691
691
  body: preparedBody,
692
692
  signal: abortController.signal,
693
693
  redirect: "manual",
694
- credentials: config.enableCookieJar ? "include" : "same-origin"
694
+ credentials: config.withCredentials ? "include" : "omit"
695
695
  };
696
696
  let response;
697
697
  try {
@@ -691,7 +691,7 @@ async function executeSingleFetchRequest(config, fetchOptions, requestCount, tim
691
691
  body: preparedBody,
692
692
  signal: abortController.signal,
693
693
  redirect: "manual",
694
- credentials: config.enableCookieJar ? "include" : "same-origin"
694
+ credentials: config.withCredentials ? "include" : "omit"
695
695
  };
696
696
  let response;
697
697
  try {
@@ -1,6 +1,6 @@
1
- const _mod_8ly4zt = require('./picker.cjs');
2
- exports.detectRuntime = _mod_8ly4zt.detectRuntime;
3
- exports.getAdapterCapabilities = _mod_8ly4zt.getAdapterCapabilities;
4
- exports.buildAdapterContext = _mod_8ly4zt.buildAdapterContext;
5
- exports.getAvailableAdapters = _mod_8ly4zt.getAvailableAdapters;
6
- exports.selectAdapter = _mod_8ly4zt.selectAdapter;;
1
+ const _mod_0uwppv = require('./picker.cjs');
2
+ exports.detectRuntime = _mod_0uwppv.detectRuntime;
3
+ exports.getAdapterCapabilities = _mod_0uwppv.getAdapterCapabilities;
4
+ exports.buildAdapterContext = _mod_0uwppv.buildAdapterContext;
5
+ exports.getAvailableAdapters = _mod_0uwppv.getAvailableAdapters;
6
+ exports.selectAdapter = _mod_0uwppv.selectAdapter;;
@@ -372,9 +372,7 @@ function executeSingleXHRRequest(config, fetchOptions, timing, streamResult, dow
372
372
  if (config.timeout) {
373
373
  xhr.timeout = config.timeout;
374
374
  }
375
- if (config.enableCookieJar) {
376
- xhr.withCredentials = true;
377
- }
375
+ xhr.withCredentials = config.withCredentials === true;
378
376
  const eventEmitter = streamResult || downloadResult || uploadResult;
379
377
  if (eventEmitter) {
380
378
  const reqHeaders = fetchOptions.headers instanceof RezoHeaders ? fetchOptions.headers.toObject() : fetchOptions.headers || {};
@@ -372,9 +372,7 @@ function executeSingleXHRRequest(config, fetchOptions, timing, streamResult, dow
372
372
  if (config.timeout) {
373
373
  xhr.timeout = config.timeout;
374
374
  }
375
- if (config.enableCookieJar) {
376
- xhr.withCredentials = true;
377
- }
375
+ xhr.withCredentials = config.withCredentials === true;
378
376
  const eventEmitter = streamResult || downloadResult || uploadResult;
379
377
  if (eventEmitter) {
380
378
  const reqHeaders = fetchOptions.headers instanceof RezoHeaders ? fetchOptions.headers.toObject() : fetchOptions.headers || {};
@@ -1,13 +1,13 @@
1
- const _mod_15leet = require('./lru-cache.cjs');
2
- exports.LRUCache = _mod_15leet.LRUCache;;
3
- const _mod_f9kzl8 = require('./dns-cache.cjs');
4
- exports.DNSCache = _mod_f9kzl8.DNSCache;
5
- exports.getGlobalDNSCache = _mod_f9kzl8.getGlobalDNSCache;
6
- exports.resetGlobalDNSCache = _mod_f9kzl8.resetGlobalDNSCache;;
7
- const _mod_gbhn9s = require('./response-cache.cjs');
8
- exports.ResponseCache = _mod_gbhn9s.ResponseCache;
9
- exports.normalizeResponseCacheConfig = _mod_gbhn9s.normalizeResponseCacheConfig;;
10
- const _mod_vgjw84 = require('./file-cacher.cjs');
11
- exports.FileCacher = _mod_vgjw84.FileCacher;;
12
- const _mod_zuw155 = require('./url-store.cjs');
13
- exports.UrlStore = _mod_zuw155.UrlStore;;
1
+ const _mod_b0oo9m = require('./lru-cache.cjs');
2
+ exports.LRUCache = _mod_b0oo9m.LRUCache;;
3
+ const _mod_h9tgni = require('./dns-cache.cjs');
4
+ exports.DNSCache = _mod_h9tgni.DNSCache;
5
+ exports.getGlobalDNSCache = _mod_h9tgni.getGlobalDNSCache;
6
+ exports.resetGlobalDNSCache = _mod_h9tgni.resetGlobalDNSCache;;
7
+ const _mod_aevbf9 = require('./response-cache.cjs');
8
+ exports.ResponseCache = _mod_aevbf9.ResponseCache;
9
+ exports.normalizeResponseCacheConfig = _mod_aevbf9.normalizeResponseCacheConfig;;
10
+ const _mod_y2allt = require('./file-cacher.cjs');
11
+ exports.FileCacher = _mod_y2allt.FileCacher;;
12
+ const _mod_hevuhh = require('./url-store.cjs');
13
+ exports.UrlStore = _mod_hevuhh.UrlStore;;
package/dist/crawler.d.ts CHANGED
@@ -1771,6 +1771,8 @@ export interface RezoConfig {
1771
1771
  };
1772
1772
  /** @description Enable cookie jar for session management */
1773
1773
  enableCookieJar?: boolean;
1774
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1775
+ withCredentials?: boolean;
1774
1776
  /** @description Feature flags for adapter capabilities */
1775
1777
  features?: {
1776
1778
  /** @description HTTP/2 support */
@@ -1,5 +1,5 @@
1
- const _mod_qkkajj = require('../plugin/crawler.cjs');
2
- exports.Crawler = _mod_qkkajj.Crawler;;
3
- const _mod_dmj07s = require('../plugin/crawler-options.cjs');
4
- exports.CrawlerOptions = _mod_dmj07s.CrawlerOptions;
5
- exports.Domain = _mod_dmj07s.Domain;;
1
+ const _mod_lnc8go = require('../plugin/crawler.cjs');
2
+ exports.Crawler = _mod_lnc8go.Crawler;;
3
+ const _mod_w9wbqk = require('../plugin/crawler-options.cjs');
4
+ exports.CrawlerOptions = _mod_w9wbqk.CrawlerOptions;
5
+ exports.Domain = _mod_w9wbqk.Domain;;
package/dist/index.cjs CHANGED
@@ -1,27 +1,27 @@
1
- const _mod_yulqdw = require('./core/rezo.cjs');
2
- exports.Rezo = _mod_yulqdw.Rezo;
3
- exports.createRezoInstance = _mod_yulqdw.createRezoInstance;
4
- exports.createDefaultInstance = _mod_yulqdw.createDefaultInstance;;
5
- const _mod_9vr9fe = require('./errors/rezo-error.cjs');
6
- exports.RezoError = _mod_9vr9fe.RezoError;
7
- exports.RezoErrorCode = _mod_9vr9fe.RezoErrorCode;;
8
- const _mod_zpml46 = require('./utils/headers.cjs');
9
- exports.RezoHeaders = _mod_zpml46.RezoHeaders;;
10
- const _mod_osy75b = require('./utils/form-data.cjs');
11
- exports.RezoFormData = _mod_osy75b.RezoFormData;;
12
- const _mod_6dfofv = require('./utils/cookies.cjs');
13
- exports.RezoCookieJar = _mod_6dfofv.RezoCookieJar;
14
- exports.Cookie = _mod_6dfofv.Cookie;;
15
- const _mod_4pz3d9 = require('./core/hooks.cjs');
16
- exports.createDefaultHooks = _mod_4pz3d9.createDefaultHooks;
17
- exports.mergeHooks = _mod_4pz3d9.mergeHooks;;
18
- const _mod_cr01rb = require('./proxy/manager.cjs');
19
- exports.ProxyManager = _mod_cr01rb.ProxyManager;;
20
- const _mod_ojaayo = require('./queue/index.cjs');
21
- exports.RezoQueue = _mod_ojaayo.RezoQueue;
22
- exports.HttpQueue = _mod_ojaayo.HttpQueue;
23
- exports.Priority = _mod_ojaayo.Priority;
24
- exports.HttpMethodPriority = _mod_ojaayo.HttpMethodPriority;;
1
+ const _mod_xkzztz = require('./core/rezo.cjs');
2
+ exports.Rezo = _mod_xkzztz.Rezo;
3
+ exports.createRezoInstance = _mod_xkzztz.createRezoInstance;
4
+ exports.createDefaultInstance = _mod_xkzztz.createDefaultInstance;;
5
+ const _mod_oqvigw = require('./errors/rezo-error.cjs');
6
+ exports.RezoError = _mod_oqvigw.RezoError;
7
+ exports.RezoErrorCode = _mod_oqvigw.RezoErrorCode;;
8
+ const _mod_fb4djh = require('./utils/headers.cjs');
9
+ exports.RezoHeaders = _mod_fb4djh.RezoHeaders;;
10
+ const _mod_0h34z5 = require('./utils/form-data.cjs');
11
+ exports.RezoFormData = _mod_0h34z5.RezoFormData;;
12
+ const _mod_c1ukg1 = require('./utils/cookies.cjs');
13
+ exports.RezoCookieJar = _mod_c1ukg1.RezoCookieJar;
14
+ exports.Cookie = _mod_c1ukg1.Cookie;;
15
+ const _mod_06t0jk = require('./core/hooks.cjs');
16
+ exports.createDefaultHooks = _mod_06t0jk.createDefaultHooks;
17
+ exports.mergeHooks = _mod_06t0jk.mergeHooks;;
18
+ const _mod_akttew = require('./proxy/manager.cjs');
19
+ exports.ProxyManager = _mod_akttew.ProxyManager;;
20
+ const _mod_9zy2my = require('./queue/index.cjs');
21
+ exports.RezoQueue = _mod_9zy2my.RezoQueue;
22
+ exports.HttpQueue = _mod_9zy2my.HttpQueue;
23
+ exports.Priority = _mod_9zy2my.Priority;
24
+ exports.HttpMethodPriority = _mod_9zy2my.HttpMethodPriority;;
25
25
  const { RezoError } = require('./errors/rezo-error.cjs');
26
26
  const isRezoError = exports.isRezoError = RezoError.isRezoError;
27
27
  const Cancel = exports.Cancel = RezoError;
package/dist/index.d.ts CHANGED
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1563,6 +1563,8 @@ export interface RezoConfig {
1563
1563
  };
1564
1564
  /** @description Enable cookie jar for session management */
1565
1565
  enableCookieJar?: boolean;
1566
+ /** @description Send cookies with cross-origin requests (matches Axios withCredentials). Default: false */
1567
+ withCredentials?: boolean;
1566
1568
  /** @description Feature flags for adapter capabilities */
1567
1569
  features?: {
1568
1570
  /** @description HTTP/2 support */
@@ -1,36 +1,36 @@
1
- const _mod_o128xl = require('./crawler.cjs');
2
- exports.Crawler = _mod_o128xl.Crawler;;
3
- const _mod_kn0xql = require('./crawler-options.cjs');
4
- exports.CrawlerOptions = _mod_kn0xql.CrawlerOptions;;
5
- const _mod_k3p55w = require('../cache/file-cacher.cjs');
6
- exports.FileCacher = _mod_k3p55w.FileCacher;;
7
- const _mod_wvoeet = require('../cache/url-store.cjs');
8
- exports.UrlStore = _mod_wvoeet.UrlStore;;
9
- const _mod_xh791n = require('./addon/oxylabs/index.cjs');
10
- exports.Oxylabs = _mod_xh791n.Oxylabs;;
11
- const _mod_idjvmk = require('./addon/oxylabs/options.cjs');
12
- exports.OXYLABS_BROWSER_TYPES = _mod_idjvmk.OXYLABS_BROWSER_TYPES;
13
- exports.OXYLABS_COMMON_LOCALES = _mod_idjvmk.OXYLABS_COMMON_LOCALES;
14
- exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_idjvmk.OXYLABS_COMMON_GEO_LOCATIONS;
15
- exports.OXYLABS_US_STATES = _mod_idjvmk.OXYLABS_US_STATES;
16
- exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_idjvmk.OXYLABS_EUROPEAN_COUNTRIES;
17
- exports.OXYLABS_ASIAN_COUNTRIES = _mod_idjvmk.OXYLABS_ASIAN_COUNTRIES;
18
- exports.getRandomOxylabsBrowserType = _mod_idjvmk.getRandomBrowserType;
19
- exports.getRandomOxylabsLocale = _mod_idjvmk.getRandomLocale;
20
- exports.getRandomOxylabsGeoLocation = _mod_idjvmk.getRandomGeoLocation;;
21
- const _mod_6qr4or = require('./addon/decodo/index.cjs');
22
- exports.Decodo = _mod_6qr4or.Decodo;;
23
- const _mod_2e644p = require('./addon/decodo/options.cjs');
24
- exports.DECODO_DEVICE_TYPES = _mod_2e644p.DECODO_DEVICE_TYPES;
25
- exports.DECODO_HEADLESS_MODES = _mod_2e644p.DECODO_HEADLESS_MODES;
26
- exports.DECODO_COMMON_LOCALES = _mod_2e644p.DECODO_COMMON_LOCALES;
27
- exports.DECODO_COMMON_COUNTRIES = _mod_2e644p.DECODO_COMMON_COUNTRIES;
28
- exports.DECODO_EUROPEAN_COUNTRIES = _mod_2e644p.DECODO_EUROPEAN_COUNTRIES;
29
- exports.DECODO_ASIAN_COUNTRIES = _mod_2e644p.DECODO_ASIAN_COUNTRIES;
30
- exports.DECODO_US_STATES = _mod_2e644p.DECODO_US_STATES;
31
- exports.DECODO_COMMON_CITIES = _mod_2e644p.DECODO_COMMON_CITIES;
32
- exports.getRandomDecodoDeviceType = _mod_2e644p.getRandomDeviceType;
33
- exports.getRandomDecodoLocale = _mod_2e644p.getRandomLocale;
34
- exports.getRandomDecodoCountry = _mod_2e644p.getRandomCountry;
35
- exports.getRandomDecodoCity = _mod_2e644p.getRandomCity;
36
- exports.generateDecodoSessionId = _mod_2e644p.generateSessionId;;
1
+ const _mod_aurudk = require('./crawler.cjs');
2
+ exports.Crawler = _mod_aurudk.Crawler;;
3
+ const _mod_v8pmzf = require('./crawler-options.cjs');
4
+ exports.CrawlerOptions = _mod_v8pmzf.CrawlerOptions;;
5
+ const _mod_41vmvs = require('../cache/file-cacher.cjs');
6
+ exports.FileCacher = _mod_41vmvs.FileCacher;;
7
+ const _mod_oowfwr = require('../cache/url-store.cjs');
8
+ exports.UrlStore = _mod_oowfwr.UrlStore;;
9
+ const _mod_mczhjw = require('./addon/oxylabs/index.cjs');
10
+ exports.Oxylabs = _mod_mczhjw.Oxylabs;;
11
+ const _mod_2p4yuc = require('./addon/oxylabs/options.cjs');
12
+ exports.OXYLABS_BROWSER_TYPES = _mod_2p4yuc.OXYLABS_BROWSER_TYPES;
13
+ exports.OXYLABS_COMMON_LOCALES = _mod_2p4yuc.OXYLABS_COMMON_LOCALES;
14
+ exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_2p4yuc.OXYLABS_COMMON_GEO_LOCATIONS;
15
+ exports.OXYLABS_US_STATES = _mod_2p4yuc.OXYLABS_US_STATES;
16
+ exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_2p4yuc.OXYLABS_EUROPEAN_COUNTRIES;
17
+ exports.OXYLABS_ASIAN_COUNTRIES = _mod_2p4yuc.OXYLABS_ASIAN_COUNTRIES;
18
+ exports.getRandomOxylabsBrowserType = _mod_2p4yuc.getRandomBrowserType;
19
+ exports.getRandomOxylabsLocale = _mod_2p4yuc.getRandomLocale;
20
+ exports.getRandomOxylabsGeoLocation = _mod_2p4yuc.getRandomGeoLocation;;
21
+ const _mod_qut8vm = require('./addon/decodo/index.cjs');
22
+ exports.Decodo = _mod_qut8vm.Decodo;;
23
+ const _mod_q5fzo0 = require('./addon/decodo/options.cjs');
24
+ exports.DECODO_DEVICE_TYPES = _mod_q5fzo0.DECODO_DEVICE_TYPES;
25
+ exports.DECODO_HEADLESS_MODES = _mod_q5fzo0.DECODO_HEADLESS_MODES;
26
+ exports.DECODO_COMMON_LOCALES = _mod_q5fzo0.DECODO_COMMON_LOCALES;
27
+ exports.DECODO_COMMON_COUNTRIES = _mod_q5fzo0.DECODO_COMMON_COUNTRIES;
28
+ exports.DECODO_EUROPEAN_COUNTRIES = _mod_q5fzo0.DECODO_EUROPEAN_COUNTRIES;
29
+ exports.DECODO_ASIAN_COUNTRIES = _mod_q5fzo0.DECODO_ASIAN_COUNTRIES;
30
+ exports.DECODO_US_STATES = _mod_q5fzo0.DECODO_US_STATES;
31
+ exports.DECODO_COMMON_CITIES = _mod_q5fzo0.DECODO_COMMON_CITIES;
32
+ exports.getRandomDecodoDeviceType = _mod_q5fzo0.getRandomDeviceType;
33
+ exports.getRandomDecodoLocale = _mod_q5fzo0.getRandomLocale;
34
+ exports.getRandomDecodoCountry = _mod_q5fzo0.getRandomCountry;
35
+ exports.getRandomDecodoCity = _mod_q5fzo0.getRandomCity;
36
+ exports.generateDecodoSessionId = _mod_q5fzo0.generateSessionId;;
@@ -2,10 +2,10 @@ const { SocksProxyAgent: RezoSocksProxy } = require("socks-proxy-agent");
2
2
  const { HttpsProxyAgent: RezoHttpsSocks } = require("https-proxy-agent");
3
3
  const { HttpProxyAgent: RezoHttpSocks } = require("http-proxy-agent");
4
4
  const { parseProxyString } = require('./parse.cjs');
5
- const _mod_68xp7l = require('./manager.cjs');
6
- exports.ProxyManager = _mod_68xp7l.ProxyManager;;
7
- const _mod_rkzgw4 = require('./parse.cjs');
8
- exports.parseProxyString = _mod_rkzgw4.parseProxyString;;
5
+ const _mod_yfcw4i = require('./manager.cjs');
6
+ exports.ProxyManager = _mod_yfcw4i.ProxyManager;;
7
+ const _mod_3o6to5 = require('./parse.cjs');
8
+ exports.parseProxyString = _mod_3o6to5.parseProxyString;;
9
9
  function createOptions(uri, opts) {
10
10
  if (uri instanceof URL || typeof uri === "string") {
11
11
  return {
@@ -1,8 +1,8 @@
1
- const _mod_tf8vd6 = require('./queue.cjs');
2
- exports.RezoQueue = _mod_tf8vd6.RezoQueue;;
3
- const _mod_i7owgm = require('./http-queue.cjs');
4
- exports.HttpQueue = _mod_i7owgm.HttpQueue;
5
- exports.extractDomain = _mod_i7owgm.extractDomain;;
6
- const _mod_v7a7hw = require('./types.cjs');
7
- exports.Priority = _mod_v7a7hw.Priority;
8
- exports.HttpMethodPriority = _mod_v7a7hw.HttpMethodPriority;;
1
+ const _mod_kpj84p = require('./queue.cjs');
2
+ exports.RezoQueue = _mod_kpj84p.RezoQueue;;
3
+ const _mod_qacfqg = require('./http-queue.cjs');
4
+ exports.HttpQueue = _mod_qacfqg.HttpQueue;
5
+ exports.extractDomain = _mod_qacfqg.extractDomain;;
6
+ const _mod_lbq7hp = require('./types.cjs');
7
+ exports.Priority = _mod_lbq7hp.Priority;
8
+ exports.HttpMethodPriority = _mod_lbq7hp.HttpMethodPriority;;
@@ -1,11 +1,11 @@
1
- const _mod_tzbagl = require('./event-emitter.cjs');
2
- exports.UniversalEventEmitter = _mod_tzbagl.UniversalEventEmitter;;
3
- const _mod_rhzhyf = require('./stream.cjs');
4
- exports.UniversalStreamResponse = _mod_rhzhyf.UniversalStreamResponse;
5
- exports.StreamResponse = _mod_rhzhyf.StreamResponse;;
6
- const _mod_c1yizg = require('./download.cjs');
7
- exports.UniversalDownloadResponse = _mod_c1yizg.UniversalDownloadResponse;
8
- exports.DownloadResponse = _mod_c1yizg.DownloadResponse;;
9
- const _mod_by64xn = require('./upload.cjs');
10
- exports.UniversalUploadResponse = _mod_by64xn.UniversalUploadResponse;
11
- exports.UploadResponse = _mod_by64xn.UploadResponse;;
1
+ const _mod_0rm12v = require('./event-emitter.cjs');
2
+ exports.UniversalEventEmitter = _mod_0rm12v.UniversalEventEmitter;;
3
+ const _mod_17tpqu = require('./stream.cjs');
4
+ exports.UniversalStreamResponse = _mod_17tpqu.UniversalStreamResponse;
5
+ exports.StreamResponse = _mod_17tpqu.StreamResponse;;
6
+ const _mod_l0vc60 = require('./download.cjs');
7
+ exports.UniversalDownloadResponse = _mod_l0vc60.UniversalDownloadResponse;
8
+ exports.DownloadResponse = _mod_l0vc60.DownloadResponse;;
9
+ const _mod_yp4ki9 = require('./upload.cjs');
10
+ exports.UniversalUploadResponse = _mod_yp4ki9.UniversalUploadResponse;
11
+ exports.UploadResponse = _mod_yp4ki9.UploadResponse;;
@@ -585,6 +585,7 @@ As a workaround, process.env.NODE_TLS_REJECT_UNAUTHORIZED is being set to '0'.
585
585
  retryAttempts: 0,
586
586
  timeout: typeof requestOptions.timeout === "number" ? requestOptions.timeout : null,
587
587
  enableCookieJar: typeof defaultOptions.enableCookieJar === "boolean" ? defaultOptions.enableCookieJar : true,
588
+ withCredentials: typeof withCredentials === "boolean" ? withCredentials : typeof defaultOptions.withCredentials === "boolean" ? defaultOptions.withCredentials : false,
588
589
  useCookies: typeof requestOptions.useCookies === "boolean" ? requestOptions.useCookies : true,
589
590
  cookieJar: requestOptions.jar || jar,
590
591
  retry: {
@@ -585,6 +585,7 @@ As a workaround, process.env.NODE_TLS_REJECT_UNAUTHORIZED is being set to '0'.
585
585
  retryAttempts: 0,
586
586
  timeout: typeof requestOptions.timeout === "number" ? requestOptions.timeout : null,
587
587
  enableCookieJar: typeof defaultOptions.enableCookieJar === "boolean" ? defaultOptions.enableCookieJar : true,
588
+ withCredentials: typeof withCredentials === "boolean" ? withCredentials : typeof defaultOptions.withCredentials === "boolean" ? defaultOptions.withCredentials : false,
588
589
  useCookies: typeof requestOptions.useCookies === "boolean" ? requestOptions.useCookies : true,
589
590
  cookieJar: requestOptions.jar || jar,
590
591
  retry: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rezo",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "Lightning-fast, enterprise-grade HTTP client for modern JavaScript. Full HTTP/2 support, intelligent cookie management, multiple adapters (HTTP, Fetch, cURL, XHR), streaming, proxy support (HTTP/HTTPS/SOCKS), and cross-environment compatibility.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",