@ekhein/lamda-node-sdk 2.0.4 → 2.0.5

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/dist/main.d.ts CHANGED
@@ -21,7 +21,7 @@ export declare class Device {
21
21
  sleep(min?: number, max?: number): Promise<unknown>;
22
22
  passwd(pwd: string, keyboard: Record<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9", Parameters<typeof this.UiAutomator["selectorClick"]>[0]>): Promise<void>;
23
23
  open(data: string): Promise<import("./rpc/types").Boolean>;
24
- stop(...args: Parameters<typeof this.Application["stopApplication"]>): Promise<import("./rpc/types").Boolean>;
24
+ kill(...args: Parameters<typeof this.Application["stopApplication"]>): Promise<import("./rpc/types").Boolean>;
25
25
  call(args: {
26
26
  package: string;
27
27
  callinfo: {
package/dist/main.js CHANGED
@@ -76,7 +76,7 @@ export class Device {
76
76
  flags: (FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_CLEAR_TASK)
77
77
  });
78
78
  }
79
- async stop(...args) {
79
+ async kill(...args) {
80
80
  return this.Application
81
81
  .stopApplication(...args);
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekhein/lamda-node-sdk",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "type": "module",
5
5
  "author": "ekhein",
6
6
  "license": "MIT",