adspower-browser 2.0.1 → 2.0.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/cli/index.js +3 -4
- package/package.json +1 -1
package/cli/index.js
CHANGED
|
@@ -669,7 +669,6 @@ var LOCAL_API_CONTRACTS = {
|
|
|
669
669
|
remark: { apiName: "remark", location: "body" },
|
|
670
670
|
user_proxy_config: { apiName: "user_proxy_config", location: "body" },
|
|
671
671
|
proxyid: { apiName: "proxyid", location: "body" },
|
|
672
|
-
repeat_config: { apiName: "repeat_config", location: "body" },
|
|
673
672
|
ignore_cookie_error: { apiName: "ignore_cookie_error", location: "body" },
|
|
674
673
|
tabs: { apiName: "tabs", location: "body" },
|
|
675
674
|
ip: { apiName: "ip", location: "body" },
|
|
@@ -2234,8 +2233,8 @@ var fingerprintConfigSchema = import_zod.z.object({
|
|
|
2234
2233
|
webrtc: import_zod.z.enum(["disabled", "forward", "proxy", "local", "disableUDP"]).optional().describe("WebRTC: forward: forward, use proxy IP to cover real IP, used in proxy scene, more secure (need to upgrade to V2.6.8.6 or later version); proxy: replace, use proxy IP to cover real IP, used in proxy scene; local: real, the website will get the real IP; disabled: disabled (default), the website will not get the IP; disableUDP: disable UDP, disable non-proxy UDP traffic (only supported by Chrome kernel)."),
|
|
2235
2234
|
audio: import_zod.z.enum(["0", "1"]).optional().describe("Audio fingerprint: 0 close, 1 (default) add noise"),
|
|
2236
2235
|
do_not_track: import_zod.z.enum(["default", "true", "false"]).optional().describe("Do Not Track: default, true (open), false (close)"),
|
|
2237
|
-
hardware_concurrency: import_zod.z.enum(["2", "4", "6", "8", "16"]).optional().describe("CPU cores: 2, 4 (default if omitted), 6, 8, 16; omit to follow current computer"),
|
|
2238
|
-
device_memory: import_zod.z.enum(["2", "4", "6", "8"]).optional().describe("Device memory (GB): 2, 4, 6, 8 (default if omitted); omit to follow current computer"),
|
|
2236
|
+
hardware_concurrency: import_zod.z.enum(["default", "2", "4", "6", "8", "16", "32"]).optional().describe("CPU cores: default(follow computer actual CPU cores), 2, 4 (default if omitted), 6, 8, 16; omit to follow current computer"),
|
|
2237
|
+
device_memory: import_zod.z.enum(["default", "2", "4", "6", "8"]).optional().describe("Device memory (GB): default(follow computer actual device memory), 2, 4, 6, 8 (default if omitted); omit to follow current computer"),
|
|
2239
2238
|
scan_port_type: import_zod.z.enum(["0", "1"]).optional().describe("Port scan protection: 0 close, 1 (default) enable"),
|
|
2240
2239
|
allow_scan_ports: import_zod.z.array(import_zod.z.string()).optional().describe('Ports allowed when scan_port_type=1, e.g. ["4000","4001"]. Empty to not pass.'),
|
|
2241
2240
|
media_devices: import_zod.z.enum(["0", "1", "2"]).optional().describe("Media devices: 0 off (use computer default), 1 noise (count follows local), 2 noise (use media_devices_num). V2.6.4.2+"),
|
|
@@ -2290,7 +2289,7 @@ var schemas = {
|
|
|
2290
2289
|
remark: import_zod.z.string().optional().describe("Remarks to describe the profile. Maximum 1500 characters."),
|
|
2291
2290
|
user_proxy_config: userProxyConfigSchema.default({ proxy_soft: "no_proxy" }).describe("Proxy configuration. If proxyid is provided, proxyid takes priority and this field is ignored. Defaults to no_proxy when neither proxyid nor a custom proxy is needed."),
|
|
2292
2291
|
proxyid: import_zod.z.string().optional().describe(" Already added proxy (proxy ID). user_proxy_config and proxyid cannot be empty at the same time. Takes priority over user_proxy_config when provided."),
|
|
2293
|
-
repeat_config: import_zod.z.
|
|
2292
|
+
repeat_config: import_zod.z.enum(["0", "2", "3", "4"]).optional().describe("Account deduplication settings (0, 2, 3, or 4), 0: allow duplicate (default), 2: deduplicate by account and password, 3: deduplicate by cookie, 4: deduplicate by c_user (c_user is Facebook's unique identifier)"),
|
|
2294
2293
|
ignore_cookie_error: import_zod.z.enum(["0", "1"]).optional().describe("Handle cookie verification failures: 0 (default) return data as-is, 1 filter out incorrectly formatted cookies"),
|
|
2295
2294
|
tabs: import_zod.z.array(import_zod.z.string()).optional().describe('URLs to open on startup, eg: ["https://www.google.com"]'),
|
|
2296
2295
|
ip: import_zod.z.string().optional().describe("IP address"),
|