Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@appium/types

Package Overview
Dependencies
Maintainers
7
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appium/types - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

12

build/driver.d.ts

@@ -30,2 +30,13 @@ /// <reference types="node" />

}
export interface ExecuteCommands {
executeMethod(script: string, args: [Record<string, any>] | []): Promise<any>;
}
export interface ExecuteMethodDef {
command: string;
params?: {
required?: string[];
optional?: string[];
};
}
export declare type ExecuteMethodMap = Record<string, ExecuteMethodDef>;
export interface MultiSessionData {

@@ -426,2 +437,3 @@ id: string;

newMethodMap?: MethodMap<ExternalDriver>;
executeMethodMap: ExecuteMethodMap;
}

@@ -428,0 +440,0 @@ /**

3

build/index.d.ts

@@ -139,4 +139,5 @@ /// <reference types="node" />

* @param httpServer - the node HTTP server that hosts the app
* @param cliArgs - Arguments from config files, CLI, etc.
*/
export declare type UpdateServerCallback = (expressApp: Express, httpServer: AppiumServer) => Promise<void>;
export declare type UpdateServerCallback = (expressApp: Express, httpServer: AppiumServer, cliArgs: ServerArgs) => Promise<void>;
/**

@@ -143,0 +144,0 @@ * Possible HTTP methods, as stolen from `axios`.

@@ -47,2 +47,15 @@ import type {EventEmitter} from 'events';

export interface ExecuteCommands {
executeMethod(script: string, args: [Record<string, any>]|[]): Promise<any>;
}
export interface ExecuteMethodDef {
command: string,
params?: {
required?: string[],
optional?: string[],
}
};
export type ExecuteMethodMap = Record<string, ExecuteMethodDef>;
export interface MultiSessionData {

@@ -578,2 +591,3 @@ id: string;

newMethodMap?: MethodMap<ExternalDriver>;
executeMethodMap: ExecuteMethodMap;
}

@@ -580,0 +594,0 @@

@@ -164,5 +164,7 @@ import type {Server as WSServer} from 'ws';

* @param httpServer - the node HTTP server that hosts the app
* @param cliArgs - Arguments from config files, CLI, etc.
*/
export type UpdateServerCallback = (expressApp: Express, httpServer: AppiumServer) => Promise<void>;
export type UpdateServerCallback = (expressApp: Express, httpServer: AppiumServer, cliArgs: ServerArgs) => Promise<void>;
/**

@@ -169,0 +171,0 @@ * Possible HTTP methods, as stolen from `axios`.

@@ -1,2 +0,2 @@

import {MethodMap, UpdateServerCallback, Class, AppiumLogger} from '.';
import {MethodMap, UpdateServerCallback, Class, AppiumLogger, PluginType} from '.';
import {Driver, ExternalDriver} from './driver';

@@ -3,0 +3,0 @@

{
"name": "@appium/types",
"version": "0.3.1",
"version": "0.4.0",
"description": "Various type declarations used across Appium",

@@ -48,3 +48,3 @@ "keywords": [

},
"gitHead": "500c08f3929b1dd531d119872d11cea59d417eb7"
"gitHead": "c58f32441daba3aae9768a57d0a412fe92f4b587"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc