rezo 1.0.73 → 1.0.75

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.
Files changed (44) hide show
  1. package/dist/adapters/entries/curl.d.ts +4 -1
  2. package/dist/adapters/entries/fetch.d.ts +4 -1
  3. package/dist/adapters/entries/http.d.ts +4 -1
  4. package/dist/adapters/entries/http2.d.ts +4 -1
  5. package/dist/adapters/entries/react-native.d.ts +4 -1
  6. package/dist/adapters/entries/xhr.d.ts +4 -1
  7. package/dist/adapters/http.cjs +2 -1
  8. package/dist/adapters/http.js +2 -1
  9. package/dist/adapters/index.cjs +6 -6
  10. package/dist/cache/index.cjs +9 -9
  11. package/dist/crawler/crawler-options.cjs +1 -1
  12. package/dist/crawler/crawler-options.js +1 -1
  13. package/dist/crawler/crawler.cjs +92 -11
  14. package/dist/crawler/crawler.js +92 -11
  15. package/dist/crawler/index.cjs +40 -40
  16. package/dist/crawler/plugin/index.cjs +1 -1
  17. package/dist/crawler.d.ts +105 -0
  18. package/dist/entries/crawler.cjs +4 -4
  19. package/dist/errors/rezo-error.cjs +3 -72
  20. package/dist/errors/rezo-error.js +3 -72
  21. package/dist/index.cjs +30 -30
  22. package/dist/index.d.ts +4 -1
  23. package/dist/internal/agents/bun-socks-http.cjs +573 -0
  24. package/dist/internal/agents/bun-socks-http.js +570 -0
  25. package/dist/internal/agents/index.cjs +14 -10
  26. package/dist/internal/agents/index.js +1 -0
  27. package/dist/platform/browser.d.ts +4 -1
  28. package/dist/platform/bun.d.ts +4 -1
  29. package/dist/platform/deno.d.ts +4 -1
  30. package/dist/platform/node.d.ts +4 -1
  31. package/dist/platform/react-native.d.ts +4 -1
  32. package/dist/platform/worker.d.ts +4 -1
  33. package/dist/proxy/index.cjs +4 -4
  34. package/dist/queue/index.cjs +8 -8
  35. package/dist/queue/queue.cjs +4 -1
  36. package/dist/queue/queue.js +4 -1
  37. package/dist/responses/universal/index.cjs +11 -11
  38. package/dist/utils/agent-pool.cjs +35 -0
  39. package/dist/utils/agent-pool.js +35 -0
  40. package/dist/version.cjs +1 -1
  41. package/dist/version.js +1 -1
  42. package/dist/wget/index.cjs +49 -49
  43. package/dist/wget/index.d.ts +3 -0
  44. package/package.json +1 -1
@@ -1997,6 +1997,8 @@ export declare class RezoError<T = any> extends Error {
1997
1997
  * Queue configuration options
1998
1998
  */
1999
1999
  export interface QueueConfig {
2000
+ /** Name of the queue - useful for debugging and logging */
2001
+ name?: string;
2000
2002
  /** Maximum concurrent tasks (default: Infinity) */
2001
2003
  concurrency?: number;
2002
2004
  /** Auto-start processing when tasks are added (default: true) */
@@ -2127,6 +2129,7 @@ declare class RezoQueue<T = any> {
2127
2129
  private isPausedFlag;
2128
2130
  private intervalId?;
2129
2131
  private intervalCount;
2132
+ readonly name: string;
2130
2133
  private intervalStart;
2131
2134
  private eventHandlers;
2132
2135
  private statsData;
@@ -4579,7 +4582,7 @@ export interface RezoInstance extends Rezo {
4579
4582
  *
4580
4583
  * IMPORTANT: Update these values when bumping package version.
4581
4584
  */
4582
- export declare const VERSION = "1.0.73";
4585
+ export declare const VERSION = "1.0.75";
4583
4586
  export declare const isRezoError: typeof RezoError.isRezoError;
4584
4587
  export declare const Cancel: typeof RezoError;
4585
4588
  export declare const CancelToken: {
@@ -1997,6 +1997,8 @@ export declare class RezoError<T = any> extends Error {
1997
1997
  * Queue configuration options
1998
1998
  */
1999
1999
  export interface QueueConfig {
2000
+ /** Name of the queue - useful for debugging and logging */
2001
+ name?: string;
2000
2002
  /** Maximum concurrent tasks (default: Infinity) */
2001
2003
  concurrency?: number;
2002
2004
  /** Auto-start processing when tasks are added (default: true) */
@@ -2127,6 +2129,7 @@ declare class RezoQueue<T = any> {
2127
2129
  private isPausedFlag;
2128
2130
  private intervalId?;
2129
2131
  private intervalCount;
2132
+ readonly name: string;
2130
2133
  private intervalStart;
2131
2134
  private eventHandlers;
2132
2135
  private statsData;
@@ -4579,7 +4582,7 @@ export interface RezoInstance extends Rezo {
4579
4582
  *
4580
4583
  * IMPORTANT: Update these values when bumping package version.
4581
4584
  */
4582
- export declare const VERSION = "1.0.73";
4585
+ export declare const VERSION = "1.0.75";
4583
4586
  export declare const isRezoError: typeof RezoError.isRezoError;
4584
4587
  export declare const Cancel: typeof RezoError;
4585
4588
  export declare const CancelToken: {
@@ -1,9 +1,9 @@
1
1
  const { Agent, HttpProxyAgent, HttpsProxyAgent, SocksProxyAgent } = require('../internal/agents/index.cjs');
2
2
  const { parseProxyString } = require('./parse.cjs');
3
- const _mod_822tv1 = require('./manager.cjs');
4
- exports.ProxyManager = _mod_822tv1.ProxyManager;;
5
- const _mod_nv2yd4 = require('./parse.cjs');
6
- exports.parseProxyString = _mod_nv2yd4.parseProxyString;;
3
+ const _mod_uo153k = require('./manager.cjs');
4
+ exports.ProxyManager = _mod_uo153k.ProxyManager;;
5
+ const _mod_xfjlaw = require('./parse.cjs');
6
+ exports.parseProxyString = _mod_xfjlaw.parseProxyString;;
7
7
  function createOptions(uri, opts) {
8
8
  if (uri instanceof URL || typeof uri === "string") {
9
9
  return {
@@ -1,8 +1,8 @@
1
- const _mod_sdhfnz = require('./queue.cjs');
2
- exports.RezoQueue = _mod_sdhfnz.RezoQueue;;
3
- const _mod_7ea16t = require('./http-queue.cjs');
4
- exports.HttpQueue = _mod_7ea16t.HttpQueue;
5
- exports.extractDomain = _mod_7ea16t.extractDomain;;
6
- const _mod_juhwej = require('./types.cjs');
7
- exports.Priority = _mod_juhwej.Priority;
8
- exports.HttpMethodPriority = _mod_juhwej.HttpMethodPriority;;
1
+ const _mod_w3qnh6 = require('./queue.cjs');
2
+ exports.RezoQueue = _mod_w3qnh6.RezoQueue;;
3
+ const _mod_x203fi = require('./http-queue.cjs');
4
+ exports.HttpQueue = _mod_x203fi.HttpQueue;
5
+ exports.extractDomain = _mod_x203fi.extractDomain;;
6
+ const _mod_img89y = require('./types.cjs');
7
+ exports.Priority = _mod_img89y.Priority;
8
+ exports.HttpMethodPriority = _mod_img89y.HttpMethodPriority;;
@@ -8,6 +8,7 @@ class RezoQueue {
8
8
  isPausedFlag = false;
9
9
  intervalId;
10
10
  intervalCount = 0;
11
+ name;
11
12
  intervalStart = 0;
12
13
  eventHandlers = new Map;
13
14
  statsData = {
@@ -28,7 +29,9 @@ class RezoQueue {
28
29
  hasEverBeenActive = false;
29
30
  config;
30
31
  constructor(config = {}) {
32
+ this.name = config.name ?? `queue-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 9)}`;
31
33
  this.config = {
34
+ name: this.name,
32
35
  concurrency: config.concurrency ?? 1 / 0,
33
36
  autoStart: config.autoStart ?? true,
34
37
  timeout: config.timeout ?? 0,
@@ -36,7 +39,7 @@ class RezoQueue {
36
39
  interval: config.interval ?? 0,
37
40
  intervalCap: config.intervalCap ?? 1 / 0,
38
41
  carryoverConcurrencyCount: config.carryoverConcurrencyCount ?? false,
39
- rejectOnError: config.rejectOnError ?? false
42
+ rejectOnError: config.rejectOnError ?? true
40
43
  };
41
44
  if (!this.config.autoStart) {
42
45
  this.isPausedFlag = true;
@@ -8,6 +8,7 @@ export class RezoQueue {
8
8
  isPausedFlag = false;
9
9
  intervalId;
10
10
  intervalCount = 0;
11
+ name;
11
12
  intervalStart = 0;
12
13
  eventHandlers = new Map;
13
14
  statsData = {
@@ -28,7 +29,9 @@ export class RezoQueue {
28
29
  hasEverBeenActive = false;
29
30
  config;
30
31
  constructor(config = {}) {
32
+ this.name = config.name ?? `queue-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 9)}`;
31
33
  this.config = {
34
+ name: this.name,
32
35
  concurrency: config.concurrency ?? 1 / 0,
33
36
  autoStart: config.autoStart ?? true,
34
37
  timeout: config.timeout ?? 0,
@@ -36,7 +39,7 @@ export class RezoQueue {
36
39
  interval: config.interval ?? 0,
37
40
  intervalCap: config.intervalCap ?? 1 / 0,
38
41
  carryoverConcurrencyCount: config.carryoverConcurrencyCount ?? false,
39
- rejectOnError: config.rejectOnError ?? false
42
+ rejectOnError: config.rejectOnError ?? true
40
43
  };
41
44
  if (!this.config.autoStart) {
42
45
  this.isPausedFlag = true;
@@ -1,11 +1,11 @@
1
- const _mod_inkbi3 = require('./event-emitter.cjs');
2
- exports.UniversalEventEmitter = _mod_inkbi3.UniversalEventEmitter;;
3
- const _mod_mpsc08 = require('./stream.cjs');
4
- exports.UniversalStreamResponse = _mod_mpsc08.UniversalStreamResponse;
5
- exports.StreamResponse = _mod_mpsc08.StreamResponse;;
6
- const _mod_c99n0a = require('./download.cjs');
7
- exports.UniversalDownloadResponse = _mod_c99n0a.UniversalDownloadResponse;
8
- exports.DownloadResponse = _mod_c99n0a.DownloadResponse;;
9
- const _mod_c0t3t8 = require('./upload.cjs');
10
- exports.UniversalUploadResponse = _mod_c0t3t8.UniversalUploadResponse;
11
- exports.UploadResponse = _mod_c0t3t8.UploadResponse;;
1
+ const _mod_zdt3d3 = require('./event-emitter.cjs');
2
+ exports.UniversalEventEmitter = _mod_zdt3d3.UniversalEventEmitter;;
3
+ const _mod_jqm12n = require('./stream.cjs');
4
+ exports.UniversalStreamResponse = _mod_jqm12n.UniversalStreamResponse;
5
+ exports.StreamResponse = _mod_jqm12n.StreamResponse;;
6
+ const _mod_kj9otf = require('./download.cjs');
7
+ exports.UniversalDownloadResponse = _mod_kj9otf.UniversalDownloadResponse;
8
+ exports.DownloadResponse = _mod_kj9otf.DownloadResponse;;
9
+ const _mod_aqp3gl = require('./upload.cjs');
10
+ exports.UniversalUploadResponse = _mod_aqp3gl.UniversalUploadResponse;
11
+ exports.UploadResponse = _mod_aqp3gl.UploadResponse;;
@@ -1,5 +1,6 @@
1
1
  const http = require("node:http");
2
2
  const https = require("node:https");
3
+ const tls = require("node:tls");
3
4
  const { getGlobalDNSCache } = require('../cache/dns-cache.cjs');
4
5
  const DEFAULT_CONFIG = {
5
6
  keepAlive: true,
@@ -79,6 +80,39 @@ class AgentPool {
79
80
  });
80
81
  }
81
82
  createHttpsAgent(key, tlsOptions) {
83
+ const secureContext = tls.createSecureContext({
84
+ ecdhCurve: "X25519:prime256v1:secp384r1",
85
+ ciphers: [
86
+ "TLS_AES_128_GCM_SHA256",
87
+ "TLS_AES_256_GCM_SHA384",
88
+ "TLS_CHACHA20_POLY1305_SHA256",
89
+ "ECDHE-ECDSA-AES128-GCM-SHA256",
90
+ "ECDHE-RSA-AES128-GCM-SHA256",
91
+ "ECDHE-ECDSA-AES256-GCM-SHA384",
92
+ "ECDHE-RSA-AES256-GCM-SHA384",
93
+ "ECDHE-ECDSA-CHACHA20-POLY1305",
94
+ "ECDHE-RSA-CHACHA20-POLY1305",
95
+ "ECDHE-RSA-AES128-SHA",
96
+ "ECDHE-RSA-AES256-SHA",
97
+ "AES128-GCM-SHA256",
98
+ "AES256-GCM-SHA384",
99
+ "AES128-SHA",
100
+ "AES256-SHA"
101
+ ].join(":"),
102
+ sigalgs: [
103
+ "ecdsa_secp256r1_sha256",
104
+ "ecdsa_secp384r1_sha384",
105
+ "rsa_pss_rsae_sha256",
106
+ "rsa_pss_rsae_sha384",
107
+ "rsa_pss_rsae_sha512",
108
+ "rsa_pkcs1_sha256",
109
+ "rsa_pkcs1_sha384",
110
+ "rsa_pkcs1_sha512"
111
+ ].join(":"),
112
+ minVersion: "TLSv1.2",
113
+ maxVersion: "TLSv1.3",
114
+ sessionTimeout: 3600
115
+ });
82
116
  const agentOptions = {
83
117
  keepAlive: this.config.keepAlive,
84
118
  keepAliveMsecs: this.config.keepAliveMsecs,
@@ -86,6 +120,7 @@ class AgentPool {
86
120
  maxFreeSockets: this.config.maxFreeSockets,
87
121
  timeout: this.config.timeout,
88
122
  scheduling: this.config.scheduling,
123
+ secureContext,
89
124
  ...tlsOptions
90
125
  };
91
126
  const lookup = this.createLookupFunction();
@@ -1,5 +1,6 @@
1
1
  import * as http from "node:http";
2
2
  import * as https from "node:https";
3
+ import * as tls from "node:tls";
3
4
  import { getGlobalDNSCache } from '../cache/dns-cache.js';
4
5
  const DEFAULT_CONFIG = {
5
6
  keepAlive: true,
@@ -79,6 +80,39 @@ class AgentPool {
79
80
  });
80
81
  }
81
82
  createHttpsAgent(key, tlsOptions) {
83
+ const secureContext = tls.createSecureContext({
84
+ ecdhCurve: "X25519:prime256v1:secp384r1",
85
+ ciphers: [
86
+ "TLS_AES_128_GCM_SHA256",
87
+ "TLS_AES_256_GCM_SHA384",
88
+ "TLS_CHACHA20_POLY1305_SHA256",
89
+ "ECDHE-ECDSA-AES128-GCM-SHA256",
90
+ "ECDHE-RSA-AES128-GCM-SHA256",
91
+ "ECDHE-ECDSA-AES256-GCM-SHA384",
92
+ "ECDHE-RSA-AES256-GCM-SHA384",
93
+ "ECDHE-ECDSA-CHACHA20-POLY1305",
94
+ "ECDHE-RSA-CHACHA20-POLY1305",
95
+ "ECDHE-RSA-AES128-SHA",
96
+ "ECDHE-RSA-AES256-SHA",
97
+ "AES128-GCM-SHA256",
98
+ "AES256-GCM-SHA384",
99
+ "AES128-SHA",
100
+ "AES256-SHA"
101
+ ].join(":"),
102
+ sigalgs: [
103
+ "ecdsa_secp256r1_sha256",
104
+ "ecdsa_secp384r1_sha384",
105
+ "rsa_pss_rsae_sha256",
106
+ "rsa_pss_rsae_sha384",
107
+ "rsa_pss_rsae_sha512",
108
+ "rsa_pkcs1_sha256",
109
+ "rsa_pkcs1_sha384",
110
+ "rsa_pkcs1_sha512"
111
+ ].join(":"),
112
+ minVersion: "TLSv1.2",
113
+ maxVersion: "TLSv1.3",
114
+ sessionTimeout: 3600
115
+ });
82
116
  const agentOptions = {
83
117
  keepAlive: this.config.keepAlive,
84
118
  keepAliveMsecs: this.config.keepAliveMsecs,
@@ -86,6 +120,7 @@ class AgentPool {
86
120
  maxFreeSockets: this.config.maxFreeSockets,
87
121
  timeout: this.config.timeout,
88
122
  scheduling: this.config.scheduling,
123
+ secureContext,
89
124
  ...tlsOptions
90
125
  };
91
126
  const lookup = this.createLookupFunction();
package/dist/version.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const VERSION = exports.VERSION = "1.0.73";
1
+ const VERSION = exports.VERSION = "1.0.75";
2
2
  const PACKAGE_NAME = exports.PACKAGE_NAME = "rezo";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "1.0.73";
1
+ export const VERSION = "1.0.75";
2
2
  export const PACKAGE_NAME = "rezo";
@@ -1,52 +1,52 @@
1
- const _mod_5ei63p = require('./types.cjs');
2
- exports.WgetError = _mod_5ei63p.WgetError;;
3
- const _mod_tutikq = require('./asset-extractor.cjs');
4
- exports.AssetExtractor = _mod_tutikq.AssetExtractor;;
5
- const _mod_o2ssmt = require('./url-filter.cjs');
6
- exports.UrlFilter = _mod_o2ssmt.UrlFilter;;
7
- const _mod_8pdoow = require('./file-writer.cjs');
8
- exports.FileWriter = _mod_8pdoow.FileWriter;;
9
- const _mod_hb8okl = require('./robots.cjs');
10
- exports.RobotsHandler = _mod_hb8okl.RobotsHandler;;
11
- const _mod_6w54ca = require('./resume.cjs');
12
- exports.ResumeHandler = _mod_6w54ca.ResumeHandler;;
13
- const _mod_ivqayl = require('./progress.cjs');
14
- exports.ProgressReporter = _mod_ivqayl.ProgressReporter;
15
- exports.ProgressTracker = _mod_ivqayl.ProgressTracker;
16
- exports.parseSize = _mod_ivqayl.parseSize;;
17
- const _mod_75fsyq = require('./link-converter.cjs');
18
- exports.LinkConverter = _mod_75fsyq.LinkConverter;;
19
- const _mod_bfrkpp = require('./downloader.cjs');
20
- exports.Downloader = _mod_bfrkpp.Downloader;;
21
- const _mod_ym1dyu = require('./asset-organizer.cjs');
22
- exports.AssetOrganizer = _mod_ym1dyu.AssetOrganizer;
23
- exports.DEFAULT_ASSET_FOLDERS = _mod_ym1dyu.DEFAULT_ASSET_FOLDERS;;
24
- const _mod_hwajgz = require('./download-cache.cjs');
25
- exports.DownloadCache = _mod_hwajgz.DownloadCache;;
26
- const _mod_kb7vuw = require('./filter-lists.cjs');
27
- exports.EXECUTABLE_EXTENSIONS = _mod_kb7vuw.EXECUTABLE_EXTENSIONS;
28
- exports.ARCHIVE_EXTENSIONS = _mod_kb7vuw.ARCHIVE_EXTENSIONS;
29
- exports.DOCUMENT_EXTENSIONS = _mod_kb7vuw.DOCUMENT_EXTENSIONS;
30
- exports.IMAGE_EXTENSIONS = _mod_kb7vuw.IMAGE_EXTENSIONS;
31
- exports.VIDEO_EXTENSIONS = _mod_kb7vuw.VIDEO_EXTENSIONS;
32
- exports.AUDIO_EXTENSIONS = _mod_kb7vuw.AUDIO_EXTENSIONS;
33
- exports.FONT_EXTENSIONS = _mod_kb7vuw.FONT_EXTENSIONS;
34
- exports.WEB_ASSET_EXTENSIONS = _mod_kb7vuw.WEB_ASSET_EXTENSIONS;
35
- exports.DATA_EXTENSIONS = _mod_kb7vuw.DATA_EXTENSIONS;
36
- exports.EXECUTABLE_MIME_TYPES = _mod_kb7vuw.EXECUTABLE_MIME_TYPES;
37
- exports.ARCHIVE_MIME_TYPES = _mod_kb7vuw.ARCHIVE_MIME_TYPES;
38
- exports.DOCUMENT_MIME_TYPES = _mod_kb7vuw.DOCUMENT_MIME_TYPES;
39
- exports.IMAGE_MIME_TYPES = _mod_kb7vuw.IMAGE_MIME_TYPES;
40
- exports.VIDEO_MIME_TYPES = _mod_kb7vuw.VIDEO_MIME_TYPES;
41
- exports.AUDIO_MIME_TYPES = _mod_kb7vuw.AUDIO_MIME_TYPES;
42
- exports.FONT_MIME_TYPES = _mod_kb7vuw.FONT_MIME_TYPES;
43
- exports.WEB_ASSET_MIME_TYPES = _mod_kb7vuw.WEB_ASSET_MIME_TYPES;
44
- exports.DATA_MIME_TYPES = _mod_kb7vuw.DATA_MIME_TYPES;
45
- exports.SAFE_WEB_PRESET = _mod_kb7vuw.SAFE_WEB_PRESET;
46
- exports.DOCUMENTS_ONLY_PRESET = _mod_kb7vuw.DOCUMENTS_ONLY_PRESET;
47
- exports.NO_MEDIA_PRESET = _mod_kb7vuw.NO_MEDIA_PRESET;
48
- exports.MINIMAL_MIRROR_PRESET = _mod_kb7vuw.MINIMAL_MIRROR_PRESET;
49
- exports.TEXT_ONLY_PRESET = _mod_kb7vuw.TEXT_ONLY_PRESET;;
1
+ const _mod_ztixwb = require('./types.cjs');
2
+ exports.WgetError = _mod_ztixwb.WgetError;;
3
+ const _mod_ouxwai = require('./asset-extractor.cjs');
4
+ exports.AssetExtractor = _mod_ouxwai.AssetExtractor;;
5
+ const _mod_vud34h = require('./url-filter.cjs');
6
+ exports.UrlFilter = _mod_vud34h.UrlFilter;;
7
+ const _mod_uk7o0g = require('./file-writer.cjs');
8
+ exports.FileWriter = _mod_uk7o0g.FileWriter;;
9
+ const _mod_7740bo = require('./robots.cjs');
10
+ exports.RobotsHandler = _mod_7740bo.RobotsHandler;;
11
+ const _mod_cncezi = require('./resume.cjs');
12
+ exports.ResumeHandler = _mod_cncezi.ResumeHandler;;
13
+ const _mod_j5iw1v = require('./progress.cjs');
14
+ exports.ProgressReporter = _mod_j5iw1v.ProgressReporter;
15
+ exports.ProgressTracker = _mod_j5iw1v.ProgressTracker;
16
+ exports.parseSize = _mod_j5iw1v.parseSize;;
17
+ const _mod_9brr06 = require('./link-converter.cjs');
18
+ exports.LinkConverter = _mod_9brr06.LinkConverter;;
19
+ const _mod_hltp16 = require('./downloader.cjs');
20
+ exports.Downloader = _mod_hltp16.Downloader;;
21
+ const _mod_82n2w3 = require('./asset-organizer.cjs');
22
+ exports.AssetOrganizer = _mod_82n2w3.AssetOrganizer;
23
+ exports.DEFAULT_ASSET_FOLDERS = _mod_82n2w3.DEFAULT_ASSET_FOLDERS;;
24
+ const _mod_hxjv18 = require('./download-cache.cjs');
25
+ exports.DownloadCache = _mod_hxjv18.DownloadCache;;
26
+ const _mod_05idot = require('./filter-lists.cjs');
27
+ exports.EXECUTABLE_EXTENSIONS = _mod_05idot.EXECUTABLE_EXTENSIONS;
28
+ exports.ARCHIVE_EXTENSIONS = _mod_05idot.ARCHIVE_EXTENSIONS;
29
+ exports.DOCUMENT_EXTENSIONS = _mod_05idot.DOCUMENT_EXTENSIONS;
30
+ exports.IMAGE_EXTENSIONS = _mod_05idot.IMAGE_EXTENSIONS;
31
+ exports.VIDEO_EXTENSIONS = _mod_05idot.VIDEO_EXTENSIONS;
32
+ exports.AUDIO_EXTENSIONS = _mod_05idot.AUDIO_EXTENSIONS;
33
+ exports.FONT_EXTENSIONS = _mod_05idot.FONT_EXTENSIONS;
34
+ exports.WEB_ASSET_EXTENSIONS = _mod_05idot.WEB_ASSET_EXTENSIONS;
35
+ exports.DATA_EXTENSIONS = _mod_05idot.DATA_EXTENSIONS;
36
+ exports.EXECUTABLE_MIME_TYPES = _mod_05idot.EXECUTABLE_MIME_TYPES;
37
+ exports.ARCHIVE_MIME_TYPES = _mod_05idot.ARCHIVE_MIME_TYPES;
38
+ exports.DOCUMENT_MIME_TYPES = _mod_05idot.DOCUMENT_MIME_TYPES;
39
+ exports.IMAGE_MIME_TYPES = _mod_05idot.IMAGE_MIME_TYPES;
40
+ exports.VIDEO_MIME_TYPES = _mod_05idot.VIDEO_MIME_TYPES;
41
+ exports.AUDIO_MIME_TYPES = _mod_05idot.AUDIO_MIME_TYPES;
42
+ exports.FONT_MIME_TYPES = _mod_05idot.FONT_MIME_TYPES;
43
+ exports.WEB_ASSET_MIME_TYPES = _mod_05idot.WEB_ASSET_MIME_TYPES;
44
+ exports.DATA_MIME_TYPES = _mod_05idot.DATA_MIME_TYPES;
45
+ exports.SAFE_WEB_PRESET = _mod_05idot.SAFE_WEB_PRESET;
46
+ exports.DOCUMENTS_ONLY_PRESET = _mod_05idot.DOCUMENTS_ONLY_PRESET;
47
+ exports.NO_MEDIA_PRESET = _mod_05idot.NO_MEDIA_PRESET;
48
+ exports.MINIMAL_MIRROR_PRESET = _mod_05idot.MINIMAL_MIRROR_PRESET;
49
+ exports.TEXT_ONLY_PRESET = _mod_05idot.TEXT_ONLY_PRESET;;
50
50
  const { Downloader } = require('./downloader.cjs');
51
51
  const rezo = require('../index.cjs');
52
52
  const { promises: fs } = require("node:fs");
@@ -4704,6 +4704,8 @@ declare class RezoError<T = any> extends Error {
4704
4704
  * Queue configuration options
4705
4705
  */
4706
4706
  export interface QueueConfig {
4707
+ /** Name of the queue - useful for debugging and logging */
4708
+ name?: string;
4707
4709
  /** Maximum concurrent tasks (default: Infinity) */
4708
4710
  concurrency?: number;
4709
4711
  /** Auto-start processing when tasks are added (default: true) */
@@ -4834,6 +4836,7 @@ declare class RezoQueue<T = any> {
4834
4836
  private isPausedFlag;
4835
4837
  private intervalId?;
4836
4838
  private intervalCount;
4839
+ readonly name: string;
4837
4840
  private intervalStart;
4838
4841
  private eventHandlers;
4839
4842
  private statsData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rezo",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
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",