epii-types-rpa 1.2.2 → 1.2.3
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/package.json +1 -1
- package/rpa.d.ts +12 -1
package/package.json
CHANGED
package/rpa.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ namespace rpa {
|
|
|
50
50
|
namespace console {
|
|
51
51
|
function log(object: any): Promise;
|
|
52
52
|
function error(error): Promise;
|
|
53
|
-
function readline(tip:String = ""):Promise;
|
|
53
|
+
function readline(tip:String = "",dvalue=""):Promise;
|
|
54
54
|
}
|
|
55
55
|
namespace tools {
|
|
56
56
|
function addRequestHandler(r: RequestHandler): Promise
|
|
@@ -130,6 +130,17 @@ namespace rpa {
|
|
|
130
130
|
namespace process {
|
|
131
131
|
function exit(): Promise;
|
|
132
132
|
}
|
|
133
|
+
namespace cross{
|
|
134
|
+
function newIframeContextAndEvaluate(host:String, func: Function, data = {}, removeOnFinish: Boolean = true): Promise;
|
|
135
|
+
function newIframeAndEvaluate(urlOrFunction:String|Function, func: Function, data = {}, removeOnFinish: Boolean = true): Promise;
|
|
136
|
+
namespace ajax {
|
|
137
|
+
function post(url: String, data: Object | String = "", headers: Object = {}): Promise;
|
|
138
|
+
function get(url: String, headers: Object = {}): Promise;
|
|
139
|
+
function getBase64(url: String, headers: Object = {}): Promise;
|
|
140
|
+
function download(url: String, path: String): Promise
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
}
|
|
133
144
|
}
|
|
134
145
|
|
|
135
146
|
declare function require(path: String): Promise;
|