cdp-tunnel 3.2.2 → 3.2.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "CDP Bridge",
4
- "version": "3.2.2",
4
+ "version": "3.2.3",
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": "3.2.2",
3
+ "version": "3.2.3",
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",
@@ -287,6 +287,9 @@ class PortPoolManager {
287
287
 
288
288
  // 恢复原始 id,发给发起请求的 client
289
289
  const response = { ...msg, id: this._parseOriginalId(originalId) };
290
+ delete response.__portIndex;
291
+ delete response.__clientId;
292
+ delete response.type;
290
293
  if (pending && pending.clientWs && pending.clientWs.readyState === WebSocket.OPEN) {
291
294
  pending.clientWs.send(JSON.stringify(response));
292
295
  } else {