cdp-tunnel 3.2.0 → 3.2.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.
@@ -414,7 +414,8 @@ var SpecialHandler = (function() {
414
414
  var groupId = state ? state.getGroupIdForClient(clientId) : null;
415
415
  if (!groupId) return;
416
416
 
417
- var connectionTag = (wsManager && wsManager.config && wsManager.config.tag) || null;
417
+ var connectionTag = (state && state.getTagForClient) ? state.getTagForClient(clientId) : null;
418
+ if (!connectionTag) connectionTag = (wsManager && wsManager.config && wsManager.config.tag) || null;
418
419
 
419
420
  chrome.tabs.query({ groupId: groupId }, function(tabs) {
420
421
  if (chrome.runtime.lastError || !tabs) return;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "CDP Bridge",
4
- "version": "3.2.0",
4
+ "version": "3.2.1",
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.0",
3
+ "version": "3.2.1",
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",