@skrillex1224/playwright-toolkit 2.1.213 → 2.1.215

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
@@ -365,7 +365,6 @@ export interface RuntimeEnvState {
365
365
  runtime: Record<string, any>;
366
366
  envId: string;
367
367
  query: string;
368
- auth: Record<string, string>;
369
368
  cookies: ParsedCookie[];
370
369
  cookieMap: Record<string, string>;
371
370
  localStorage: Record<string, string>;
@@ -398,7 +397,6 @@ export interface RuntimeEnvSnapshot {
398
397
  browserProfile?: Record<string, any>;
399
398
  browser_profile_observed?: Record<string, any>;
400
399
  browserProfileObserved?: Record<string, any>;
401
- auth?: Record<string, any>;
402
400
  }
403
401
 
404
402
  export interface RuntimeEnvModule {
@@ -406,11 +404,10 @@ export interface RuntimeEnvModule {
406
404
  buildEnvPatch(source?: Record<string, any>, actor?: string): Record<string, any> | null;
407
405
  normalizeSnapshot(snapshot?: RuntimeEnvSnapshot): RuntimeEnvSnapshot;
408
406
  collectCookieUrls(snapshot?: RuntimeEnvSnapshot): string[];
409
- buildRuntimeEnvFromSnapshot(snapshot?: RuntimeEnvSnapshot, options?: { browserProfileCore?: Record<string, any>; auth?: Record<string, any> }): Record<string, any> | null;
410
- buildEnvPatchFromSnapshot(snapshot?: RuntimeEnvSnapshot, options?: { browserProfileCore?: Record<string, any>; auth?: Record<string, any> }): Record<string, any> | null;
407
+ buildRuntimeEnvFromSnapshot(snapshot?: RuntimeEnvSnapshot, options?: { browserProfileCore?: Record<string, any> }): Record<string, any> | null;
408
+ buildEnvPatchFromSnapshot(snapshot?: RuntimeEnvSnapshot, options?: { browserProfileCore?: Record<string, any> }): Record<string, any> | null;
411
409
  mergeEnvPatches(...patches: Array<Record<string, any> | null | undefined>): Record<string, any> | null;
412
410
  hasLoginState(source?: Record<string, any>, actor?: string): boolean;
413
- getAuthValue(source?: Record<string, any>, key?: string, actor?: string): string;
414
411
  rememberState(source?: Record<string, any>): RuntimeEnvState | null;
415
412
  peekRememberedState(): RuntimeEnvState | null;
416
413
  getBrowserProfileCore(source?: Record<string, any>, actor?: string): Record<string, any>;
@@ -421,7 +418,6 @@ export interface RuntimeEnvModule {
421
418
  normalizeCookies(value: any): ParsedCookie[];
422
419
  normalizeLocalStorage(value: any): Record<string, string>;
423
420
  normalizeSessionStorage(value: any): Record<string, string>;
424
- normalizeAuth(value: any): Record<string, string>;
425
421
  normalizeBrowserProfileCore(value: any): Record<string, any>;
426
422
  normalizeObservedBrowserProfile(value: any): Record<string, any>;
427
423
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.213",
3
+ "version": "2.1.215",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",