@skrillex1224/playwright-toolkit 2.1.135 → 2.1.136
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/index.cjs +9 -3
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +9 -3
- package/dist/index.js.map +2 -2
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -316,10 +316,10 @@ export interface ExtensionCategories {
|
|
|
316
316
|
export interface InterceptionSetupOptions {
|
|
317
317
|
/** @deprecated 请使用 directConfig.domains */
|
|
318
318
|
directDomains?: string[];
|
|
319
|
-
/** 需要直连的扩展名(如 .js/.css) */
|
|
320
|
-
directExtensions?: string[];
|
|
321
319
|
/** 直连配置(参考 blockingConfig) */
|
|
322
320
|
directConfig?: DirectExtensionConfig;
|
|
321
|
+
/** 是否启用拦截处理(false 时始终 continue) */
|
|
322
|
+
enable?: boolean | (() => boolean);
|
|
323
323
|
/** 资源屏蔽配置 */
|
|
324
324
|
blockingConfig?: BlockingConfig;
|
|
325
325
|
/** 直连失败时是否回退到代理(默认 true) */
|