usebeeline 0.1.31 → 0.1.33

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.
@@ -36061,8 +36061,11 @@ async function shareChromiumPage(input) {
36061
36061
  if (message.method === "Page.frameNavigated" && message.params?.frame?.url) {
36062
36062
  try {
36063
36063
  const url = new URL(message.params.frame.url);
36064
- if (url.origin !== "null" && relay.readyState === import_websocket.default.OPEN)
36065
- relay.send(JSON.stringify({ type: "share-event", name: "navigation", detail: url.origin }));
36064
+ if (["http:", "https:"].includes(url.protocol) && relay.readyState === import_websocket.default.OPEN) {
36065
+ url.username = "";
36066
+ url.password = "";
36067
+ relay.send(JSON.stringify({ type: "share-event", name: "navigation", detail: url.href }));
36068
+ }
36066
36069
  } catch {
36067
36070
  }
36068
36071
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usebeeline",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Connect an AI coding agent to Beeline with one command.",
5
5
  "homepage": "https://usebeeline.app",
6
6
  "bugs": {