rezo 1.0.140 → 1.0.141
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/adapters/entries/curl.d.ts +1 -1
- package/dist/adapters/entries/fetch.d.ts +1 -1
- package/dist/adapters/entries/http.d.ts +1 -1
- package/dist/adapters/entries/http2.d.ts +1 -1
- package/dist/adapters/entries/react-native.cjs +6 -6
- package/dist/adapters/entries/react-native.d.ts +1 -1
- package/dist/adapters/entries/xhr.d.ts +1 -1
- package/dist/adapters/http2.cjs +4 -0
- package/dist/adapters/http2.js +4 -0
- package/dist/adapters/index.cjs +10 -10
- package/dist/cache/index.cjs +9 -9
- package/dist/cookies/cookie-jar.cjs +4 -4
- package/dist/cookies/index.cjs +10 -10
- package/dist/crawler/addon/decodo/index.cjs +1 -1
- package/dist/crawler/addon/oxylabs/index.cjs +1 -1
- package/dist/crawler/index.cjs +42 -42
- package/dist/crawler/plugin/index.cjs +1 -1
- package/dist/entries/crawler.cjs +24 -24
- package/dist/index.cjs +58 -58
- package/dist/index.d.ts +1 -1
- package/dist/internal/agents/index.cjs +18 -18
- package/dist/platform/browser.d.ts +1 -1
- package/dist/platform/bun.d.ts +1 -1
- package/dist/platform/deno.d.ts +1 -1
- package/dist/platform/node.d.ts +1 -1
- package/dist/platform/react-native.cjs +6 -6
- package/dist/platform/react-native.d.ts +1 -1
- package/dist/platform/worker.d.ts +1 -1
- package/dist/proxy/index.cjs +6 -6
- package/dist/queue/index.cjs +8 -8
- package/dist/responses/universal/index.cjs +11 -11
- package/dist/shared/index.cjs +17 -17
- package/dist/stealth/index.cjs +17 -17
- package/dist/stealth/profiles/index.cjs +10 -10
- package/dist/stealth/tls-fingerprint.cjs +17 -45
- package/dist/stealth/tls-fingerprint.js +17 -45
- package/dist/stealth/tls-material.cjs +77 -0
- package/dist/stealth/tls-material.js +74 -0
- package/dist/stealth/universal.cjs +17 -17
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/wget/index.cjs +51 -51
- package/package.json +1 -1
|
@@ -9012,7 +9012,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
9012
9012
|
*
|
|
9013
9013
|
* IMPORTANT: Update these values when bumping package version.
|
|
9014
9014
|
*/
|
|
9015
|
-
export declare const VERSION = "1.0.
|
|
9015
|
+
export declare const VERSION = "1.0.141";
|
|
9016
9016
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
9017
9017
|
export declare const Cancel: typeof RezoError;
|
|
9018
9018
|
export declare const CancelToken: {
|
|
@@ -6428,7 +6428,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
6428
6428
|
*
|
|
6429
6429
|
* IMPORTANT: Update these values when bumping package version.
|
|
6430
6430
|
*/
|
|
6431
|
-
export declare const VERSION = "1.0.
|
|
6431
|
+
export declare const VERSION = "1.0.141";
|
|
6432
6432
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
6433
6433
|
export declare const Cancel: typeof RezoError;
|
|
6434
6434
|
export declare const CancelToken: {
|
|
@@ -6503,7 +6503,7 @@ export declare function getSocketTelemetry(socket: Socket): SocketTelemetry | un
|
|
|
6503
6503
|
*
|
|
6504
6504
|
* IMPORTANT: Update these values when bumping package version.
|
|
6505
6505
|
*/
|
|
6506
|
-
export declare const VERSION = "1.0.
|
|
6506
|
+
export declare const VERSION = "1.0.141";
|
|
6507
6507
|
/**
|
|
6508
6508
|
* Type guard to check if an error is a RezoError instance.
|
|
6509
6509
|
*/
|
|
@@ -6469,7 +6469,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
6469
6469
|
*
|
|
6470
6470
|
* IMPORTANT: Update these values when bumping package version.
|
|
6471
6471
|
*/
|
|
6472
|
-
export declare const VERSION = "1.0.
|
|
6472
|
+
export declare const VERSION = "1.0.141";
|
|
6473
6473
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
6474
6474
|
export declare const Cancel: typeof RezoError;
|
|
6475
6475
|
export declare const CancelToken: {
|
|
@@ -6,12 +6,12 @@ const { RezoFormData } = require('../../utils/form-data.cjs');
|
|
|
6
6
|
const { RezoCookieJar, Cookie } = require('../../cookies/cookie-jar.cjs');
|
|
7
7
|
const { createDefaultHooks, mergeHooks } = require('../../core/hooks.cjs');
|
|
8
8
|
const { VERSION } = require('../../version.cjs');
|
|
9
|
-
const
|
|
10
|
-
exports.createFetchStreamTransport =
|
|
11
|
-
exports.createExpoFileSystemAdapter =
|
|
12
|
-
exports.createReactNativeFsAdapter =
|
|
13
|
-
exports.createNetInfoProvider =
|
|
14
|
-
exports.createExpoBackgroundTaskProvider =
|
|
9
|
+
const _mod_edrm1k = require('../../platform/react-native-providers.cjs');
|
|
10
|
+
exports.createFetchStreamTransport = _mod_edrm1k.createFetchStreamTransport;
|
|
11
|
+
exports.createExpoFileSystemAdapter = _mod_edrm1k.createExpoFileSystemAdapter;
|
|
12
|
+
exports.createReactNativeFsAdapter = _mod_edrm1k.createReactNativeFsAdapter;
|
|
13
|
+
exports.createNetInfoProvider = _mod_edrm1k.createNetInfoProvider;
|
|
14
|
+
exports.createExpoBackgroundTaskProvider = _mod_edrm1k.createExpoBackgroundTaskProvider;;
|
|
15
15
|
exports.Rezo = Rezo;
|
|
16
16
|
exports.RezoError = RezoError;
|
|
17
17
|
exports.RezoErrorCode = RezoErrorCode;
|
|
@@ -6428,7 +6428,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
6428
6428
|
*
|
|
6429
6429
|
* IMPORTANT: Update these values when bumping package version.
|
|
6430
6430
|
*/
|
|
6431
|
-
export declare const VERSION = "1.0.
|
|
6431
|
+
export declare const VERSION = "1.0.141";
|
|
6432
6432
|
export interface ExpoFileSystemFileLike {
|
|
6433
6433
|
uri?: string;
|
|
6434
6434
|
size?: number;
|
|
@@ -6428,7 +6428,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
6428
6428
|
*
|
|
6429
6429
|
* IMPORTANT: Update these values when bumping package version.
|
|
6430
6430
|
*/
|
|
6431
|
-
export declare const VERSION = "1.0.
|
|
6431
|
+
export declare const VERSION = "1.0.141";
|
|
6432
6432
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
6433
6433
|
export declare const Cancel: typeof RezoError;
|
|
6434
6434
|
export declare const CancelToken: {
|
package/dist/adapters/http2.cjs
CHANGED
|
@@ -877,8 +877,10 @@ class Http2SessionPool {
|
|
|
877
877
|
});
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
+
let proxyTunnel;
|
|
880
881
|
if (proxy) {
|
|
881
882
|
const establishedTunnel = await this.createProxyTunnel(url, proxy, establishmentDeadlineAt, options?.rejectUnauthorized, stealthProfile, creation);
|
|
883
|
+
proxyTunnel = establishedTunnel;
|
|
882
884
|
creation?.markSupersededResourcesDisposable();
|
|
883
885
|
sessionOptions.createConnection = () => establishedTunnel;
|
|
884
886
|
}
|
|
@@ -921,6 +923,7 @@ class Http2SessionPool {
|
|
|
921
923
|
reject(error);
|
|
922
924
|
return;
|
|
923
925
|
}
|
|
926
|
+
proxyTunnel?.resume();
|
|
924
927
|
settled = true;
|
|
925
928
|
if (timeoutId)
|
|
926
929
|
clearTimeout(timeoutId);
|
|
@@ -1199,6 +1202,7 @@ class Http2SessionPool {
|
|
|
1199
1202
|
clearTimeout(tlsTimeoutId);
|
|
1200
1203
|
reject(new Error("TLS handshake closed before completion"));
|
|
1201
1204
|
});
|
|
1205
|
+
proxySocket.resume();
|
|
1202
1206
|
} else {
|
|
1203
1207
|
resolve(proxySocket);
|
|
1204
1208
|
}
|
package/dist/adapters/http2.js
CHANGED
|
@@ -884,8 +884,10 @@ class Http2SessionPool {
|
|
|
884
884
|
});
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
|
+
let proxyTunnel;
|
|
887
888
|
if (proxy) {
|
|
888
889
|
const establishedTunnel = await this.createProxyTunnel(url, proxy, establishmentDeadlineAt, options?.rejectUnauthorized, stealthProfile, creation);
|
|
890
|
+
proxyTunnel = establishedTunnel;
|
|
889
891
|
creation?.markSupersededResourcesDisposable();
|
|
890
892
|
sessionOptions.createConnection = () => establishedTunnel;
|
|
891
893
|
}
|
|
@@ -928,6 +930,7 @@ class Http2SessionPool {
|
|
|
928
930
|
reject(error);
|
|
929
931
|
return;
|
|
930
932
|
}
|
|
933
|
+
proxyTunnel?.resume();
|
|
931
934
|
settled = true;
|
|
932
935
|
if (timeoutId)
|
|
933
936
|
clearTimeout(timeoutId);
|
|
@@ -1206,6 +1209,7 @@ class Http2SessionPool {
|
|
|
1206
1209
|
clearTimeout(tlsTimeoutId);
|
|
1207
1210
|
reject(new Error("TLS handshake closed before completion"));
|
|
1208
1211
|
});
|
|
1212
|
+
proxySocket.resume();
|
|
1209
1213
|
} else {
|
|
1210
1214
|
resolve(proxySocket);
|
|
1211
1215
|
}
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.detectRuntime =
|
|
3
|
-
exports.getAdapterCapabilities =
|
|
4
|
-
exports.buildAdapterContext =
|
|
5
|
-
exports.getAvailableAdapters =
|
|
6
|
-
exports.selectAdapter =
|
|
7
|
-
exports.getAdapterDiagnostics =
|
|
8
|
-
exports.createAdapterPicker =
|
|
9
|
-
exports.clearAdapterCache =
|
|
10
|
-
exports.loadAdapter =
|
|
1
|
+
const _mod_9l8fio = require('./picker.cjs');
|
|
2
|
+
exports.detectRuntime = _mod_9l8fio.detectRuntime;
|
|
3
|
+
exports.getAdapterCapabilities = _mod_9l8fio.getAdapterCapabilities;
|
|
4
|
+
exports.buildAdapterContext = _mod_9l8fio.buildAdapterContext;
|
|
5
|
+
exports.getAvailableAdapters = _mod_9l8fio.getAvailableAdapters;
|
|
6
|
+
exports.selectAdapter = _mod_9l8fio.selectAdapter;
|
|
7
|
+
exports.getAdapterDiagnostics = _mod_9l8fio.getAdapterDiagnostics;
|
|
8
|
+
exports.createAdapterPicker = _mod_9l8fio.createAdapterPicker;
|
|
9
|
+
exports.clearAdapterCache = _mod_9l8fio.clearAdapterCache;
|
|
10
|
+
exports.loadAdapter = _mod_9l8fio.loadAdapter;;
|
package/dist/cache/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.LRUCache =
|
|
3
|
-
const
|
|
4
|
-
exports.DNSCache =
|
|
5
|
-
exports.getGlobalDNSCache =
|
|
6
|
-
exports.resetGlobalDNSCache =
|
|
7
|
-
const
|
|
8
|
-
exports.ResponseCache =
|
|
9
|
-
exports.normalizeResponseCacheConfig =
|
|
1
|
+
const _mod_91ozfj = require('./lru-cache.cjs');
|
|
2
|
+
exports.LRUCache = _mod_91ozfj.LRUCache;;
|
|
3
|
+
const _mod_7rp2xr = require('./dns-cache.cjs');
|
|
4
|
+
exports.DNSCache = _mod_7rp2xr.DNSCache;
|
|
5
|
+
exports.getGlobalDNSCache = _mod_7rp2xr.getGlobalDNSCache;
|
|
6
|
+
exports.resetGlobalDNSCache = _mod_7rp2xr.resetGlobalDNSCache;;
|
|
7
|
+
const _mod_r6yf4h = require('./response-cache.cjs');
|
|
8
|
+
exports.ResponseCache = _mod_r6yf4h.ResponseCache;
|
|
9
|
+
exports.normalizeResponseCacheConfig = _mod_r6yf4h.normalizeResponseCacheConfig;;
|
|
@@ -2,8 +2,8 @@ const { CookieJar: TouchCookieJar } = require("tough-cookie");
|
|
|
2
2
|
const { Cookie } = require('./cookie.cjs');
|
|
3
3
|
const { requireNodeModule } = require('../utils/node-runtime.cjs');
|
|
4
4
|
const { RezoError } = require('../errors/rezo-error.cjs');
|
|
5
|
-
const
|
|
6
|
-
exports.Cookie =
|
|
5
|
+
const _mod_jpx66k = require('./cookie.cjs');
|
|
6
|
+
exports.Cookie = _mod_jpx66k.Cookie;;
|
|
7
7
|
const REZO_COOKIE_PREFIX_KEY = "Rezo_prx_";
|
|
8
8
|
const HOST_PREFIX = "__Host-";
|
|
9
9
|
const STORED_HOST_PREFIX = `${REZO_COOKIE_PREFIX_KEY}Host-`;
|
|
@@ -637,7 +637,7 @@ class RezoCookieJar extends TouchCookieJar {
|
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
639
|
const CookieJar = exports.CookieJar = RezoCookieJar;
|
|
640
|
-
const
|
|
641
|
-
exports.Store =
|
|
640
|
+
const _mod_dwa41s = require("tough-cookie");
|
|
641
|
+
exports.Store = _mod_dwa41s.Store;;
|
|
642
642
|
|
|
643
643
|
exports.RezoCookieJar = RezoCookieJar;
|
package/dist/cookies/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Cookie =
|
|
3
|
-
exports.RezoCookie =
|
|
4
|
-
const
|
|
5
|
-
exports.RezoCookieStore =
|
|
6
|
-
const
|
|
7
|
-
exports.RezoCookieJar =
|
|
8
|
-
exports.CookieJar =
|
|
9
|
-
const
|
|
10
|
-
exports.Store =
|
|
1
|
+
const _mod_qhef5l = require('./cookie.cjs');
|
|
2
|
+
exports.Cookie = _mod_qhef5l.Cookie;
|
|
3
|
+
exports.RezoCookie = _mod_qhef5l.RezoCookie;;
|
|
4
|
+
const _mod_zgyees = require('./cookie-store.cjs');
|
|
5
|
+
exports.RezoCookieStore = _mod_zgyees.RezoCookieStore;;
|
|
6
|
+
const _mod_iznwz5 = require('./cookie-jar.cjs');
|
|
7
|
+
exports.RezoCookieJar = _mod_iznwz5.RezoCookieJar;
|
|
8
|
+
exports.CookieJar = _mod_iznwz5.CookieJar;;
|
|
9
|
+
const _mod_abeqkj = require("tough-cookie");
|
|
10
|
+
exports.Store = _mod_abeqkj.Store;;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var{Rezo:
|
|
1
|
+
var{Rezo:h}=require("../../../core/rezo.cjs"),r=require("./options.cjs");exports.DECODO_DEVICE_TYPES=r.DECODO_DEVICE_TYPES;exports.DECODO_HEADLESS_MODES=r.DECODO_HEADLESS_MODES;exports.DECODO_COMMON_LOCALES=r.DECODO_COMMON_LOCALES;exports.DECODO_COMMON_COUNTRIES=r.DECODO_COMMON_COUNTRIES;exports.DECODO_EUROPEAN_COUNTRIES=r.DECODO_EUROPEAN_COUNTRIES;exports.DECODO_ASIAN_COUNTRIES=r.DECODO_ASIAN_COUNTRIES;exports.DECODO_US_STATES=r.DECODO_US_STATES;exports.DECODO_COMMON_CITIES=r.DECODO_COMMON_CITIES;exports.getRandomDeviceType=r.getRandomDeviceType;exports.getRandomLocale=r.getRandomLocale;exports.getRandomCountry=r.getRandomCountry;exports.getRandomCity=r.getRandomCity;exports.generateSessionId=r.generateSessionId;var _="https://scraper-api.smartproxy.com/v2/scrape";class i{config;http;authHeader;constructor(t){let e="username"in t&&"password"in t&&t.username&&t.password,s="token"in t&&t.token;if(!e&&!s)throw Error("Decodo requires either username/password or token for authentication");if(this.config={username:t.username??"",password:t.password??"",deviceType:t.deviceType??"desktop",locale:t.locale??"en-US",country:t.country??"",state:t.state??"",city:t.city??"",headless:t.headless??void 0,headers:t.headers??{},sessionId:t.sessionId??"",sessionDuration:t.sessionDuration??0,javascript:t.javascript??"",javascriptWait:t.javascriptWait??0,waitForCss:t.waitForCss??"",timeout:t.timeout??120000},this.http=new h({baseURL:_,timeout:this.config.timeout}),s)this.authHeader=`Basic ${t.token}`;else this.authHeader=`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}async scrape(t,e){let s={...this.config,...e,headers:{...this.config.headers,...e?.headers||{}}},o=this.buildRequestBody(t,s),a=(await this.http.postJson(_,o,{headers:{Authorization:this.authHeader,"Content-Type":"application/json"}})).data;if(a.error)throw Error(`Decodo API error: ${a.error} (${a.error_code||"unknown"})`);if(!a.results||a.results.length===0)throw Error("Decodo API returned no results");let n=a.results[0];return{statusCode:n.status_code,url:n.url,content:n.body,cookies:n.cookies||[],headers:n.headers||{},taskId:a.id,rendered:!!s.headless,country:s.country||void 0,city:s.city||void 0,state:s.state||void 0,deviceType:s.deviceType,contentType:n.content_type,contentLength:n.content_length,raw:a}}async scrapeMany(t,e,s=1000){let o=[];for(let d=0;d<t.length;d++){let a=await this.scrape(t[d],e);if(o.push(a),d<t.length-1&&s>0)await new Promise((n)=>setTimeout(n,s))}return o}async scrapeWithSession(t,e,s=10){let o=`session_${Date.now()}_${Math.random().toString(36).substring(2,11)}`;return this.scrapeMany(t,{...e,sessionId:o,sessionDuration:s},500)}buildRequestBody(t,e){let s={target:"universal",url:t,return_cookies:!0,return_headers:!0};if(e.deviceType)s.device_type=e.deviceType;if(e.headless)s.headless=e.headless;else if(e.javascript_rendering)s.headless="html";if(e.locale)s.locale=e.locale;if(e.country)s.country=e.country;if(e.state)s.state=e.state;if(e.city)s.city=e.city;if(e.session_id||e.sessionId){if(s.session_id=e.session_id||e.sessionId,e.sessionDuration)s.session_duration=e.sessionDuration}if(e.headers&&Object.keys(e.headers).length>0)s.headers=e.headers,s.force_headers=!0;if(e.cookies&&e.cookies.length>0)s.cookies=e.cookies.map((o)=>`${o.key}=${o.value}`).join("; "),s.force_cookies=!0;if(e.http_method)s.http_method=e.http_method;if(e.base64Body)s.payload=e.base64Body;if(e.successful_status_codes&&e.successful_status_codes.length>0)s.successful_status_codes=e.successful_status_codes;if(e.javascript){if(s.javascript=e.javascript,e.javascriptWait)s.javascript_wait=e.javascriptWait}if(e.waitForCss)s.wait_for_css=e.waitForCss;return s}getConfig(){return{...this.config,password:"***"}}withConfig(t){return new i({...this.config,...t})}async testConnection(){try{return await this.scrape("https://httpbin.org/ip"),!0}catch(t){throw Error(`Decodo connection test failed: ${t.message}`)}}}exports.Decodo=i;exports.default=i;module.exports=Object.assign(i,exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var{Rezo:h}=require("../../../core/rezo.cjs"),a=require("./options.cjs");exports.OXYLABS_BROWSER_TYPES=a.OXYLABS_BROWSER_TYPES;exports.OXYLABS_COMMON_LOCALES=a.OXYLABS_COMMON_LOCALES;exports.OXYLABS_COMMON_GEO_LOCATIONS=a.OXYLABS_COMMON_GEO_LOCATIONS;exports.OXYLABS_US_STATES=a.OXYLABS_US_STATES;exports.OXYLABS_EUROPEAN_COUNTRIES=a.OXYLABS_EUROPEAN_COUNTRIES;exports.OXYLABS_ASIAN_COUNTRIES=a.OXYLABS_ASIAN_COUNTRIES;exports.getRandomBrowserType=a.getRandomBrowserType;exports.getRandomLocale=a.getRandomLocale;exports.getRandomGeoLocation=a.getRandomGeoLocation;var d="https://realtime.oxylabs.io/v1/queries";class _{config;http;authHeader;constructor(
|
|
1
|
+
var{Rezo:h}=require("../../../core/rezo.cjs"),a=require("./options.cjs");exports.OXYLABS_BROWSER_TYPES=a.OXYLABS_BROWSER_TYPES;exports.OXYLABS_COMMON_LOCALES=a.OXYLABS_COMMON_LOCALES;exports.OXYLABS_COMMON_GEO_LOCATIONS=a.OXYLABS_COMMON_GEO_LOCATIONS;exports.OXYLABS_US_STATES=a.OXYLABS_US_STATES;exports.OXYLABS_EUROPEAN_COUNTRIES=a.OXYLABS_EUROPEAN_COUNTRIES;exports.OXYLABS_ASIAN_COUNTRIES=a.OXYLABS_ASIAN_COUNTRIES;exports.getRandomBrowserType=a.getRandomBrowserType;exports.getRandomLocale=a.getRandomLocale;exports.getRandomGeoLocation=a.getRandomGeoLocation;var d="https://realtime.oxylabs.io/v1/queries";class _{config;http;authHeader;constructor(s){if(!s.username||!s.password)throw Error("Oxylabs username and password are required");this.config={username:s.username,password:s.password,browserType:s.browserType??"desktop",locale:s.locale??"en-US",geoLocation:s.geoLocation??"",render:s.render??!1,context:s.context??{},timeout:s.timeout??120000},this.http=new h({baseURL:d,timeout:this.config.timeout}),this.authHeader=`Basic ${Buffer.from(`${s.username}:${s.password}`).toString("base64")}`}async scrape(s,e){let t={...this.config,...e},o=this.buildRequestBody(s,t),r=(await this.http.postJson(d,o,{headers:{Authorization:this.authHeader,"Content-Type":"application/json"}})).data;if(r.error)throw Error(`Oxylabs API error: ${r.error}`);if(!r.results||r.results.length===0)throw Error("Oxylabs API returned no results");let n=r.results[0],i=n._response?.cookies||[],l=n._response?.headers||{};return{statusCode:n.status_code,url:n.url,content:n.content,cookies:i,headers:l,jobId:r.job_id||n.job_id,rendered:t.render,geoLocation:t.geoLocation||void 0,locale:t.locale,browserType:t.browserType,raw:r}}async scrapeMany(s,e,t=1000){let o=[];for(let u=0;u<s.length;u++){let r=await this.scrape(s[u],e);if(o.push(r),u<s.length-1&&t>0)await new Promise((n)=>setTimeout(n,t))}return o}buildRequestBody(s,e){let t=[];if(t.push({key:"return_page_cookies",value:!0}),t.push({key:"return_page_headers",value:!0}),e.context)for(let[u,r]of Object.entries(e.context))t.push({key:u,value:r});if(e.headers&&Object.keys(e.headers).length>0)t.push({key:"headers",value:e.headers});if(e.cookies&&e.cookies.length>0)t.push({key:"cookies",value:e.cookies});if(e.session_id)t.push({key:"session_id",value:e.session_id});if(e.http_method)t.push({key:"http_method",value:e.http_method});if(e.base64Body)t.push({key:"content",value:e.base64Body});if(typeof e.follow_redirects==="boolean")t.push({key:"follow_redirects",value:e.follow_redirects});if(e.successful_status_codes&&e.successful_status_codes.length>0)t.push({key:"successful_status_codes",value:e.successful_status_codes});let o={source:"universal",url:s,context:t};if(e.render||e.javascript_rendering)o.render="html";if(e.browserType)o.user_agent_type=e.browserType;if(e.locale)o.locale=e.locale;if(e.geoLocation)o.geo_location=e.geoLocation;if(e.returnAsBase64)o.content_encoding="base64";return o}getConfig(){return{...this.config,password:"***"}}withConfig(s){return new _({...this.config,...s})}async testConnection(){try{return await this.scrape("https://httpbin.org/ip"),!0}catch(s){throw Error(`Oxylabs connection test failed: ${s.message}`)}}}exports.Oxylabs=_;exports.default=_;module.exports=Object.assign(_,exports);
|
package/dist/crawler/index.cjs
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Crawler =
|
|
3
|
-
const
|
|
4
|
-
exports.CrawlerOptions =
|
|
5
|
-
const
|
|
6
|
-
exports.RobotsTxt =
|
|
7
|
-
const
|
|
8
|
-
exports.FileCacher =
|
|
9
|
-
const
|
|
10
|
-
exports.UrlStore =
|
|
11
|
-
const
|
|
12
|
-
exports.NavigationHistory =
|
|
13
|
-
const
|
|
14
|
-
exports.Oxylabs =
|
|
15
|
-
const
|
|
16
|
-
exports.OXYLABS_BROWSER_TYPES =
|
|
17
|
-
exports.OXYLABS_COMMON_LOCALES =
|
|
18
|
-
exports.OXYLABS_COMMON_GEO_LOCATIONS =
|
|
19
|
-
exports.OXYLABS_US_STATES =
|
|
20
|
-
exports.OXYLABS_EUROPEAN_COUNTRIES =
|
|
21
|
-
exports.OXYLABS_ASIAN_COUNTRIES =
|
|
22
|
-
exports.getRandomOxylabsBrowserType =
|
|
23
|
-
exports.getRandomOxylabsLocale =
|
|
24
|
-
exports.getRandomOxylabsGeoLocation =
|
|
25
|
-
const
|
|
26
|
-
exports.isRestrictedDomain =
|
|
27
|
-
const
|
|
28
|
-
exports.Decodo =
|
|
29
|
-
const
|
|
30
|
-
exports.DECODO_DEVICE_TYPES =
|
|
31
|
-
exports.DECODO_HEADLESS_MODES =
|
|
32
|
-
exports.DECODO_COMMON_LOCALES =
|
|
33
|
-
exports.DECODO_COMMON_COUNTRIES =
|
|
34
|
-
exports.DECODO_EUROPEAN_COUNTRIES =
|
|
35
|
-
exports.DECODO_ASIAN_COUNTRIES =
|
|
36
|
-
exports.DECODO_US_STATES =
|
|
37
|
-
exports.DECODO_COMMON_CITIES =
|
|
38
|
-
exports.getRandomDecodoDeviceType =
|
|
39
|
-
exports.getRandomDecodoLocale =
|
|
40
|
-
exports.getRandomDecodoCountry =
|
|
41
|
-
exports.getRandomDecodoCity =
|
|
42
|
-
exports.generateDecodoSessionId =
|
|
1
|
+
const _mod_8974ts = require('./crawler.cjs');
|
|
2
|
+
exports.Crawler = _mod_8974ts.Crawler;;
|
|
3
|
+
const _mod_1btmv9 = require('./crawler-options.cjs');
|
|
4
|
+
exports.CrawlerOptions = _mod_1btmv9.CrawlerOptions;;
|
|
5
|
+
const _mod_mrln7s = require('./plugin/robots-txt.cjs');
|
|
6
|
+
exports.RobotsTxt = _mod_mrln7s.RobotsTxt;;
|
|
7
|
+
const _mod_j2vgfp = require('./plugin/file-cacher.cjs');
|
|
8
|
+
exports.FileCacher = _mod_j2vgfp.FileCacher;;
|
|
9
|
+
const _mod_1mx3kk = require('./plugin/url-store.cjs');
|
|
10
|
+
exports.UrlStore = _mod_1mx3kk.UrlStore;;
|
|
11
|
+
const _mod_gn7sjl = require('./plugin/navigation-history.cjs');
|
|
12
|
+
exports.NavigationHistory = _mod_gn7sjl.NavigationHistory;;
|
|
13
|
+
const _mod_6aq3zk = require('./addon/oxylabs/index.cjs');
|
|
14
|
+
exports.Oxylabs = _mod_6aq3zk.Oxylabs;;
|
|
15
|
+
const _mod_tpbs3o = require('./addon/oxylabs/options.cjs');
|
|
16
|
+
exports.OXYLABS_BROWSER_TYPES = _mod_tpbs3o.OXYLABS_BROWSER_TYPES;
|
|
17
|
+
exports.OXYLABS_COMMON_LOCALES = _mod_tpbs3o.OXYLABS_COMMON_LOCALES;
|
|
18
|
+
exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_tpbs3o.OXYLABS_COMMON_GEO_LOCATIONS;
|
|
19
|
+
exports.OXYLABS_US_STATES = _mod_tpbs3o.OXYLABS_US_STATES;
|
|
20
|
+
exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_tpbs3o.OXYLABS_EUROPEAN_COUNTRIES;
|
|
21
|
+
exports.OXYLABS_ASIAN_COUNTRIES = _mod_tpbs3o.OXYLABS_ASIAN_COUNTRIES;
|
|
22
|
+
exports.getRandomOxylabsBrowserType = _mod_tpbs3o.getRandomBrowserType;
|
|
23
|
+
exports.getRandomOxylabsLocale = _mod_tpbs3o.getRandomLocale;
|
|
24
|
+
exports.getRandomOxylabsGeoLocation = _mod_tpbs3o.getRandomGeoLocation;;
|
|
25
|
+
const _mod_lh5p1g = require('./scraper.cjs');
|
|
26
|
+
exports.isRestrictedDomain = _mod_lh5p1g.isRestrictedDomain;;
|
|
27
|
+
const _mod_ywbnbt = require('./addon/decodo/index.cjs');
|
|
28
|
+
exports.Decodo = _mod_ywbnbt.Decodo;;
|
|
29
|
+
const _mod_v4b2pl = require('./addon/decodo/options.cjs');
|
|
30
|
+
exports.DECODO_DEVICE_TYPES = _mod_v4b2pl.DECODO_DEVICE_TYPES;
|
|
31
|
+
exports.DECODO_HEADLESS_MODES = _mod_v4b2pl.DECODO_HEADLESS_MODES;
|
|
32
|
+
exports.DECODO_COMMON_LOCALES = _mod_v4b2pl.DECODO_COMMON_LOCALES;
|
|
33
|
+
exports.DECODO_COMMON_COUNTRIES = _mod_v4b2pl.DECODO_COMMON_COUNTRIES;
|
|
34
|
+
exports.DECODO_EUROPEAN_COUNTRIES = _mod_v4b2pl.DECODO_EUROPEAN_COUNTRIES;
|
|
35
|
+
exports.DECODO_ASIAN_COUNTRIES = _mod_v4b2pl.DECODO_ASIAN_COUNTRIES;
|
|
36
|
+
exports.DECODO_US_STATES = _mod_v4b2pl.DECODO_US_STATES;
|
|
37
|
+
exports.DECODO_COMMON_CITIES = _mod_v4b2pl.DECODO_COMMON_CITIES;
|
|
38
|
+
exports.getRandomDecodoDeviceType = _mod_v4b2pl.getRandomDeviceType;
|
|
39
|
+
exports.getRandomDecodoLocale = _mod_v4b2pl.getRandomLocale;
|
|
40
|
+
exports.getRandomDecodoCountry = _mod_v4b2pl.getRandomCountry;
|
|
41
|
+
exports.getRandomDecodoCity = _mod_v4b2pl.getRandomCity;
|
|
42
|
+
exports.generateDecodoSessionId = _mod_v4b2pl.generateSessionId;;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=require("./file-cacher.cjs");exports.FileCacher=e.FileCacher;var
|
|
1
|
+
var e=require("./file-cacher.cjs");exports.FileCacher=e.FileCacher;var r=require("./url-store.cjs");exports.UrlStore=r.UrlStore;var o=require("./result-stream.cjs");exports.ResultStream=o.ResultStream;var _=require("./memory-monitor.cjs");exports.MemoryMonitor=_.MemoryMonitor;var m=require("./health-metrics.cjs");exports.HealthMetrics=m.HealthMetrics;var t=require("./capped-map.cjs");exports.CappedMap=t.CappedMap;var d=require("./capped-array.cjs");exports.CappedArray=d.CappedArray;
|
package/dist/entries/crawler.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Crawler =
|
|
3
|
-
const
|
|
4
|
-
exports.CrawlerOptions =
|
|
5
|
-
const
|
|
6
|
-
exports.isRestrictedDomain =
|
|
7
|
-
const
|
|
8
|
-
exports.FileCacher =
|
|
9
|
-
const
|
|
10
|
-
exports.HealthMetrics =
|
|
11
|
-
const
|
|
12
|
-
exports.MemoryMonitor =
|
|
13
|
-
const
|
|
14
|
-
exports.ResultStream =
|
|
15
|
-
const
|
|
16
|
-
exports.CappedArray =
|
|
17
|
-
const
|
|
18
|
-
exports.NavigationHistory =
|
|
19
|
-
const
|
|
20
|
-
exports.RobotsTxt =
|
|
21
|
-
const
|
|
22
|
-
exports.UrlStore =
|
|
23
|
-
const
|
|
24
|
-
exports.CappedMap =
|
|
1
|
+
const _mod_jfer0s = require('../crawler/crawler.cjs');
|
|
2
|
+
exports.Crawler = _mod_jfer0s.Crawler;;
|
|
3
|
+
const _mod_8v30ig = require('../crawler/crawler-options.cjs');
|
|
4
|
+
exports.CrawlerOptions = _mod_8v30ig.CrawlerOptions;;
|
|
5
|
+
const _mod_cbhkh3 = require('../crawler/scraper.cjs');
|
|
6
|
+
exports.isRestrictedDomain = _mod_cbhkh3.isRestrictedDomain;;
|
|
7
|
+
const _mod_lk1hvq = require('../crawler/plugin/file-cacher.cjs');
|
|
8
|
+
exports.FileCacher = _mod_lk1hvq.FileCacher;;
|
|
9
|
+
const _mod_d2op5l = require('../crawler/plugin/health-metrics.cjs');
|
|
10
|
+
exports.HealthMetrics = _mod_d2op5l.HealthMetrics;;
|
|
11
|
+
const _mod_d71t0r = require('../crawler/plugin/memory-monitor.cjs');
|
|
12
|
+
exports.MemoryMonitor = _mod_d71t0r.MemoryMonitor;;
|
|
13
|
+
const _mod_tpig70 = require('../crawler/plugin/result-stream.cjs');
|
|
14
|
+
exports.ResultStream = _mod_tpig70.ResultStream;;
|
|
15
|
+
const _mod_uof8d5 = require('../crawler/plugin/capped-array.cjs');
|
|
16
|
+
exports.CappedArray = _mod_uof8d5.CappedArray;;
|
|
17
|
+
const _mod_bjqrpe = require('../crawler/plugin/navigation-history.cjs');
|
|
18
|
+
exports.NavigationHistory = _mod_bjqrpe.NavigationHistory;;
|
|
19
|
+
const _mod_ggze1a = require('../crawler/plugin/robots-txt.cjs');
|
|
20
|
+
exports.RobotsTxt = _mod_ggze1a.RobotsTxt;;
|
|
21
|
+
const _mod_6bffvy = require('../crawler/plugin/url-store.cjs');
|
|
22
|
+
exports.UrlStore = _mod_6bffvy.UrlStore;;
|
|
23
|
+
const _mod_x9x8xo = require('../crawler/plugin/capped-map.cjs');
|
|
24
|
+
exports.CappedMap = _mod_x9x8xo.CappedMap;;
|
package/dist/index.cjs
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Rezo =
|
|
3
|
-
exports.createRezoInstance =
|
|
4
|
-
exports.createDefaultInstance =
|
|
5
|
-
const
|
|
6
|
-
exports.RezoError =
|
|
7
|
-
exports.RezoErrorCode =
|
|
8
|
-
const
|
|
9
|
-
exports.RezoHeaders =
|
|
10
|
-
const
|
|
11
|
-
exports.RezoFormData =
|
|
12
|
-
const
|
|
13
|
-
exports.RezoURLSearchParams =
|
|
14
|
-
const
|
|
15
|
-
exports.RezoCookieJar =
|
|
16
|
-
exports.CookieJar =
|
|
17
|
-
exports.Cookie =
|
|
18
|
-
exports.Store =
|
|
19
|
-
const
|
|
20
|
-
exports.RezoCookieStore =
|
|
21
|
-
const
|
|
22
|
-
exports.toCurl =
|
|
23
|
-
exports.fromCurl =
|
|
24
|
-
const
|
|
25
|
-
exports.parseLinkHeader =
|
|
26
|
-
const
|
|
27
|
-
exports.RezoUri =
|
|
28
|
-
const
|
|
29
|
-
exports.DNSCache =
|
|
30
|
-
exports.ResponseCache =
|
|
31
|
-
exports.getGlobalDNSCache =
|
|
32
|
-
exports.resetGlobalDNSCache =
|
|
33
|
-
const
|
|
34
|
-
exports.createDefaultHooks =
|
|
35
|
-
exports.mergeHooks =
|
|
36
|
-
const
|
|
37
|
-
exports.RequestInterceptorManager =
|
|
38
|
-
exports.ResponseInterceptorManager =
|
|
39
|
-
const
|
|
40
|
-
exports.ProxyManager =
|
|
41
|
-
const
|
|
42
|
-
exports.RezoStealth =
|
|
43
|
-
const
|
|
44
|
-
exports.listProfiles =
|
|
45
|
-
exports.getProfile =
|
|
46
|
-
exports.getProfilesByFamily =
|
|
47
|
-
exports.getProfilesByDevice =
|
|
48
|
-
exports.getRandomProfile =
|
|
49
|
-
exports.getRandomProfileByFamily =
|
|
50
|
-
const
|
|
51
|
-
exports.RezoQueue =
|
|
52
|
-
exports.HttpQueue =
|
|
53
|
-
exports.RezoHttpQueue =
|
|
54
|
-
exports.Priority =
|
|
55
|
-
exports.HttpMethodPriority =
|
|
1
|
+
const _mod_ccuw32 = require('./core/rezo.cjs');
|
|
2
|
+
exports.Rezo = _mod_ccuw32.Rezo;
|
|
3
|
+
exports.createRezoInstance = _mod_ccuw32.createRezoInstance;
|
|
4
|
+
exports.createDefaultInstance = _mod_ccuw32.createDefaultInstance;;
|
|
5
|
+
const _mod_e5mbqc = require('./errors/rezo-error.cjs');
|
|
6
|
+
exports.RezoError = _mod_e5mbqc.RezoError;
|
|
7
|
+
exports.RezoErrorCode = _mod_e5mbqc.RezoErrorCode;;
|
|
8
|
+
const _mod_67rnnf = require('./utils/headers.cjs');
|
|
9
|
+
exports.RezoHeaders = _mod_67rnnf.RezoHeaders;;
|
|
10
|
+
const _mod_t354cp = require('./utils/form-data.cjs');
|
|
11
|
+
exports.RezoFormData = _mod_t354cp.RezoFormData;;
|
|
12
|
+
const _mod_y8bfqp = require('./utils/data-operations.cjs');
|
|
13
|
+
exports.RezoURLSearchParams = _mod_y8bfqp.RezoURLSearchParams;;
|
|
14
|
+
const _mod_h46al2 = require('./cookies/cookie-jar.cjs');
|
|
15
|
+
exports.RezoCookieJar = _mod_h46al2.RezoCookieJar;
|
|
16
|
+
exports.CookieJar = _mod_h46al2.CookieJar;
|
|
17
|
+
exports.Cookie = _mod_h46al2.Cookie;
|
|
18
|
+
exports.Store = _mod_h46al2.Store;;
|
|
19
|
+
const _mod_dfksm4 = require('./cookies/cookie-store.cjs');
|
|
20
|
+
exports.RezoCookieStore = _mod_dfksm4.RezoCookieStore;;
|
|
21
|
+
const _mod_dg4m4q = require('./utils/curl.cjs');
|
|
22
|
+
exports.toCurl = _mod_dg4m4q.toCurl;
|
|
23
|
+
exports.fromCurl = _mod_dg4m4q.fromCurl;;
|
|
24
|
+
const _mod_7x4fxk = require('./utils/link-header.cjs');
|
|
25
|
+
exports.parseLinkHeader = _mod_7x4fxk.parseLinkHeader;;
|
|
26
|
+
const _mod_xiczg5 = require('./utils/uri.cjs');
|
|
27
|
+
exports.RezoUri = _mod_xiczg5.RezoUri;;
|
|
28
|
+
const _mod_s2mbga = require('./cache/index.cjs');
|
|
29
|
+
exports.DNSCache = _mod_s2mbga.DNSCache;
|
|
30
|
+
exports.ResponseCache = _mod_s2mbga.ResponseCache;
|
|
31
|
+
exports.getGlobalDNSCache = _mod_s2mbga.getGlobalDNSCache;
|
|
32
|
+
exports.resetGlobalDNSCache = _mod_s2mbga.resetGlobalDNSCache;;
|
|
33
|
+
const _mod_pfgpgk = require('./core/hooks.cjs');
|
|
34
|
+
exports.createDefaultHooks = _mod_pfgpgk.createDefaultHooks;
|
|
35
|
+
exports.mergeHooks = _mod_pfgpgk.mergeHooks;;
|
|
36
|
+
const _mod_x8aytd = require('./core/interceptor-manager.cjs');
|
|
37
|
+
exports.RequestInterceptorManager = _mod_x8aytd.RequestInterceptorManager;
|
|
38
|
+
exports.ResponseInterceptorManager = _mod_x8aytd.ResponseInterceptorManager;;
|
|
39
|
+
const _mod_pn0jpu = require('./proxy/manager.cjs');
|
|
40
|
+
exports.ProxyManager = _mod_pn0jpu.ProxyManager;;
|
|
41
|
+
const _mod_09genn = require('./stealth/stealth.cjs');
|
|
42
|
+
exports.RezoStealth = _mod_09genn.RezoStealth;;
|
|
43
|
+
const _mod_nd74jz = require('./stealth/profiles/index.cjs');
|
|
44
|
+
exports.listProfiles = _mod_nd74jz.listProfiles;
|
|
45
|
+
exports.getProfile = _mod_nd74jz.getProfile;
|
|
46
|
+
exports.getProfilesByFamily = _mod_nd74jz.getProfilesByFamily;
|
|
47
|
+
exports.getProfilesByDevice = _mod_nd74jz.getProfilesByDevice;
|
|
48
|
+
exports.getRandomProfile = _mod_nd74jz.getRandomProfile;
|
|
49
|
+
exports.getRandomProfileByFamily = _mod_nd74jz.getRandomProfileByFamily;;
|
|
50
|
+
const _mod_2pk7zu = require('./queue/index.cjs');
|
|
51
|
+
exports.RezoQueue = _mod_2pk7zu.RezoQueue;
|
|
52
|
+
exports.HttpQueue = _mod_2pk7zu.HttpQueue;
|
|
53
|
+
exports.RezoHttpQueue = _mod_2pk7zu.HttpQueue;
|
|
54
|
+
exports.Priority = _mod_2pk7zu.Priority;
|
|
55
|
+
exports.HttpMethodPriority = _mod_2pk7zu.HttpMethodPriority;;
|
|
56
56
|
const { RezoError } = require('./errors/rezo-error.cjs');
|
|
57
57
|
const isRezoError = exports.isRezoError = RezoError.isRezoError;
|
|
58
58
|
const Cancel = exports.Cancel = RezoError;
|
|
@@ -62,9 +62,9 @@ const isCancel = exports.isCancel = (error) => {
|
|
|
62
62
|
};
|
|
63
63
|
const all = exports.all = Promise.all.bind(Promise);
|
|
64
64
|
const spread = exports.spread = (callback) => (array) => callback(...array);
|
|
65
|
-
const
|
|
66
|
-
exports.VERSION =
|
|
67
|
-
exports.PACKAGE_NAME =
|
|
65
|
+
const _mod_okglbk = require('./version.cjs');
|
|
66
|
+
exports.VERSION = _mod_okglbk.VERSION;
|
|
67
|
+
exports.PACKAGE_NAME = _mod_okglbk.PACKAGE_NAME;;
|
|
68
68
|
const { executeRequest } = require('./adapters/http.cjs');
|
|
69
69
|
const { setGlobalAdapter, createRezoInstance } = require('./core/rezo.cjs');
|
|
70
70
|
setGlobalAdapter(executeRequest);
|
package/dist/index.d.ts
CHANGED
|
@@ -6697,7 +6697,7 @@ export declare function getRandomProfileByFamily(family: BrowserProfile["family"
|
|
|
6697
6697
|
*
|
|
6698
6698
|
* IMPORTANT: Update these values when bumping package version.
|
|
6699
6699
|
*/
|
|
6700
|
-
export declare const VERSION = "1.0.
|
|
6700
|
+
export declare const VERSION = "1.0.141";
|
|
6701
6701
|
export declare const PACKAGE_NAME = "rezo";
|
|
6702
6702
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
6703
6703
|
export declare const Cancel: typeof RezoError;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Agent =
|
|
3
|
-
const
|
|
4
|
-
exports.HttpProxyAgent =
|
|
5
|
-
const
|
|
6
|
-
exports.HttpsProxyAgent =
|
|
7
|
-
const
|
|
8
|
-
exports.SocksProxyAgent =
|
|
9
|
-
const
|
|
10
|
-
exports.SocksClient =
|
|
11
|
-
const
|
|
12
|
-
exports.destroyPendingProxyHandshake =
|
|
13
|
-
exports.releasePendingProxyHandshake =
|
|
14
|
-
exports.trackPendingProxyHandshake =
|
|
15
|
-
const
|
|
16
|
-
exports.bunHttp =
|
|
17
|
-
exports.isBunRuntime =
|
|
18
|
-
exports.isBunSocksRequest =
|
|
1
|
+
const _mod_bfwjey = require('./base.cjs');
|
|
2
|
+
exports.Agent = _mod_bfwjey.Agent;;
|
|
3
|
+
const _mod_exfezo = require('./http-proxy.cjs');
|
|
4
|
+
exports.HttpProxyAgent = _mod_exfezo.HttpProxyAgent;;
|
|
5
|
+
const _mod_6gd2bv = require('./https-proxy.cjs');
|
|
6
|
+
exports.HttpsProxyAgent = _mod_6gd2bv.HttpsProxyAgent;;
|
|
7
|
+
const _mod_utv9dh = require('./socks-proxy.cjs');
|
|
8
|
+
exports.SocksProxyAgent = _mod_utv9dh.SocksProxyAgent;;
|
|
9
|
+
const _mod_1cbtyf = require('./socks-client.cjs');
|
|
10
|
+
exports.SocksClient = _mod_1cbtyf.SocksClient;;
|
|
11
|
+
const _mod_e9y6cu = require('./pending-proxy-handshake.cjs');
|
|
12
|
+
exports.destroyPendingProxyHandshake = _mod_e9y6cu.destroyPendingProxyHandshake;
|
|
13
|
+
exports.releasePendingProxyHandshake = _mod_e9y6cu.releasePendingProxyHandshake;
|
|
14
|
+
exports.trackPendingProxyHandshake = _mod_e9y6cu.trackPendingProxyHandshake;;
|
|
15
|
+
const _mod_o9z53q = require('./bun-socks-http.cjs');
|
|
16
|
+
exports.bunHttp = _mod_o9z53q.bunHttp;
|
|
17
|
+
exports.isBunRuntime = _mod_o9z53q.isBunRuntime;
|
|
18
|
+
exports.isBunSocksRequest = _mod_o9z53q.isBunSocksRequest;;
|
|
@@ -6428,7 +6428,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
6428
6428
|
*
|
|
6429
6429
|
* IMPORTANT: Update these values when bumping package version.
|
|
6430
6430
|
*/
|
|
6431
|
-
export declare const VERSION = "1.0.
|
|
6431
|
+
export declare const VERSION = "1.0.141";
|
|
6432
6432
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
6433
6433
|
export declare const Cancel: typeof RezoError;
|
|
6434
6434
|
export declare const CancelToken: {
|
package/dist/platform/bun.d.ts
CHANGED
|
@@ -6428,7 +6428,7 @@ export interface RezoInstance<DefaultData = any> extends Rezo<DefaultData>, Rezo
|
|
|
6428
6428
|
*
|
|
6429
6429
|
* IMPORTANT: Update these values when bumping package version.
|
|
6430
6430
|
*/
|
|
6431
|
-
export declare const VERSION = "1.0.
|
|
6431
|
+
export declare const VERSION = "1.0.141";
|
|
6432
6432
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
6433
6433
|
export declare const Cancel: typeof RezoError;
|
|
6434
6434
|
export declare const CancelToken: {
|