epii-types-rpa 1.5.4 → 1.5.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rpa.d.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "description": "rpa-types",
5
5
  "author": "MrRen",
6
6
  "license": "ISC",
package/rpa.d.ts CHANGED
@@ -34,7 +34,7 @@ type PageHander = {
34
34
  evaluateFunction: (func: Function, data?: Object) => Promise<any>;
35
35
  waitForSelector: (selector: string) => Promise;
36
36
  waitForTrue: (func: Function, data?: Object) => Promise;
37
- waitForOnceLoad: (invokeFun:Function) => Promise;
37
+ waitForOnceLoad: (invokeFun:Function,params?: Object) => Promise;
38
38
  waitForClosed: (invokeFun:Function) => Promise;
39
39
  execScript: (script: String, params?: Object) => Promise,
40
40
  getPageId: () => string;
@@ -208,6 +208,7 @@ declare namespace rpa {
208
208
  function removeItem(key: String): Promise;
209
209
  }
210
210
  namespace view {
211
+ function prompt(message?: any): Promise;
211
212
  function alert(message?: any): Promise;
212
213
  function confirm(message?: string): Promise;
213
214
  function getCustomValue(keysOrOptions: Array<String> | Array<FormItem>, autoNextCount: Number = 5, title = ""): Promise<Object>;