pythonlib: Fix broken import #70 0.3.8

This commit is contained in:
daijro 2024-11-04 13:18:10 -06:00
parent 62928180d2
commit 964f49028c
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import orjson
from playwright._impl._driver import compute_driver_executable
from camoufox.pkgman import LOCAL_DATA
from camoufox.utils import get_launch_options
from camoufox.utils import launch_options
LAUNCH_SCRIPT: Path = LOCAL_DATA / "launchServer.js"
@ -44,7 +44,7 @@ def launch_server(**kwargs) -> NoReturn:
Launch a Playwright server. Takes the same arguments as `Camoufox()`.
Prints the websocket endpoint to the console.
"""
config = get_launch_options(**kwargs)
config = launch_options(**kwargs)
nodejs = get_nodejs()
data = orjson.dumps(to_camel_case_dict(config)).decode()

View file

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "camoufox"
version = "0.3.7"
version = "0.3.8"
description = "Wrapper around Playwright to help launch Camoufox"
authors = ["daijro <daijro.dev@gmail.com>"]
license = "MIT"