epii-types-rpa 1.2.9 → 1.3.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 +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.2.9",
3
+ "version": "1.3.1",
4
4
  "description": "rpa-types",
5
5
  "author": "MrRen",
6
6
  "license": "ISC",
package/rpa.d.ts CHANGED
@@ -73,6 +73,7 @@ namespace rpa {
73
73
  function lockThread(tag: String): Promise;
74
74
  function lock(tag: String = 'main'): Promise;
75
75
  function unlock(tag: String = 'main');
76
+ function resetlock(tag: String = 'main');
76
77
  function singleThread(tag: String): Promise;
77
78
  function singleTask(func: Function, waitTimeout: Number = 10, tag: String = 'main'): Promise;
78
79
  function clearTask(tag: String = 'main');
@@ -107,6 +108,7 @@ namespace rpa {
107
108
  function waitForSelector(selectorOrFunction: String | Function): Promise<Element>;
108
109
  function waitForSelectors(selectorOrFunction: String | Function): Promise<Array<Element>>
109
110
  function getAppDataDir(subDir:string):Promise<string>;
111
+ function unlink(filepath:string):Promise<string>;
110
112
  }
111
113
  namespace page {
112
114