cdp-tunnel 2.5.17 → 2.5.18

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "CDP Bridge",
4
- "version": "2.5.17",
4
+ "version": "2.5.18",
5
5
  "description": "Chrome DevTools Protocol Bridge for Playwright/Puppeteer automation",
6
6
  "permissions": [
7
7
  "debugger",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdp-tunnel",
3
- "version": "2.5.17",
3
+ "version": "2.5.18",
4
4
  "description": "Bridge Chrome's debugger API to WebSocket — control your existing browser with Playwright/Puppeteer via CDP",
5
5
  "main": "server/proxy-server.js",
6
6
  "bin": "./cli/index.js",
@@ -53,7 +53,7 @@
53
53
  "LICENSE"
54
54
  ],
55
55
  "dependencies": {
56
- "cdp-tunnel": "^2.5.15",
56
+ "cdp-tunnel": "^2.5.17",
57
57
  "commander": "^12.0.0",
58
58
  "ws": "^8.16.0"
59
59
  },
@@ -269,7 +269,7 @@ async function handleHttpRequest(req, res) {
269
269
  const userAgent = ver?.userAgent || 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.86 Safari/537.36';
270
270
  const product = ver?.product || 'Chrome/131.0.6778.86';
271
271
  const payload = {
272
- Browser: product,
272
+ Browser: `${product} (cdp-tunnel/${PKG_VERSION})`,
273
273
  'Protocol-Version': ver?.protocolVersion || '1.3',
274
274
  'User-Agent': userAgent,
275
275
  'V8-Version': ver?.jsVersion || '',