epii-types-rpa 1.2.0 → 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 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.2.0",
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,7 +115,9 @@ namespace rpa {
115
115
  function removeItem(key: String): Promise;
116
116
  }
117
117
  namespace view {
118
- function getCustomValue(keysOrOptions:Array,title=""):Promise;
118
+ function alert(message?: any): Promise;
119
+ function confirm(message?: string): Promise;
120
+ function getCustomValue(keysOrOptions: Array, title = ""): Promise;
119
121
  function showConsoleView(title: String = null): Promise;
120
122
  function hideConsoleView();
121
123
  function console(msg: String, color: String = "#ffffff");
@@ -123,6 +125,9 @@ namespace rpa {
123
125
  function hideMaskView();
124
126
 
125
127
  }
128
+ namespace process {
129
+ function exit(): Promise;
130
+ }
126
131
  }
127
132
 
128
133
  declare function require(path: String): Promise;