rezo 1.0.8 → 1.0.9

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.
@@ -4162,6 +4162,105 @@ export declare class Rezo {
4162
4162
  * ```
4163
4163
  */
4164
4164
  upload(url: string | URL, data: Buffer | FormData | RezoFormData | string | Record<string, any>, options?: RezoHttpRequest): RezoUploadResponse;
4165
+ /**
4166
+ * Set cookies in the cookie jar from various input formats.
4167
+ *
4168
+ * This method accepts multiple input formats for maximum flexibility:
4169
+ * - **Netscape cookie file content** (string): Full cookie file content in Netscape format
4170
+ * - **Set-Cookie header array** (string[]): Array of Set-Cookie header values
4171
+ * - **Serialized cookie objects** (SerializedCookie[]): Array of plain objects with cookie properties
4172
+ * - **Cookie instances** (Cookie[]): Array of Cookie class instances
4173
+ *
4174
+ * @param cookies - Cookies to set in one of the supported formats
4175
+ * @param url - Optional URL context for the cookies (used for domain/path inference)
4176
+ * @param startNew - If true, clears all existing cookies before setting new ones (default: false)
4177
+ *
4178
+ * @example
4179
+ * ```typescript
4180
+ * // From Netscape cookie file content
4181
+ * const netscapeContent = `# Netscape HTTP Cookie File
4182
+ * .example.com\tTRUE\t/\tFALSE\t0\tsession\tabc123`;
4183
+ * rezo.setCookies(netscapeContent);
4184
+ *
4185
+ * // From Set-Cookie header array
4186
+ * rezo.setCookies([
4187
+ * 'session=abc123; Domain=example.com; Path=/; HttpOnly',
4188
+ * 'user=john; Domain=example.com; Path=/; Max-Age=3600'
4189
+ * ], 'https://example.com');
4190
+ *
4191
+ * // From serialized cookie objects
4192
+ * rezo.setCookies([
4193
+ * { key: 'session', value: 'abc123', domain: 'example.com', path: '/' },
4194
+ * { key: 'user', value: 'john', domain: 'example.com', path: '/', maxAge: 3600 }
4195
+ * ]);
4196
+ *
4197
+ * // From Cookie instances
4198
+ * import { Cookie } from 'rezo';
4199
+ * const cookie = new Cookie({ key: 'token', value: 'xyz789', domain: 'api.example.com' });
4200
+ * rezo.setCookies([cookie]);
4201
+ *
4202
+ * // Replace all cookies (startNew = true)
4203
+ * rezo.setCookies([{ key: 'new', value: 'cookie' }], undefined, true);
4204
+ * ```
4205
+ *
4206
+ * @see {@link getCookies} - Retrieve cookies from the jar
4207
+ * @see {@link RezoCookieJar} - The underlying cookie jar class
4208
+ */
4209
+ setCookies(stringCookies: string): void;
4210
+ setCookies(stringCookies: string, url: string, startNew?: boolean): void;
4211
+ setCookies(serializedStringCookiesCookies: string, url: string | undefined, startNew: boolean): void;
4212
+ setCookies(serializedCookies: SerializedCookie[]): void;
4213
+ setCookies(serializedCookies: SerializedCookie[], url: string, startNew?: boolean): void;
4214
+ setCookies(serializedCookies: SerializedCookie[], url: string | undefined, startNew: boolean): void;
4215
+ setCookies(cookies: Cookie[]): void;
4216
+ setCookies(cookies: Cookie[], url: string, startNew?: boolean): void;
4217
+ setCookies(cookies: Cookie[], url: string | undefined, startNew: boolean): void;
4218
+ setCookies(setCookieArray: string[]): void;
4219
+ setCookies(setCookieArray: string[], url: string, startNew?: boolean): void;
4220
+ setCookies(setCookieArray: string[], url: string | undefined, startNew: boolean): void;
4221
+ /**
4222
+ * Get all cookies from the cookie jar.
4223
+ *
4224
+ * Returns a `Cookies` object where keys are domain names and values are
4225
+ * arrays of Cookie objects for that domain. This provides easy access to
4226
+ * all stored cookies for inspection, serialization, or manual manipulation.
4227
+ *
4228
+ * @returns A Cookies object mapping domains to their Cookie arrays
4229
+ *
4230
+ * @example
4231
+ * ```typescript
4232
+ * // Get all cookies
4233
+ * const cookies = rezo.getCookies();
4234
+ *
4235
+ * // Access cookies for a specific domain
4236
+ * const exampleCookies = cookies['example.com'];
4237
+ * if (exampleCookies) {
4238
+ * for (const cookie of exampleCookies) {
4239
+ * console.log(`${cookie.key}=${cookie.value}`);
4240
+ * }
4241
+ * }
4242
+ *
4243
+ * // List all domains with cookies
4244
+ * const domains = Object.keys(cookies);
4245
+ * console.log('Cookies stored for:', domains);
4246
+ *
4247
+ * // Count total cookies
4248
+ * const totalCookies = Object.values(cookies)
4249
+ * .reduce((sum, arr) => sum + arr.length, 0);
4250
+ * console.log(`Total cookies: ${totalCookies}`);
4251
+ *
4252
+ * // Serialize all cookies to JSON
4253
+ * const serialized = JSON.stringify(cookies);
4254
+ *
4255
+ * // Check if a specific cookie exists
4256
+ * const hasSession = cookies['example.com']
4257
+ * ?.some(c => c.key === 'session');
4258
+ * ```
4259
+ *
4260
+ * @see {@link setCookies} - Set cookies in the jar
4261
+ * @see {@link cookieJar} - Access the underlying RezoCookieJar for more methods
4262
+ */
4263
+ getCookies(): Cookies;
4165
4264
  }
4166
4265
  /**
4167
4266
  * Extended Rezo instance with Axios-compatible static helpers.
@@ -4162,6 +4162,105 @@ export declare class Rezo {
4162
4162
  * ```
4163
4163
  */
4164
4164
  upload(url: string | URL, data: Buffer | FormData | RezoFormData | string | Record<string, any>, options?: RezoHttpRequest): RezoUploadResponse;
4165
+ /**
4166
+ * Set cookies in the cookie jar from various input formats.
4167
+ *
4168
+ * This method accepts multiple input formats for maximum flexibility:
4169
+ * - **Netscape cookie file content** (string): Full cookie file content in Netscape format
4170
+ * - **Set-Cookie header array** (string[]): Array of Set-Cookie header values
4171
+ * - **Serialized cookie objects** (SerializedCookie[]): Array of plain objects with cookie properties
4172
+ * - **Cookie instances** (Cookie[]): Array of Cookie class instances
4173
+ *
4174
+ * @param cookies - Cookies to set in one of the supported formats
4175
+ * @param url - Optional URL context for the cookies (used for domain/path inference)
4176
+ * @param startNew - If true, clears all existing cookies before setting new ones (default: false)
4177
+ *
4178
+ * @example
4179
+ * ```typescript
4180
+ * // From Netscape cookie file content
4181
+ * const netscapeContent = `# Netscape HTTP Cookie File
4182
+ * .example.com\tTRUE\t/\tFALSE\t0\tsession\tabc123`;
4183
+ * rezo.setCookies(netscapeContent);
4184
+ *
4185
+ * // From Set-Cookie header array
4186
+ * rezo.setCookies([
4187
+ * 'session=abc123; Domain=example.com; Path=/; HttpOnly',
4188
+ * 'user=john; Domain=example.com; Path=/; Max-Age=3600'
4189
+ * ], 'https://example.com');
4190
+ *
4191
+ * // From serialized cookie objects
4192
+ * rezo.setCookies([
4193
+ * { key: 'session', value: 'abc123', domain: 'example.com', path: '/' },
4194
+ * { key: 'user', value: 'john', domain: 'example.com', path: '/', maxAge: 3600 }
4195
+ * ]);
4196
+ *
4197
+ * // From Cookie instances
4198
+ * import { Cookie } from 'rezo';
4199
+ * const cookie = new Cookie({ key: 'token', value: 'xyz789', domain: 'api.example.com' });
4200
+ * rezo.setCookies([cookie]);
4201
+ *
4202
+ * // Replace all cookies (startNew = true)
4203
+ * rezo.setCookies([{ key: 'new', value: 'cookie' }], undefined, true);
4204
+ * ```
4205
+ *
4206
+ * @see {@link getCookies} - Retrieve cookies from the jar
4207
+ * @see {@link RezoCookieJar} - The underlying cookie jar class
4208
+ */
4209
+ setCookies(stringCookies: string): void;
4210
+ setCookies(stringCookies: string, url: string, startNew?: boolean): void;
4211
+ setCookies(serializedStringCookiesCookies: string, url: string | undefined, startNew: boolean): void;
4212
+ setCookies(serializedCookies: SerializedCookie[]): void;
4213
+ setCookies(serializedCookies: SerializedCookie[], url: string, startNew?: boolean): void;
4214
+ setCookies(serializedCookies: SerializedCookie[], url: string | undefined, startNew: boolean): void;
4215
+ setCookies(cookies: Cookie[]): void;
4216
+ setCookies(cookies: Cookie[], url: string, startNew?: boolean): void;
4217
+ setCookies(cookies: Cookie[], url: string | undefined, startNew: boolean): void;
4218
+ setCookies(setCookieArray: string[]): void;
4219
+ setCookies(setCookieArray: string[], url: string, startNew?: boolean): void;
4220
+ setCookies(setCookieArray: string[], url: string | undefined, startNew: boolean): void;
4221
+ /**
4222
+ * Get all cookies from the cookie jar.
4223
+ *
4224
+ * Returns a `Cookies` object where keys are domain names and values are
4225
+ * arrays of Cookie objects for that domain. This provides easy access to
4226
+ * all stored cookies for inspection, serialization, or manual manipulation.
4227
+ *
4228
+ * @returns A Cookies object mapping domains to their Cookie arrays
4229
+ *
4230
+ * @example
4231
+ * ```typescript
4232
+ * // Get all cookies
4233
+ * const cookies = rezo.getCookies();
4234
+ *
4235
+ * // Access cookies for a specific domain
4236
+ * const exampleCookies = cookies['example.com'];
4237
+ * if (exampleCookies) {
4238
+ * for (const cookie of exampleCookies) {
4239
+ * console.log(`${cookie.key}=${cookie.value}`);
4240
+ * }
4241
+ * }
4242
+ *
4243
+ * // List all domains with cookies
4244
+ * const domains = Object.keys(cookies);
4245
+ * console.log('Cookies stored for:', domains);
4246
+ *
4247
+ * // Count total cookies
4248
+ * const totalCookies = Object.values(cookies)
4249
+ * .reduce((sum, arr) => sum + arr.length, 0);
4250
+ * console.log(`Total cookies: ${totalCookies}`);
4251
+ *
4252
+ * // Serialize all cookies to JSON
4253
+ * const serialized = JSON.stringify(cookies);
4254
+ *
4255
+ * // Check if a specific cookie exists
4256
+ * const hasSession = cookies['example.com']
4257
+ * ?.some(c => c.key === 'session');
4258
+ * ```
4259
+ *
4260
+ * @see {@link setCookies} - Set cookies in the jar
4261
+ * @see {@link cookieJar} - Access the underlying RezoCookieJar for more methods
4262
+ */
4263
+ getCookies(): Cookies;
4165
4264
  }
4166
4265
  /**
4167
4266
  * Extended Rezo instance with Axios-compatible static helpers.
@@ -4162,6 +4162,105 @@ export declare class Rezo {
4162
4162
  * ```
4163
4163
  */
4164
4164
  upload(url: string | URL, data: Buffer | FormData | RezoFormData | string | Record<string, any>, options?: RezoHttpRequest): RezoUploadResponse;
4165
+ /**
4166
+ * Set cookies in the cookie jar from various input formats.
4167
+ *
4168
+ * This method accepts multiple input formats for maximum flexibility:
4169
+ * - **Netscape cookie file content** (string): Full cookie file content in Netscape format
4170
+ * - **Set-Cookie header array** (string[]): Array of Set-Cookie header values
4171
+ * - **Serialized cookie objects** (SerializedCookie[]): Array of plain objects with cookie properties
4172
+ * - **Cookie instances** (Cookie[]): Array of Cookie class instances
4173
+ *
4174
+ * @param cookies - Cookies to set in one of the supported formats
4175
+ * @param url - Optional URL context for the cookies (used for domain/path inference)
4176
+ * @param startNew - If true, clears all existing cookies before setting new ones (default: false)
4177
+ *
4178
+ * @example
4179
+ * ```typescript
4180
+ * // From Netscape cookie file content
4181
+ * const netscapeContent = `# Netscape HTTP Cookie File
4182
+ * .example.com\tTRUE\t/\tFALSE\t0\tsession\tabc123`;
4183
+ * rezo.setCookies(netscapeContent);
4184
+ *
4185
+ * // From Set-Cookie header array
4186
+ * rezo.setCookies([
4187
+ * 'session=abc123; Domain=example.com; Path=/; HttpOnly',
4188
+ * 'user=john; Domain=example.com; Path=/; Max-Age=3600'
4189
+ * ], 'https://example.com');
4190
+ *
4191
+ * // From serialized cookie objects
4192
+ * rezo.setCookies([
4193
+ * { key: 'session', value: 'abc123', domain: 'example.com', path: '/' },
4194
+ * { key: 'user', value: 'john', domain: 'example.com', path: '/', maxAge: 3600 }
4195
+ * ]);
4196
+ *
4197
+ * // From Cookie instances
4198
+ * import { Cookie } from 'rezo';
4199
+ * const cookie = new Cookie({ key: 'token', value: 'xyz789', domain: 'api.example.com' });
4200
+ * rezo.setCookies([cookie]);
4201
+ *
4202
+ * // Replace all cookies (startNew = true)
4203
+ * rezo.setCookies([{ key: 'new', value: 'cookie' }], undefined, true);
4204
+ * ```
4205
+ *
4206
+ * @see {@link getCookies} - Retrieve cookies from the jar
4207
+ * @see {@link RezoCookieJar} - The underlying cookie jar class
4208
+ */
4209
+ setCookies(stringCookies: string): void;
4210
+ setCookies(stringCookies: string, url: string, startNew?: boolean): void;
4211
+ setCookies(serializedStringCookiesCookies: string, url: string | undefined, startNew: boolean): void;
4212
+ setCookies(serializedCookies: SerializedCookie[]): void;
4213
+ setCookies(serializedCookies: SerializedCookie[], url: string, startNew?: boolean): void;
4214
+ setCookies(serializedCookies: SerializedCookie[], url: string | undefined, startNew: boolean): void;
4215
+ setCookies(cookies: Cookie[]): void;
4216
+ setCookies(cookies: Cookie[], url: string, startNew?: boolean): void;
4217
+ setCookies(cookies: Cookie[], url: string | undefined, startNew: boolean): void;
4218
+ setCookies(setCookieArray: string[]): void;
4219
+ setCookies(setCookieArray: string[], url: string, startNew?: boolean): void;
4220
+ setCookies(setCookieArray: string[], url: string | undefined, startNew: boolean): void;
4221
+ /**
4222
+ * Get all cookies from the cookie jar.
4223
+ *
4224
+ * Returns a `Cookies` object where keys are domain names and values are
4225
+ * arrays of Cookie objects for that domain. This provides easy access to
4226
+ * all stored cookies for inspection, serialization, or manual manipulation.
4227
+ *
4228
+ * @returns A Cookies object mapping domains to their Cookie arrays
4229
+ *
4230
+ * @example
4231
+ * ```typescript
4232
+ * // Get all cookies
4233
+ * const cookies = rezo.getCookies();
4234
+ *
4235
+ * // Access cookies for a specific domain
4236
+ * const exampleCookies = cookies['example.com'];
4237
+ * if (exampleCookies) {
4238
+ * for (const cookie of exampleCookies) {
4239
+ * console.log(`${cookie.key}=${cookie.value}`);
4240
+ * }
4241
+ * }
4242
+ *
4243
+ * // List all domains with cookies
4244
+ * const domains = Object.keys(cookies);
4245
+ * console.log('Cookies stored for:', domains);
4246
+ *
4247
+ * // Count total cookies
4248
+ * const totalCookies = Object.values(cookies)
4249
+ * .reduce((sum, arr) => sum + arr.length, 0);
4250
+ * console.log(`Total cookies: ${totalCookies}`);
4251
+ *
4252
+ * // Serialize all cookies to JSON
4253
+ * const serialized = JSON.stringify(cookies);
4254
+ *
4255
+ * // Check if a specific cookie exists
4256
+ * const hasSession = cookies['example.com']
4257
+ * ?.some(c => c.key === 'session');
4258
+ * ```
4259
+ *
4260
+ * @see {@link setCookies} - Set cookies in the jar
4261
+ * @see {@link cookieJar} - Access the underlying RezoCookieJar for more methods
4262
+ */
4263
+ getCookies(): Cookies;
4165
4264
  }
4166
4265
  /**
4167
4266
  * Extended Rezo instance with Axios-compatible static helpers.
@@ -1,36 +1,36 @@
1
- const _mod_i0kcb2 = require('./crawler.cjs');
2
- exports.Crawler = _mod_i0kcb2.Crawler;;
3
- const _mod_14ytnz = require('./crawler-options.cjs');
4
- exports.CrawlerOptions = _mod_14ytnz.CrawlerOptions;;
5
- const _mod_867aig = require('../cache/file-cacher.cjs');
6
- exports.FileCacher = _mod_867aig.FileCacher;;
7
- const _mod_13sufv = require('../cache/url-store.cjs');
8
- exports.UrlStore = _mod_13sufv.UrlStore;;
9
- const _mod_gs5h0k = require('./addon/oxylabs/index.cjs');
10
- exports.Oxylabs = _mod_gs5h0k.Oxylabs;;
11
- const _mod_qxa83e = require('./addon/oxylabs/options.cjs');
12
- exports.OXYLABS_BROWSER_TYPES = _mod_qxa83e.OXYLABS_BROWSER_TYPES;
13
- exports.OXYLABS_COMMON_LOCALES = _mod_qxa83e.OXYLABS_COMMON_LOCALES;
14
- exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_qxa83e.OXYLABS_COMMON_GEO_LOCATIONS;
15
- exports.OXYLABS_US_STATES = _mod_qxa83e.OXYLABS_US_STATES;
16
- exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_qxa83e.OXYLABS_EUROPEAN_COUNTRIES;
17
- exports.OXYLABS_ASIAN_COUNTRIES = _mod_qxa83e.OXYLABS_ASIAN_COUNTRIES;
18
- exports.getRandomOxylabsBrowserType = _mod_qxa83e.getRandomBrowserType;
19
- exports.getRandomOxylabsLocale = _mod_qxa83e.getRandomLocale;
20
- exports.getRandomOxylabsGeoLocation = _mod_qxa83e.getRandomGeoLocation;;
21
- const _mod_ahgfkf = require('./addon/decodo/index.cjs');
22
- exports.Decodo = _mod_ahgfkf.Decodo;;
23
- const _mod_qxd7gy = require('./addon/decodo/options.cjs');
24
- exports.DECODO_DEVICE_TYPES = _mod_qxd7gy.DECODO_DEVICE_TYPES;
25
- exports.DECODO_HEADLESS_MODES = _mod_qxd7gy.DECODO_HEADLESS_MODES;
26
- exports.DECODO_COMMON_LOCALES = _mod_qxd7gy.DECODO_COMMON_LOCALES;
27
- exports.DECODO_COMMON_COUNTRIES = _mod_qxd7gy.DECODO_COMMON_COUNTRIES;
28
- exports.DECODO_EUROPEAN_COUNTRIES = _mod_qxd7gy.DECODO_EUROPEAN_COUNTRIES;
29
- exports.DECODO_ASIAN_COUNTRIES = _mod_qxd7gy.DECODO_ASIAN_COUNTRIES;
30
- exports.DECODO_US_STATES = _mod_qxd7gy.DECODO_US_STATES;
31
- exports.DECODO_COMMON_CITIES = _mod_qxd7gy.DECODO_COMMON_CITIES;
32
- exports.getRandomDecodoDeviceType = _mod_qxd7gy.getRandomDeviceType;
33
- exports.getRandomDecodoLocale = _mod_qxd7gy.getRandomLocale;
34
- exports.getRandomDecodoCountry = _mod_qxd7gy.getRandomCountry;
35
- exports.getRandomDecodoCity = _mod_qxd7gy.getRandomCity;
36
- exports.generateDecodoSessionId = _mod_qxd7gy.generateSessionId;;
1
+ const _mod_79f4xa = require('./crawler.cjs');
2
+ exports.Crawler = _mod_79f4xa.Crawler;;
3
+ const _mod_yfdsv8 = require('./crawler-options.cjs');
4
+ exports.CrawlerOptions = _mod_yfdsv8.CrawlerOptions;;
5
+ const _mod_53b336 = require('../cache/file-cacher.cjs');
6
+ exports.FileCacher = _mod_53b336.FileCacher;;
7
+ const _mod_kb46wp = require('../cache/url-store.cjs');
8
+ exports.UrlStore = _mod_kb46wp.UrlStore;;
9
+ const _mod_4x7iom = require('./addon/oxylabs/index.cjs');
10
+ exports.Oxylabs = _mod_4x7iom.Oxylabs;;
11
+ const _mod_mgrqmg = require('./addon/oxylabs/options.cjs');
12
+ exports.OXYLABS_BROWSER_TYPES = _mod_mgrqmg.OXYLABS_BROWSER_TYPES;
13
+ exports.OXYLABS_COMMON_LOCALES = _mod_mgrqmg.OXYLABS_COMMON_LOCALES;
14
+ exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_mgrqmg.OXYLABS_COMMON_GEO_LOCATIONS;
15
+ exports.OXYLABS_US_STATES = _mod_mgrqmg.OXYLABS_US_STATES;
16
+ exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_mgrqmg.OXYLABS_EUROPEAN_COUNTRIES;
17
+ exports.OXYLABS_ASIAN_COUNTRIES = _mod_mgrqmg.OXYLABS_ASIAN_COUNTRIES;
18
+ exports.getRandomOxylabsBrowserType = _mod_mgrqmg.getRandomBrowserType;
19
+ exports.getRandomOxylabsLocale = _mod_mgrqmg.getRandomLocale;
20
+ exports.getRandomOxylabsGeoLocation = _mod_mgrqmg.getRandomGeoLocation;;
21
+ const _mod_gdccy8 = require('./addon/decodo/index.cjs');
22
+ exports.Decodo = _mod_gdccy8.Decodo;;
23
+ const _mod_g0kkdi = require('./addon/decodo/options.cjs');
24
+ exports.DECODO_DEVICE_TYPES = _mod_g0kkdi.DECODO_DEVICE_TYPES;
25
+ exports.DECODO_HEADLESS_MODES = _mod_g0kkdi.DECODO_HEADLESS_MODES;
26
+ exports.DECODO_COMMON_LOCALES = _mod_g0kkdi.DECODO_COMMON_LOCALES;
27
+ exports.DECODO_COMMON_COUNTRIES = _mod_g0kkdi.DECODO_COMMON_COUNTRIES;
28
+ exports.DECODO_EUROPEAN_COUNTRIES = _mod_g0kkdi.DECODO_EUROPEAN_COUNTRIES;
29
+ exports.DECODO_ASIAN_COUNTRIES = _mod_g0kkdi.DECODO_ASIAN_COUNTRIES;
30
+ exports.DECODO_US_STATES = _mod_g0kkdi.DECODO_US_STATES;
31
+ exports.DECODO_COMMON_CITIES = _mod_g0kkdi.DECODO_COMMON_CITIES;
32
+ exports.getRandomDecodoDeviceType = _mod_g0kkdi.getRandomDeviceType;
33
+ exports.getRandomDecodoLocale = _mod_g0kkdi.getRandomLocale;
34
+ exports.getRandomDecodoCountry = _mod_g0kkdi.getRandomCountry;
35
+ exports.getRandomDecodoCity = _mod_g0kkdi.getRandomCity;
36
+ exports.generateDecodoSessionId = _mod_g0kkdi.generateSessionId;;
@@ -1,8 +1,8 @@
1
1
  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
- const _mod_q67845 = require('./manager.cjs');
5
- exports.ProxyManager = _mod_q67845.ProxyManager;;
4
+ const _mod_gjdnh6 = require('./manager.cjs');
5
+ exports.ProxyManager = _mod_gjdnh6.ProxyManager;;
6
6
  function createOptions(uri, opts) {
7
7
  if (uri instanceof URL || typeof uri === "string") {
8
8
  return {
@@ -1,8 +1,8 @@
1
- const _mod_8w1apj = require('./queue.cjs');
2
- exports.RezoQueue = _mod_8w1apj.RezoQueue;;
3
- const _mod_ggntq2 = require('./http-queue.cjs');
4
- exports.HttpQueue = _mod_ggntq2.HttpQueue;
5
- exports.extractDomain = _mod_ggntq2.extractDomain;;
6
- const _mod_rjerob = require('./types.cjs');
7
- exports.Priority = _mod_rjerob.Priority;
8
- exports.HttpMethodPriority = _mod_rjerob.HttpMethodPriority;;
1
+ const _mod_q5mvy7 = require('./queue.cjs');
2
+ exports.RezoQueue = _mod_q5mvy7.RezoQueue;;
3
+ const _mod_3j82w3 = require('./http-queue.cjs');
4
+ exports.HttpQueue = _mod_3j82w3.HttpQueue;
5
+ exports.extractDomain = _mod_3j82w3.extractDomain;;
6
+ const _mod_vq2bps = require('./types.cjs');
7
+ exports.Priority = _mod_vq2bps.Priority;
8
+ exports.HttpMethodPriority = _mod_vq2bps.HttpMethodPriority;;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rezo",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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",