httpcloak 1.6.1-beta.2 → 1.6.1-beta.3

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.js CHANGED
@@ -1275,6 +1275,10 @@ class Session {
1275
1275
  ja3 = null,
1276
1276
  akamai = null,
1277
1277
  extraFp = null,
1278
+ tcpTtl = null,
1279
+ tcpMss = null,
1280
+ tcpWindowSize = null,
1281
+ tcpWindowScale = null,
1278
1282
  } = options;
1279
1283
 
1280
1284
  this._lib = getLib();
@@ -1350,6 +1354,18 @@ class Session {
1350
1354
  if (extraFp) {
1351
1355
  config.extra_fp = extraFp;
1352
1356
  }
1357
+ if (tcpTtl != null) {
1358
+ config.tcp_ttl = tcpTtl;
1359
+ }
1360
+ if (tcpMss != null) {
1361
+ config.tcp_mss = tcpMss;
1362
+ }
1363
+ if (tcpWindowSize != null) {
1364
+ config.tcp_window_size = tcpWindowSize;
1365
+ }
1366
+ if (tcpWindowScale != null) {
1367
+ config.tcp_window_scale = tcpWindowScale;
1368
+ }
1353
1369
 
1354
1370
  this._handle = this._lib.httpcloak_session_new(JSON.stringify(config));
1355
1371
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/darwin-arm64",
3
- "version": "1.6.1-beta.2",
3
+ "version": "1.6.1-beta.3",
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.1-beta.2",
3
+ "version": "1.6.1-beta.3",
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.1-beta.2",
3
+ "version": "1.6.1-beta.3",
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.1-beta.2",
3
+ "version": "1.6.1-beta.3",
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-arm64",
3
- "version": "1.6.1-beta.2",
3
+ "version": "1.6.1-beta.3",
4
4
  "description": "HTTPCloak native binary for win32 arm64",
5
5
  "os": [
6
6
  "win32"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@httpcloak/win32-x64",
3
- "version": "1.6.1-beta.2",
3
+ "version": "1.6.1-beta.3",
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.1-beta.2",
3
+ "version": "1.6.1-beta.3",
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,12 +49,12 @@
49
49
  "koffi": "^2.9.0"
50
50
  },
51
51
  "optionalDependencies": {
52
- "@httpcloak/darwin-arm64": "1.6.1-beta.2",
53
- "@httpcloak/darwin-x64": "1.6.1-beta.2",
54
- "@httpcloak/linux-arm64": "1.6.1-beta.2",
55
- "@httpcloak/linux-x64": "1.6.1-beta.2",
56
- "@httpcloak/win32-arm64": "1.6.1-beta.2",
57
- "@httpcloak/win32-x64": "1.6.1-beta.2"
52
+ "@httpcloak/darwin-arm64": "1.6.1-beta.3",
53
+ "@httpcloak/darwin-x64": "1.6.1-beta.3",
54
+ "@httpcloak/linux-arm64": "1.6.1-beta.3",
55
+ "@httpcloak/linux-x64": "1.6.1-beta.3",
56
+ "@httpcloak/win32-arm64": "1.6.1-beta.3",
57
+ "@httpcloak/win32-x64": "1.6.1-beta.3"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/node": "^25.1.0",