camoufox-js 0.3.2 → 0.3.3
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/dist/sync_api.d.ts +1 -1
- package/dist/sync_api.js +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
package/dist/sync_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Browser, BrowserContext, BrowserType } from 'playwright';
|
|
1
|
+
import { Browser, BrowserContext, BrowserType } from 'playwright-core';
|
|
2
2
|
import { LaunchOptions } from './utils.js';
|
|
3
3
|
export declare function Camoufox(launch_options: LaunchOptions): Promise<BrowserContext | Browser>;
|
|
4
4
|
export declare function NewBrowser(playwright: BrowserType<Browser>, headless?: boolean | 'virtual', fromOptions?: Record<string, any>, persistentContext?: boolean, debug?: boolean, launch_options?: LaunchOptions): Promise<Browser | BrowserContext>;
|
package/dist/sync_api.js
CHANGED
package/dist/utils.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SUPPORTED_OS } from './fingerprints.js';
|
|
|
3
3
|
import { VirtualDisplay } from './virtdisplay.js';
|
|
4
4
|
import { PathLike } from 'fs';
|
|
5
5
|
import { Fingerprint, FingerprintGeneratorOptions } from 'fingerprint-generator';
|
|
6
|
-
import { LaunchOptions as PlaywrightLaunchOptions } from 'playwright';
|
|
6
|
+
import { LaunchOptions as PlaywrightLaunchOptions } from 'playwright-core';
|
|
7
7
|
type Screen = FingerprintGeneratorOptions['screen'];
|
|
8
8
|
export declare function getAsBooleanFromENV(name: string, defaultValue?: boolean | undefined): boolean;
|
|
9
9
|
export declare function syncAttachVD(browser: any, virtualDisplay?: VirtualDisplay | null): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camoufox-js",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"js-yaml": "^4.1.0",
|
|
27
27
|
"language-tags": "^2.0.1",
|
|
28
28
|
"maxmind": "^4.3.24",
|
|
29
|
-
"playwright": "^1.
|
|
29
|
+
"playwright-core": "^1.52.0",
|
|
30
30
|
"progress": "^2.0.3",
|
|
31
31
|
"sqlite3": "^5.1.7",
|
|
32
32
|
"ua-parser-js": "^2.0.2",
|