@web-auto/camo 0.2.1 → 0.2.2
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/package.json +2 -2
- package/src/core/browser.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-auto/camo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Camoufox Browser CLI - Cross-platform browser automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"c8": "^10.1.3"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"playwright": "^1.
|
|
46
|
+
"playwright-core": "^1.54.1",
|
|
47
47
|
"ws": "^8.19.0"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/src/core/browser.mjs
CHANGED
|
@@ -212,7 +212,7 @@ export function getBrowserStatus(profileId) {
|
|
|
212
212
|
* Creates one if needed using camoufox-js
|
|
213
213
|
*/
|
|
214
214
|
export async function getPlaywrightBrowser(profileId) {
|
|
215
|
-
const { chromium } = await import('playwright');
|
|
215
|
+
const { chromium } = await import('playwright-core');
|
|
216
216
|
|
|
217
217
|
const browser = activeBrowsers.get(profileId);
|
|
218
218
|
if (!browser) {
|