@skrillex1224/playwright-toolkit 2.1.210 → 2.1.211

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/index.d.ts CHANGED
@@ -364,6 +364,7 @@ export interface RuntimeEnvState {
364
364
  actor: string;
365
365
  runtime: Record<string, any>;
366
366
  envId: string;
367
+ query: string;
367
368
  auth: Record<string, string>;
368
369
  cookies: ParsedCookie[];
369
370
  cookieMap: Record<string, string>;
@@ -488,9 +489,9 @@ export interface ScreenshotWatermarkifyOptions {
488
489
  response?: Response | null;
489
490
  ip?: string;
490
491
  location?: string;
491
- /** 底部 Prompt 字段优先展示它;未传时会退回到 query */
492
+ /** 手动覆盖底部 Prompt;若同时传了 query,则仍以 query 为准。 */
492
493
  prompt?: string;
493
- /** 实际提交给 AI / 搜索页的 query;若未显式传 prompt,Prompt 字段会直接展示它。 */
494
+ /** 实际提交给 AI / 搜索页的 queryPrompt 字段优先展示它。 */
494
495
  query?: string;
495
496
  /** 默认会在同一浏览器上下文中访问 http://myip.ipip.net 补充 IP/Loc。 */
496
497
  ipLookup?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.210",
3
+ "version": "2.1.211",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",