@ekhein/lamda-node-sdk 10.8.10 → 10.8.12

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/dist/main.js +3 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -56,11 +56,12 @@ class Device {
56
56
  }
57
57
  async clickEx(selector, corner) {
58
58
  await this.waitFor(selector);
59
- await this.sleep(500);
59
+ await this.sleep(1000);
60
60
  await this.click(selector, corner);
61
61
  }
62
62
  async keyboard(keys, selector) {
63
63
  await this.waitFor(selector.x);
64
+ await this.sleep(1000);
64
65
  for (let i = 0; i < keys.length; i++) {
65
66
  await this.sleep(100, 200);
66
67
  await this.click(selector[keys[i]]);
@@ -84,7 +85,7 @@ class Device {
84
85
  .startActivity({
85
86
  data,
86
87
  action: android_intent_1.ACTION_VIEW,
87
- flags: activity_flag_1.FLAG_ACTIVITY_NEW_TASK | activity_flag_1.FLAG_ACTIVITY_CLEAR_TOP | activity_flag_1.FLAG_ACTIVITY_CLEAR_TASK
88
+ flags: activity_flag_1.FLAG_ACTIVITY_NEW_TASK | activity_flag_1.FLAG_ACTIVITY_CLEAR_TASK
88
89
  });
89
90
  }
90
91
  async kill(name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekhein/lamda-node-sdk",
3
- "version": "10.8.10",
3
+ "version": "10.8.12",
4
4
  "author": "ekhein",
5
5
  "license": "MIT",
6
6
  "main": "./dist/main.js",