@iflyrpa/playwright 1.2.55 → 1.2.57
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 +466 -5577
- package/dist/index.d.ts +0 -18
- package/dist/index.js +250 -5387
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -43,18 +43,10 @@ declare class SentryInstance {
|
|
|
43
43
|
private coreVersion?;
|
|
44
44
|
private user?;
|
|
45
45
|
private articleId?;
|
|
46
|
-
private saveType?;
|
|
47
|
-
private GBInitStatus?;
|
|
48
|
-
private isBetaUser?;
|
|
49
|
-
private TimeConsuming?;
|
|
50
46
|
constructor(taskParams: TaskParams);
|
|
51
47
|
updateCoreVersion(version: string): void;
|
|
52
48
|
updateUser(user: User): void;
|
|
53
49
|
updateArticleId(articleId?: string): void;
|
|
54
|
-
updateSaveType(saveType?: string): void;
|
|
55
|
-
updateGBInitStatus(status: boolean): void;
|
|
56
|
-
updateBetaFlag(status: boolean): void;
|
|
57
|
-
updateTimeConsuming(Record: TimeConsuming): void;
|
|
58
50
|
private setScope;
|
|
59
51
|
captureException(error: unknown, extras?: Record<string, unknown>): void;
|
|
60
52
|
captureMessage(message: string, level?: SeverityLevel, extras?: Record<string, unknown>): void;
|
|
@@ -66,12 +58,9 @@ declare class Task implements AutomateTask {
|
|
|
66
58
|
debug: boolean;
|
|
67
59
|
packagesDir: string;
|
|
68
60
|
packageManager: PackageManager;
|
|
69
|
-
_timerRecord: Record<string, any>;
|
|
70
61
|
private playwrightPackage;
|
|
71
62
|
private electronPackage;
|
|
72
63
|
private _electronApp;
|
|
73
|
-
private growthBook;
|
|
74
|
-
isInitializedGB: boolean;
|
|
75
64
|
/**
|
|
76
65
|
* 应用是否已关闭
|
|
77
66
|
*/
|
|
@@ -110,11 +99,6 @@ declare class Task implements AutomateTask {
|
|
|
110
99
|
protected setActionVersion(version: string): void;
|
|
111
100
|
setUser(user: User): void;
|
|
112
101
|
setArticleId(articleId: string): void;
|
|
113
|
-
setSaveType(saveType: string): void;
|
|
114
|
-
setGbInitType(status: boolean): void;
|
|
115
|
-
setTimeConsuming(Record: Record<string, any>): void;
|
|
116
|
-
isFeatOn(key: string): boolean;
|
|
117
|
-
private initializeGrowthBook;
|
|
118
102
|
}
|
|
119
103
|
|
|
120
104
|
declare interface TaskParams {
|
|
@@ -125,8 +109,6 @@ declare interface TaskParams {
|
|
|
125
109
|
enverionment?: string;
|
|
126
110
|
}
|
|
127
111
|
|
|
128
|
-
declare type TimeConsuming = Record<string, any>;
|
|
129
|
-
|
|
130
112
|
export declare const version: string;
|
|
131
113
|
|
|
132
114
|
export { }
|