fix: createConnection() via public API (#384)

Fixes https://github.com/microsoft/playwright-mcp/issues/382
This commit is contained in:
Max Schmitt
2025-05-09 21:50:38 +02:00
committed by GitHub
parent 75f74a54bc
commit 65716b60dd
4 changed files with 48 additions and 6 deletions

View File

@@ -14,10 +14,10 @@
* limitations under the License.
*/
import { Connection } from './connection.js';
import { Connection, createConnection as createConnectionImpl } from './connection.js';
import type { Config } from '../config.js';
export async function createConnection(config: Config = {}): Promise<Connection> {
return createConnection(config);
return createConnectionImpl(config);
}