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.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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/darwin-arm64",
3
- "version": "1.6.6",
3
+ "version": "1.6.8-beta.1",
4
4
  "description": "HTTPCloak native binary for darwin arm64",
5
5
  "os": [
6
6
  "darwin"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/darwin-x64",
3
- "version": "1.6.6",
3
+ "version": "1.6.8-beta.1",
4
4
  "description": "HTTPCloak native binary for darwin x64",
5
5
  "os": [
6
6
  "darwin"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/linux-arm64",
3
- "version": "1.6.6",
3
+ "version": "1.6.8-beta.1",
4
4
  "description": "HTTPCloak native binary for linux arm64",
5
5
  "os": [
6
6
  "linux"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/linux-x64",
3
- "version": "1.6.6",
3
+ "version": "1.6.8-beta.1",
4
4
  "description": "HTTPCloak native binary for linux x64",
5
5
  "os": [
6
6
  "linux"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/win32-x64",
3
- "version": "1.6.6",
3
+ "version": "1.6.8-beta.1",
4
4
  "description": "HTTPCloak native binary for win32 x64",
5
5
  "os": [
6
6
  "win32"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "httpcloak",
3
- "version": "1.6.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.6",
53
- "@httpcloak/darwin-x64": "1.6.6",
54
- "@httpcloak/linux-arm64": "1.6.6",
55
- "@httpcloak/linux-x64": "1.6.6",
56
- "@httpcloak/win32-x64": "1.6.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",