move cdp-relay and protocol out of extension subfolder

This commit is contained in:
Tommy D. Rossi
2025-12-28 21:05:04 +01:00
parent 13ec9b7be3
commit a4e7ce10bd
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ declare const process: { env: { PLAYWRITER_PORT: string } }
import { createStore } from 'zustand/vanilla'
import type { ExtensionState, ConnectionState, TabState, TabInfo } from './types'
import type { CDPEvent, Protocol } from 'playwriter/src/cdp-types'
import type { ExtensionCommandMessage, ExtensionResponseMessage } from 'playwriter/src/extension/protocol'
import type { ExtensionCommandMessage, ExtensionResponseMessage } from 'playwriter/src/protocol'
const RELAY_PORT = process.env.PLAYWRITER_PORT
const RELAY_URL = `ws://localhost:${RELAY_PORT}/extension`