@iflyrpa/playwright 1.2.51 → 1.2.53-beta.0

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.d.ts CHANGED
@@ -43,10 +43,18 @@ 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?;
46
50
  constructor(taskParams: TaskParams);
47
51
  updateCoreVersion(version: string): void;
48
52
  updateUser(user: User): void;
49
53
  updateArticleId(articleId?: string): void;
54
+ updateSaveType(saveType?: string): void;
55
+ updateGBInitStatus(status: boolean): void;
56
+ updateBetaFlag(status: boolean): void;
57
+ updateTimeConsuming(Record: TimeConsuming): void;
50
58
  private setScope;
51
59
  captureException(error: unknown, extras?: Record<string, unknown>): void;
52
60
  captureMessage(message: string, level?: SeverityLevel, extras?: Record<string, unknown>): void;
@@ -58,9 +66,12 @@ declare class Task implements AutomateTask {
58
66
  debug: boolean;
59
67
  packagesDir: string;
60
68
  packageManager: PackageManager;
69
+ _timerRecord: Record<string, any>;
61
70
  private playwrightPackage;
62
71
  private electronPackage;
63
72
  private _electronApp;
73
+ private growthBook;
74
+ isInitializedGB: boolean;
64
75
  /**
65
76
  * 应用是否已关闭
66
77
  */
@@ -99,6 +110,11 @@ declare class Task implements AutomateTask {
99
110
  protected setActionVersion(version: string): void;
100
111
  setUser(user: User): void;
101
112
  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;
102
118
  }
103
119
 
104
120
  declare interface TaskParams {
@@ -106,9 +122,11 @@ declare interface TaskParams {
106
122
  cachePath: string;
107
123
  forceUpdate?: boolean;
108
124
  user?: User;
109
- enverionment?: string;
125
+ environment?: string;
110
126
  }
111
127
 
128
+ declare type TimeConsuming = Record<string, any>;
129
+
112
130
  export declare const version: string;
113
131
 
114
132
  export { }