@applitools/eyes-images 4.28.10 → 4.28.11
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/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/types/index.d.ts +24 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.28.11](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.28.10...js/eyes-images@4.28.11) (2024-10-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/screenshoter bumped to 3.9.2
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* test in screenshoter web ([f068dbe](https://github.com/Applitools-Dev/sdk/commit/f068dbe9036163fb3e316411cfd9f47a226d7c9c))
|
|
12
|
+
* @applitools/core bumped to 4.21.2
|
|
13
|
+
|
|
14
|
+
* @applitools/eyes bumped to 1.25.1
|
|
15
|
+
|
|
16
|
+
|
|
3
17
|
## [4.28.10](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images-v4.28.9...js/eyes-images@4.28.10) (2024-10-21)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.28.
|
|
3
|
+
"version": "4.28.11",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/eyes": "1.
|
|
43
|
+
"@applitools/eyes": "1.25.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export type ConfigurationPlain = {
|
|
|
207
207
|
rotation?: undefined | ImageRotationPlain;
|
|
208
208
|
scaleRatio?: undefined | number;
|
|
209
209
|
concurrentSessions?: undefined | number;
|
|
210
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
210
|
+
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
211
211
|
visualGridOptions?: undefined | Record<string, any>;
|
|
212
212
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
213
213
|
disableBrowserFetching?: undefined | boolean;
|
|
@@ -431,9 +431,9 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
431
431
|
set concurrentSessions(concurrentSessions: number);
|
|
432
432
|
getConcurrentSessions(): number;
|
|
433
433
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
434
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
435
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
436
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone
|
|
434
|
+
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
435
|
+
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>);
|
|
436
|
+
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs Max"; }; })>;
|
|
437
437
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
438
438
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
439
439
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
@@ -448,21 +448,21 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
448
448
|
addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
|
|
449
449
|
addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
|
|
450
450
|
addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
|
|
451
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
452
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
451
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
452
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
|
|
453
453
|
addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
|
|
454
454
|
addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
|
|
455
455
|
addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
|
|
456
456
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
|
|
457
457
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
|
|
458
458
|
addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
|
|
459
|
+
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
459
460
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
|
|
460
461
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
|
|
461
462
|
addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
|
|
462
463
|
addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
|
|
463
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
464
|
-
addMultiDeviceTarget(deviceName: "iPhone
|
|
465
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
464
|
+
addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
|
|
465
|
+
addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
|
|
466
466
|
addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
|
|
467
467
|
get visualGridOptions(): { [key: string]: any; };
|
|
468
468
|
set visualGridOptions(visualGridOptions: { [key: string]: any; });
|
|
@@ -1020,17 +1020,19 @@ export enum FailureReport {
|
|
|
1020
1020
|
IMMEDIATE = 'IMMEDIATE',
|
|
1021
1021
|
ON_CLOSE = 'ON_CLOSE'
|
|
1022
1022
|
}
|
|
1023
|
-
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone
|
|
1023
|
+
export type IosDeviceNamePlain = "iPhone X" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 15 Pro" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad mini (6th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max" | "iPhone 15 Plus" | "iPhone 16" | "iPhone 16 Pro Max" | "iPhone 16 Pro" | "iPhone 16 Plus";
|
|
1024
1024
|
export enum IosDeviceName {
|
|
1025
1025
|
iPad_7 = 'iPad (7th generation)',
|
|
1026
1026
|
iPad_9 = 'iPad (9th generation)',
|
|
1027
|
+
iPad_10 = 'iPad (10th generation)',
|
|
1028
|
+
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
1027
1029
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
1028
1030
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
1029
1031
|
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
1030
1032
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
1031
1033
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
+
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
1035
|
+
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
1034
1036
|
iPhone_X = 'iPhone X',
|
|
1035
1037
|
iPhone_XR = 'iPhone XR',
|
|
1036
1038
|
iPhone_XS = 'iPhone Xs',
|
|
@@ -1043,12 +1045,21 @@ export enum IosDeviceName {
|
|
|
1043
1045
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
1044
1046
|
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
1045
1047
|
iPhone_13 = 'iPhone 13',
|
|
1048
|
+
iPhone_13_mini = 'iPhone 13 mini',
|
|
1046
1049
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
1047
1050
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
1048
1051
|
iPhone_14 = 'iPhone 14',
|
|
1049
1052
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
1053
|
+
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
1054
|
+
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
1050
1055
|
iPhone_15 = 'iPhone 15',
|
|
1051
|
-
iPhone_15_Pro_Max = 'iPhone 15 Pro Max'
|
|
1056
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
1057
|
+
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
1058
|
+
iPhone_15_Plus = 'iPhone 15 Plus',
|
|
1059
|
+
iPhone_16 = 'iPhone 16',
|
|
1060
|
+
iPhone_16_Pro_Max = 'iPhone 16 Pro Max',
|
|
1061
|
+
iPhone_16_Pro = 'iPhone 16 Pro',
|
|
1062
|
+
iPhone_16_Plus = 'iPhone 16 Plus'
|
|
1052
1063
|
}
|
|
1053
1064
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
1054
1065
|
export enum IosVersion {
|