@appium/execute-driver-plugin 3.0.8 → 3.0.9

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.
@@ -10,7 +10,7 @@ export default class ExecuteDriverPlugin extends BasePlugin {
10
10
  };
11
11
  };
12
12
  };
13
- executeDriverScript(next: import("@appium/types").NextPluginCallback, driver: [script: string, scriptType: string | undefined, timeoutMs: number | undefined], ...args: any): Promise<any>;
13
+ executeDriverScript(next: import("@appium/types").NextPluginCallback<unknown>, driver: import("@appium/types").ExternalDriver<import("@appium/types").Constraints>, script: string, scriptType: string | undefined, timeoutMs: number | undefined): Promise<unknown>;
14
14
  }
15
15
  import { BasePlugin } from "@appium/base-plugin";
16
16
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../lib/plugin.js"],"names":[],"mappings":"AAUA;IACE;;;;;;;;;;MAOG;IAkE8B,2LACW;CAyE7C"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../lib/plugin.js"],"names":[],"mappings":"AAUA;IACE;;;;;;;;;;MAOG;IAqGG,qQAMa;CAiCpB"}
@@ -27,7 +27,7 @@ class ExecuteDriverPlugin extends plugin_1.BasePlugin {
27
27
  *
28
28
  * @returns {Promise<any>} - a JSONifiable object representing the return value of
29
29
  * the script
30
- * @type {import('@appium/types').PluginCommand<[script: string, scriptType: string?, timeoutMs: number?], any>}
30
+ * @type {import('@appium/types').PluginCommand<import('@appium/types').ExternalDriver, [script: string, scriptType: string?, timeoutMs: number?]>}
31
31
  * @throws {Error}
32
32
  */
33
33
  async executeDriverScript(next, driver, script, scriptType = 'webdriverio', timeoutMs = DEFAULT_SCRIPT_TIMEOUT_MS) {
package/lib/plugin.js CHANGED
@@ -32,7 +32,7 @@ export default class ExecuteDriverPlugin extends BasePlugin {
32
32
  *
33
33
  * @returns {Promise<any>} - a JSONifiable object representing the return value of
34
34
  * the script
35
- * @type {import('@appium/types').PluginCommand<[script: string, scriptType: string?, timeoutMs: number?], any>}
35
+ * @type {import('@appium/types').PluginCommand<import('@appium/types').ExternalDriver, [script: string, scriptType: string?, timeoutMs: number?]>}
36
36
  * @throws {Error}
37
37
  */
38
38
  async executeDriverScript(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/execute-driver-plugin",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "Plugin for batching and executing driver commands with Appiums",
5
5
  "keywords": [
6
6
  "automation",
@@ -59,7 +59,7 @@
59
59
  "pluginName": "execute-driver",
60
60
  "mainClass": "ExecuteDriverPlugin"
61
61
  },
62
- "gitHead": "872b924a97c13142bdb8bf4218a4db324f309ce4",
62
+ "gitHead": "d514ebdd7ebd27bb236509d0a3d580f0f18a34e5",
63
63
  "typedoc": {
64
64
  "entryPoint": "./lib/plugin.js"
65
65
  }