@dynamicu/chromedebug-mcp 2.5.6 → 2.5.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamicu/chromedebug-mcp",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.7",
|
|
4
4
|
"description": "ChromeDebug MCP - MCP server that provides full control over a Chrome browser instance for debugging and automation with AI assistants like Claude Code",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -22,8 +22,10 @@ const LICENSE_FILE = path.join(CHROMEDEBUG_DIR, 'license.json');
|
|
|
22
22
|
const INSTALL_LOG = path.join(CHROMEDEBUG_DIR, 'install.log');
|
|
23
23
|
const ENV_VAR_NAME = 'CHROMEDEBUG_EXTENSION_PATH';
|
|
24
24
|
|
|
25
|
-
// License key format:
|
|
26
|
-
|
|
25
|
+
// License key format: Accepts UUID format (LemonSqueezy) or custom format
|
|
26
|
+
// UUID: 0CD6ACFD-40B1-4EAF-955C-C4D581A8984B
|
|
27
|
+
// Custom: ABC12345-0123456789ABCDEF
|
|
28
|
+
const LICENSE_KEY_REGEX = /^[A-Z0-9]{8,}(-[A-Z0-9]{4,})+$/i;
|
|
27
29
|
|
|
28
30
|
/**
|
|
29
31
|
* Log installation activity
|
|
@@ -92,8 +94,9 @@ function validateLicenseKey(key) {
|
|
|
92
94
|
console.error(`
|
|
93
95
|
Error: Invalid license key format
|
|
94
96
|
|
|
95
|
-
Expected
|
|
96
|
-
|
|
97
|
+
Expected formats:
|
|
98
|
+
• UUID (LemonSqueezy): 0CD6ACFD-40B1-4EAF-955C-C4D581A8984B
|
|
99
|
+
• Custom: ABC12345-0123456789ABCDEF
|
|
97
100
|
|
|
98
101
|
Your key: ${maskLicenseKey(key)}
|
|
99
102
|
|