@applitools/types
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "@applitools/types", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"keywords": [ | ||
@@ -52,3 +52,3 @@ "applitools", | ||
"devDependencies": { | ||
"@applitools/bongo": "^2.0.2", | ||
"@applitools/bongo": "^2.0.3", | ||
"@types/node": "^14.14.7", | ||
@@ -55,0 +55,0 @@ "@typescript-eslint/eslint-plugin": "^4.7.0", |
/// <reference types="node" /> | ||
import { Size, Region } from './data'; | ||
import { Size, Region, ScreenOrientation } from './data'; | ||
export declare type DriverInfo = { | ||
@@ -82,5 +82,7 @@ sessionId?: string; | ||
getOrientation?(driver: TDriver): Promise<'portrait' | 'landscape'>; | ||
getBarsHeight?(driver: TDriver): Promise<{ | ||
setOrientation?(driver: TDriver, orientation: ScreenOrientation): Promise<void>; | ||
getBarsSize?(driver: TDriver): Promise<{ | ||
statusBarHeight: number; | ||
navigationBarHeight: number; | ||
navigationBarWidth: number; | ||
}>; | ||
@@ -172,7 +174,12 @@ getElementRegion?(driver: TDriver, element: TElement): Promise<Region>; | ||
}): Promise<'portrait' | 'landscape'>; | ||
getBarsHeight?(options: { | ||
setOrientation?(options: { | ||
driver: TDriver; | ||
orientation: ScreenOrientation; | ||
}): Promise<void>; | ||
getBarsSize?(options: { | ||
driver: TDriver; | ||
}): Promise<{ | ||
statusBarHeight: number; | ||
navigationBarHeight: number; | ||
navigationBarWidth: number; | ||
}>; | ||
@@ -179,0 +186,0 @@ getElementRegion?(options: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
43454
697
0