httpcloak 1.6.6 → 1.6.8-beta.1
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/lib/index.d.ts +297 -28
- package/lib/index.js +564 -45
- package/lib/index.mjs +7 -0
- package/npm/darwin-arm64/package.json +1 -1
- package/npm/darwin-x64/package.json +1 -1
- package/npm/linux-arm64/package.json +1 -1
- package/npm/linux-x64/package.json +1 -1
- package/npm/win32-x64/package.json +1 -1
- package/package.json +6 -6
package/lib/index.mjs
CHANGED
|
@@ -22,10 +22,17 @@ export const Cookie = cjs.Cookie;
|
|
|
22
22
|
export const RedirectInfo = cjs.RedirectInfo;
|
|
23
23
|
export const HTTPCloakError = cjs.HTTPCloakError;
|
|
24
24
|
export const SessionCacheBackend = cjs.SessionCacheBackend;
|
|
25
|
+
export const PresetPool = cjs.PresetPool;
|
|
25
26
|
|
|
26
27
|
// Presets
|
|
27
28
|
export const Preset = cjs.Preset;
|
|
28
29
|
|
|
30
|
+
// Custom preset loading
|
|
31
|
+
export const loadPreset = cjs.loadPreset;
|
|
32
|
+
export const loadPresetFromJSON = cjs.loadPresetFromJSON;
|
|
33
|
+
export const unregisterPreset = cjs.unregisterPreset;
|
|
34
|
+
export const describePreset = cjs.describePreset;
|
|
35
|
+
|
|
29
36
|
// Configuration
|
|
30
37
|
export const configure = cjs.configure;
|
|
31
38
|
export const configureSessionCache = cjs.configureSessionCache;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "httpcloak",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8-beta.1",
|
|
4
4
|
"description": "Browser fingerprint emulation HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"koffi": "^2.9.0"
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@httpcloak/darwin-arm64": "1.6.
|
|
53
|
-
"@httpcloak/darwin-x64": "1.6.
|
|
54
|
-
"@httpcloak/linux-arm64": "1.6.
|
|
55
|
-
"@httpcloak/linux-x64": "1.6.
|
|
56
|
-
"@httpcloak/win32-x64": "1.6.
|
|
52
|
+
"@httpcloak/darwin-arm64": "1.6.8-beta.1",
|
|
53
|
+
"@httpcloak/darwin-x64": "1.6.8-beta.1",
|
|
54
|
+
"@httpcloak/linux-arm64": "1.6.8-beta.1",
|
|
55
|
+
"@httpcloak/linux-x64": "1.6.8-beta.1",
|
|
56
|
+
"@httpcloak/win32-x64": "1.6.8-beta.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^25.1.0",
|