epii-types-rpa 1.1.9 → 1.2.1

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 +8 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.1.9",
3
+ "version": "1.2.1",
4
4
  "description": "rpa-types",
5
5
  "author": "MrRen",
6
6
  "license": "ISC",
package/rpa.d.ts CHANGED
@@ -100,8 +100,8 @@ namespace rpa {
100
100
  function get(key: String = null): Promise;
101
101
  function set(map: Object): Promise;
102
102
  }
103
- namespace frame {
104
- function newIframeAndevaluateCross(urlOrFunction, func: Function, data = {},removeOnFinish:Boolean = true): Promise;
103
+ namespace frame {
104
+ function newIframeAndevaluateCross(urlOrFunction, func: Function, data = {}, removeOnFinish: Boolean = true): Promise;
105
105
  function evaluateCross(name: String, func: Function, data = {}): Promise;
106
106
  function evaluate(name: String, func: Function): Promise;
107
107
  function evaluateOnNextFrame(invokeFun: Function, func: Function, remove: boolean): Promise;
@@ -115,6 +115,9 @@ namespace rpa {
115
115
  function removeItem(key: String): Promise;
116
116
  }
117
117
  namespace view {
118
+ function alert(message?: any): Promise;
119
+ function confirm(message?: string): Promise;
120
+ function getCustomValue(keysOrOptions: Array, title = ""): Promise;
118
121
  function showConsoleView(title: String = null): Promise;
119
122
  function hideConsoleView();
120
123
  function console(msg: String, color: String = "#ffffff");
@@ -122,6 +125,9 @@ namespace rpa {
122
125
  function hideMaskView();
123
126
 
124
127
  }
128
+ namespace process {
129
+ function exit(): Promise;
130
+ }
125
131
  }
126
132
 
127
133
  declare function require(path: String): Promise;