@skrillex1224/playwright-toolkit 2.1.214 → 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/dist/browser.js +6 -33
- package/dist/browser.js.map +2 -2
- package/dist/index.cjs +4 -30
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +4 -30
- package/dist/index.js.map +2 -2
- package/index.d.ts +2 -6
- package/package.json +1 -1
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
|
|
410
|
-
buildEnvPatchFromSnapshot(snapshot?: RuntimeEnvSnapshot, options?: { browserProfileCore?: Record<string, any
|
|
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
|
}
|