browserpilot-cdp 1.2.5 → 1.2.6
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/dist/cli.js +2 -2
- package/dist/cli.js.map +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/dist/native-host.js.map +1 -1
- package/extension/background.js +33 -7
- package/extension/background.js.map +2 -2
- package/extension/icons/icon-128.png +0 -0
- package/extension/icons/icon-16.png +0 -0
- package/extension/icons/icon-32.png +0 -0
- package/extension/icons/icon-48.png +0 -0
- package/extension/manifest.json +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import path7 from "node:path";
|
|
|
8
8
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
9
9
|
|
|
10
10
|
// ../protocol/dist/constants.js
|
|
11
|
-
var BROWSERPILOT_VERSION = "1.2.
|
|
11
|
+
var BROWSERPILOT_VERSION = "1.2.6";
|
|
12
12
|
var DEFAULT_DAEMON_HOST = "127.0.0.1";
|
|
13
13
|
var DEFAULT_DAEMON_PORT = 19888;
|
|
14
14
|
var NATIVE_HOST_NAME = "com.browserpilot.bridge";
|
|
@@ -6649,7 +6649,7 @@ var BrowserPilotDaemon = class {
|
|
|
6649
6649
|
const headerToken = (req.headers.authorization || "").replace(/^Bearer\s+/i, "");
|
|
6650
6650
|
const provided = queryToken || headerToken;
|
|
6651
6651
|
if (cfg.token && provided !== cfg.token) {
|
|
6652
|
-
socket.write("HTTP/1.1
|
|
6652
|
+
socket.write("HTTP/1.1 403 Forbidden\r\n\r\n");
|
|
6653
6653
|
socket.destroy();
|
|
6654
6654
|
return;
|
|
6655
6655
|
}
|