@appium/base-plugin 2.2.3 → 2.2.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/build/lib/plugin.d.ts +3 -3
- package/build/lib/plugin.d.ts.map +1 -1
- package/build/lib/plugin.js +1 -1
- package/lib/plugin.js +1 -1
- package/package.json +4 -4
package/build/lib/plugin.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export default BasePlugin;
|
|
|
2
2
|
export type Plugin = import('@appium/types').Plugin;
|
|
3
3
|
export type NextPluginCallback = import('@appium/types').NextPluginCallback;
|
|
4
4
|
export type Constraints = import('@appium/types').Constraints;
|
|
5
|
-
export type Driver<C extends
|
|
5
|
+
export type Driver<C extends import("@appium/types").Constraints> = import('@appium/types').Driver<C>;
|
|
6
6
|
/**
|
|
7
7
|
* @implements {Plugin}
|
|
8
8
|
*/
|
|
@@ -58,8 +58,8 @@ export class BasePlugin implements Plugin {
|
|
|
58
58
|
* @param {NextPluginCallback} next
|
|
59
59
|
* @param {Driver<C>} driver
|
|
60
60
|
* @param {string} script
|
|
61
|
-
* @param {[
|
|
61
|
+
* @param {readonly [import('@appium/types').StringRecord<unknown>] | readonly any[]} protoArgs
|
|
62
62
|
*/
|
|
63
|
-
executeMethod<C extends
|
|
63
|
+
executeMethod<C extends import("@appium/types").Constraints>(next: NextPluginCallback, driver: import("@appium/types").Driver<C, import("@appium/types").StringRecord<any>, import("@appium/types").StringRecord<any>, import("@appium/types").DefaultCreateSessionResult<C>, void>, script: string, protoArgs: readonly [import('@appium/types').StringRecord<unknown>] | readonly any[]): Promise<unknown>;
|
|
64
64
|
}
|
|
65
65
|
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../lib/plugin.js"],"names":[],"mappings":";qBAuFa,OAAO,eAAe,EAAE,MAAM;iCAC9B,OAAO,eAAe,EAAE,kBAAkB;0BAC1C,OAAO,eAAe,EAAE,WAAW;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../lib/plugin.js"],"names":[],"mappings":";qBAuFa,OAAO,eAAe,EAAE,MAAM;iCAC9B,OAAO,eAAe,EAAE,kBAAkB;0BAC1C,OAAO,eAAe,EAAE,WAAW;oEAKnC,OAAO,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;AA3F9C;;GAEG;AACH;IACE;;;;;;;;;;;;;;OAcG;IACH,wBAAyB;IAEzB;;;;;;;;;;;;;;;OAeG;IACH,4BAA6B;IAE7B;;;OAGG;IACH,kBAHW,MAAM,iDAOhB;IAHC,aAAgB;IAChB,iCAAsB;IACtB,6CAAkD;IAGpD;;;;;;;;;;;OAWG;IACH,mEALW,kBAAkB,wMAElB,MAAM,aACN,SAAS,CAAC,OAAO,eAAe,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,SAAS,GAAG,EAAE,oBAkBnF;CACF"}
|
package/build/lib/plugin.js
CHANGED
|
@@ -26,7 +26,7 @@ class BasePlugin {
|
|
|
26
26
|
* @param {NextPluginCallback} next
|
|
27
27
|
* @param {Driver<C>} driver
|
|
28
28
|
* @param {string} script
|
|
29
|
-
* @param {[
|
|
29
|
+
* @param {readonly [import('@appium/types').StringRecord<unknown>] | readonly any[]} protoArgs
|
|
30
30
|
*/
|
|
31
31
|
async executeMethod(next, driver, script, protoArgs) {
|
|
32
32
|
const Plugin = /** @type {import('@appium/types').PluginClass<Plugin>} */ (this.constructor);
|
package/lib/plugin.js
CHANGED
|
@@ -60,7 +60,7 @@ class BasePlugin {
|
|
|
60
60
|
* @param {NextPluginCallback} next
|
|
61
61
|
* @param {Driver<C>} driver
|
|
62
62
|
* @param {string} script
|
|
63
|
-
* @param {[
|
|
63
|
+
* @param {readonly [import('@appium/types').StringRecord<unknown>] | readonly any[]} protoArgs
|
|
64
64
|
*/
|
|
65
65
|
async executeMethod(next, driver, script, protoArgs) {
|
|
66
66
|
const Plugin = /** @type {import('@appium/types').PluginClass<Plugin>} */ (this.constructor);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/base-plugin",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.5",
|
|
4
4
|
"description": "The base plugin used to create Appium 2.0 plugins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"test:unit": "mocha \"./test/unit/**/*.spec.js\""
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@appium/base-driver": "^9.3.
|
|
44
|
-
"@appium/support": "^3.1.
|
|
43
|
+
"@appium/base-driver": "^9.3.5",
|
|
44
|
+
"@appium/support": "^3.1.9"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "a11a6ede3320c0a58aad82fd7fc4c8b8ba75ae95",
|
|
54
54
|
"tags": [
|
|
55
55
|
"appium"
|
|
56
56
|
],
|