@applitools/eyes 1.13.2 → 1.13.4

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 CHANGED
@@ -1,5 +1,93 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.13.3...js/eyes@1.13.4) (2024-01-02)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/dom-shared bumped to 1.0.12
9
+ #### Bug Fixes
10
+
11
+ * fix error handling in process page poll ([#2127](https://github.com/applitools/eyes.sdk.javascript1/issues/2127)) ([4346026](https://github.com/applitools/eyes.sdk.javascript1/commit/4346026d567b92747df5b4f13fb1e82b849a856e))
12
+ * @applitools/dom-capture bumped to 11.2.5
13
+
14
+ * @applitools/dom-snapshot bumped to 4.7.15
15
+ #### Bug Fixes
16
+
17
+ * fix error handling in process page poll ([#2127](https://github.com/applitools/eyes.sdk.javascript1/issues/2127)) ([4346026](https://github.com/applitools/eyes.sdk.javascript1/commit/4346026d567b92747df5b4f13fb1e82b849a856e))
18
+
19
+
20
+
21
+ * @applitools/nml-client bumped to 1.6.3
22
+ #### Bug Fixes
23
+
24
+ * environment for each check for local environment ([#2135](https://github.com/applitools/eyes.sdk.javascript1/issues/2135)) ([f3a4483](https://github.com/applitools/eyes.sdk.javascript1/commit/f3a44831d41e190aa259367b17e930e7b6f39a04))
25
+ * @applitools/core-base bumped to 1.8.0
26
+ #### Features
27
+
28
+ * sorted result regions of locate method ([ef6b249](https://github.com/applitools/eyes.sdk.javascript1/commit/ef6b249ad9d6998d6089423efd93f0220f13d378))
29
+
30
+
31
+ #### Bug Fixes
32
+
33
+ * fixed concurrency splank logging ([#2115](https://github.com/applitools/eyes.sdk.javascript1/issues/2115)) ([83afd7d](https://github.com/applitools/eyes.sdk.javascript1/commit/83afd7dd2b52125fdc233dadbaf774811ea1c738))
34
+ * @applitools/ec-client bumped to 1.7.21
35
+
36
+ * @applitools/core bumped to 4.5.2
37
+ #### Bug Fixes
38
+
39
+ * environment for each check for local environment ([#2135](https://github.com/applitools/eyes.sdk.javascript1/issues/2135)) ([f3a4483](https://github.com/applitools/eyes.sdk.javascript1/commit/f3a44831d41e190aa259367b17e930e7b6f39a04))
40
+ * fixed concurrency splank logging ([#2115](https://github.com/applitools/eyes.sdk.javascript1/issues/2115)) ([83afd7d](https://github.com/applitools/eyes.sdk.javascript1/commit/83afd7dd2b52125fdc233dadbaf774811ea1c738))
41
+ * fixed the issue when custom os name passed through configuration wasn't respected ([359fc0d](https://github.com/applitools/eyes.sdk.javascript1/commit/359fc0df5a9400312605bb9e8842784b7a05ba7d))
42
+
43
+
44
+
45
+
46
+ ## [1.13.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.13.2...js/eyes@1.13.3) (2023-12-19)
47
+
48
+
49
+ ### Dependencies
50
+
51
+ * @applitools/spec-driver-webdriver bumped to 1.0.54
52
+ #### Bug Fixes
53
+
54
+ * fixed extraction of the driver server url ([ddc6449](https://github.com/applitools/eyes.sdk.javascript1/commit/ddc6449fc72166ab26c99e9ba7bb83c05fd591d6))
55
+
56
+
57
+
58
+ * @applitools/driver bumped to 1.16.1
59
+ #### Bug Fixes
60
+
61
+ * fixed bug with screenshot not being properly scaled on ios devices with appium 2 ([#2092](https://github.com/applitools/eyes.sdk.javascript1/issues/2092)) ([26678bf](https://github.com/applitools/eyes.sdk.javascript1/commit/26678bfe254def506ea82e6a645519d6567fb3fd))
62
+ * fixed extraction of the driver server url ([ddc6449](https://github.com/applitools/eyes.sdk.javascript1/commit/ddc6449fc72166ab26c99e9ba7bb83c05fd591d6))
63
+ * fixed infinite loop that may appear during attribute extraction ([#2102](https://github.com/applitools/eyes.sdk.javascript1/issues/2102)) ([6bef680](https://github.com/applitools/eyes.sdk.javascript1/commit/6bef680fbd2d5c26a46cf2a4f00bd083d1d02109))
64
+ * @applitools/screenshoter bumped to 3.8.20
65
+ #### Bug Fixes
66
+
67
+ * fixed bug with screenshot not being properly scaled on ios devices with appium 2 ([#2092](https://github.com/applitools/eyes.sdk.javascript1/issues/2092)) ([26678bf](https://github.com/applitools/eyes.sdk.javascript1/commit/26678bfe254def506ea82e6a645519d6567fb3fd))
68
+
69
+
70
+
71
+ * @applitools/core-base bumped to 1.7.5
72
+ #### Bug Fixes
73
+
74
+ * avoid caching concurrency ([#2103](https://github.com/applitools/eyes.sdk.javascript1/issues/2103)) ([34db2e9](https://github.com/applitools/eyes.sdk.javascript1/commit/34db2e9c554b0851b18b514b1a8a82b83ff310cd))
75
+ * @applitools/spec-driver-selenium bumped to 1.5.68
76
+
77
+ * @applitools/spec-driver-puppeteer bumped to 1.3.4
78
+
79
+ * @applitools/nml-client bumped to 1.6.2
80
+
81
+ * @applitools/ec-client bumped to 1.7.20
82
+
83
+ * @applitools/core bumped to 4.5.1
84
+ #### Bug Fixes
85
+
86
+ * avoid caching concurrency ([#2103](https://github.com/applitools/eyes.sdk.javascript1/issues/2103)) ([34db2e9](https://github.com/applitools/eyes.sdk.javascript1/commit/34db2e9c554b0851b18b514b1a8a82b83ff310cd))
87
+
88
+
89
+
90
+
3
91
  ## [1.13.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.13.1...js/eyes@1.13.2) (2023-12-18)
4
92
 
5
93
 
package/dist/Eyes.js CHANGED
@@ -314,7 +314,12 @@ class Eyes {
314
314
  let target;
315
315
  if (utils.types.has(targetOrSettings, 'locatorNames')) {
316
316
  settings = targetOrSettings;
317
- target = this._driver;
317
+ if (utils.types.has(targetOrSettings, 'image')) {
318
+ target = { image: targetOrSettings.image };
319
+ }
320
+ else {
321
+ target = this._driver;
322
+ }
318
323
  }
319
324
  else {
320
325
  target = targetOrSettings;
@@ -1,31 +1,39 @@
1
1
  "use strict";
2
+ /* GENERATED FILE */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.AndroidDeviceNameEnum = void 0;
4
5
  var AndroidDeviceNameEnum;
5
6
  (function (AndroidDeviceNameEnum) {
6
- AndroidDeviceNameEnum["Pixel_3_XL"] = "Pixel 3 XL";
7
- AndroidDeviceNameEnum["Pixel_4"] = "Pixel 4";
8
- AndroidDeviceNameEnum["Pixel_4_XL"] = "Pixel 4 XL";
9
- AndroidDeviceNameEnum["Pixel_5"] = "Pixel 5";
10
- AndroidDeviceNameEnum["Pixel_6"] = "Pixel 6";
11
- AndroidDeviceNameEnum["Galaxy_S10"] = "Galaxy S10";
12
- AndroidDeviceNameEnum["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
13
- AndroidDeviceNameEnum["Galaxy_Note_10"] = "Galaxy Note 10";
14
- AndroidDeviceNameEnum["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
15
7
  AndroidDeviceNameEnum["Galaxy_S20"] = "Galaxy S20";
16
8
  AndroidDeviceNameEnum["Galaxy_S20_Plus"] = "Galaxy S20 Plus";
9
+ /** @deprecated use {@link Galaxy_S20_Plus } instead */
10
+ AndroidDeviceNameEnum["Galaxy_S20_PLUS"] = "Galaxy S20 Plus";
11
+ AndroidDeviceNameEnum["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
12
+ /** @deprecated use {@link Galaxy_S21_Ultra } instead */
13
+ AndroidDeviceNameEnum["Galaxy_S21_ULTRA"] = "Galaxy S21 Ultra";
14
+ AndroidDeviceNameEnum["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
15
+ AndroidDeviceNameEnum["Galaxy_S9"] = "Galaxy S9";
16
+ AndroidDeviceNameEnum["Galaxy_S10"] = "Galaxy S10";
17
+ AndroidDeviceNameEnum["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
18
+ AndroidDeviceNameEnum["Pixel_4_XL"] = "Pixel 4 XL";
19
+ AndroidDeviceNameEnum["Pixel_3_XL"] = "Pixel 3 XL";
17
20
  AndroidDeviceNameEnum["Galaxy_S21"] = "Galaxy S21";
18
21
  AndroidDeviceNameEnum["Galaxy_S21_Plus"] = "Galaxy S21 Plus";
19
- AndroidDeviceNameEnum["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
22
+ /** @deprecated use {@link Galaxy_S21_Plus } instead */
23
+ AndroidDeviceNameEnum["Galaxy_S21_PLUS"] = "Galaxy S21 Plus";
24
+ AndroidDeviceNameEnum["Xiaomi_Redmi_Note_11_Pro"] = "Xiaomi Redmi Note 11 Pro";
25
+ AndroidDeviceNameEnum["Xiaomi_Redmi_Note_11"] = "Xiaomi Redmi Note 11";
26
+ AndroidDeviceNameEnum["Xiaomi_Redmi_Note_10_JE"] = "Xiaomi Redmi Note 10 JE";
27
+ AndroidDeviceNameEnum["Pixel_6"] = "Pixel 6";
28
+ AndroidDeviceNameEnum["Galaxy_Note_10"] = "Galaxy Note 10";
29
+ AndroidDeviceNameEnum["Pixel_4"] = "Pixel 4";
30
+ AndroidDeviceNameEnum["Pixel_5"] = "Pixel 5";
20
31
  AndroidDeviceNameEnum["Galaxy_S22"] = "Galaxy S22";
21
32
  AndroidDeviceNameEnum["Galaxy_S22_Plus"] = "Galaxy S22 Plus";
22
- AndroidDeviceNameEnum["Galaxy_Tab_S7"] = "Galaxy Tab S7";
23
33
  AndroidDeviceNameEnum["Galaxy_Tab_S8"] = "Galaxy Tab S8";
24
- AndroidDeviceNameEnum["Xiaomi_Redmi_Note_10_JE"] = "Xiaomi Redmi Note 10 JE";
25
- AndroidDeviceNameEnum["Xiaomi_Redmi_Note_11"] = "Xiaomi Redmi Note 11";
26
- AndroidDeviceNameEnum["Xiaomi_Redmi_Note_11_Pro"] = "Xiaomi Redmi Note 11 Pro";
27
- AndroidDeviceNameEnum["Sony_Xperia_1_II"] = "Sony Xperia 1 II";
34
+ AndroidDeviceNameEnum["Galaxy_Tab_S7"] = "Galaxy Tab S7";
28
35
  AndroidDeviceNameEnum["Sony_Xperia_10_II"] = "Sony Xperia 10 II";
36
+ AndroidDeviceNameEnum["Sony_Xperia_1_II"] = "Sony Xperia 1 II";
29
37
  AndroidDeviceNameEnum["Sony_Xperia_Ace_II"] = "Sony Xperia Ace II";
30
38
  AndroidDeviceNameEnum["Huawei_P30_Lite"] = "Huawei P30 Lite";
31
39
  })(AndroidDeviceNameEnum || (exports.AndroidDeviceNameEnum = AndroidDeviceNameEnum = {}));
@@ -1,77 +1,82 @@
1
1
  "use strict";
2
+ /* GENERATED FILE */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.DeviceNameEnum = void 0;
4
5
  var DeviceNameEnum;
5
6
  (function (DeviceNameEnum) {
6
- DeviceNameEnum["Blackberry_PlayBook"] = "Blackberry PlayBook";
7
- DeviceNameEnum["BlackBerry_Z30"] = "BlackBerry Z30";
8
- DeviceNameEnum["Galaxy_A5"] = "Galaxy A5";
9
- DeviceNameEnum["Galaxy_Note_10"] = "Galaxy Note 10";
10
- DeviceNameEnum["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
11
- DeviceNameEnum["Galaxy_Note_2"] = "Galaxy Note 2";
12
- DeviceNameEnum["Galaxy_Note_3"] = "Galaxy Note 3";
13
- DeviceNameEnum["Galaxy_Note_4"] = "Galaxy Note 4";
14
- DeviceNameEnum["Galaxy_Note_8"] = "Galaxy Note 8";
15
- DeviceNameEnum["Galaxy_Note_9"] = "Galaxy Note 9";
16
- DeviceNameEnum["Galaxy_S3"] = "Galaxy S3";
17
- DeviceNameEnum["Galaxy_S5"] = "Galaxy S5";
18
- DeviceNameEnum["Galaxy_S8"] = "Galaxy S8";
19
- DeviceNameEnum["Galaxy_S8_Plus"] = "Galaxy S8 Plus";
20
- DeviceNameEnum["Galaxy_S9"] = "Galaxy S9";
21
- DeviceNameEnum["Galaxy_S9_Plus"] = "Galaxy S9 Plus";
22
- DeviceNameEnum["Galaxy_S10"] = "Galaxy S10";
23
- DeviceNameEnum["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
24
- DeviceNameEnum["Galaxy_S20"] = "Galaxy S20";
25
- DeviceNameEnum["Galaxy_S21"] = "Galaxy S21";
26
- DeviceNameEnum["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
27
- DeviceNameEnum["Galaxy_S22"] = "Galaxy S22";
28
- DeviceNameEnum["Galaxy_S22_Ultra"] = "Galaxy S22 Ultra";
29
- DeviceNameEnum["Galaxy_Tab_S7"] = "Galaxy Tab S7";
30
- DeviceNameEnum["iPad"] = "iPad";
31
- DeviceNameEnum["iPad_6th_Gen"] = "iPad 6th Gen";
32
- DeviceNameEnum["iPad_7th_Gen"] = "iPad 7th Gen";
33
- DeviceNameEnum["iPad_Air_2"] = "iPad Air 2";
34
- DeviceNameEnum["iPad_Mini"] = "iPad Mini";
35
- DeviceNameEnum["iPad_Pro"] = "iPad Pro";
36
- DeviceNameEnum["iPhone_11"] = "iPhone 11";
37
- DeviceNameEnum["iPhone_11_Pro"] = "iPhone 11 Pro";
38
- DeviceNameEnum["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
39
7
  DeviceNameEnum["iPhone_4"] = "iPhone 4";
40
8
  DeviceNameEnum["iPhone_5SE"] = "iPhone 5/SE";
9
+ /** @deprecated use {@link iPhone_5SE } instead */
10
+ DeviceNameEnum["iPhone_5S_E"] = "iPhone 5/SE";
41
11
  DeviceNameEnum["iPhone_6_7_8"] = "iPhone 6/7/8";
42
12
  DeviceNameEnum["iPhone_6_7_8_Plus"] = "iPhone 6/7/8 Plus";
43
13
  DeviceNameEnum["iPhone_X"] = "iPhone X";
44
- DeviceNameEnum["iPhone_XR"] = "iPhone XR";
45
- DeviceNameEnum["iPhone_XS"] = "iPhone XS";
46
- DeviceNameEnum["iPhone_XS_Max"] = "iPhone XS Max";
47
- DeviceNameEnum["Kindle_Fire_HDX"] = "Kindle Fire HDX";
48
- DeviceNameEnum["Laptop_with_HiDPI_screen"] = "Laptop with HiDPI screen";
49
- DeviceNameEnum["Laptop_with_MDPI_screen"] = "Laptop with MDPI screen";
50
- DeviceNameEnum["Laptop_with_touch"] = "Laptop with touch";
51
- DeviceNameEnum["LG_G6"] = "LG G6";
52
- DeviceNameEnum["LG_Optimus_L70"] = "LG Optimus L70";
53
- DeviceNameEnum["Microsoft_Lumia_550"] = "Microsoft Lumia 550";
54
- DeviceNameEnum["Microsoft_Lumia_950"] = "Microsoft Lumia 950";
55
- DeviceNameEnum["Nexus_10"] = "Nexus 10";
14
+ DeviceNameEnum["BlackBerry_Z30"] = "BlackBerry Z30";
56
15
  DeviceNameEnum["Nexus_4"] = "Nexus 4";
57
16
  DeviceNameEnum["Nexus_5"] = "Nexus 5";
58
17
  DeviceNameEnum["Nexus_5X"] = "Nexus 5X";
59
18
  DeviceNameEnum["Nexus_6"] = "Nexus 6";
60
19
  DeviceNameEnum["Nexus_6P"] = "Nexus 6P";
61
- DeviceNameEnum["Nexus_7"] = "Nexus 7";
62
- DeviceNameEnum["Nokia_Lumia_520"] = "Nokia Lumia 520";
63
- DeviceNameEnum["Nokia_N9"] = "Nokia N9";
64
- DeviceNameEnum["OnePlus_7T"] = "OnePlus 7T";
65
- DeviceNameEnum["OnePlus_7T_Pro"] = "OnePlus 7T Pro";
66
- // OnePlus_8 = 'OnePlus 8',
67
- // OnePlus_8_Pro = 'OnePlus 8 Pro',
68
20
  DeviceNameEnum["Pixel_2"] = "Pixel 2";
69
21
  DeviceNameEnum["Pixel_2_XL"] = "Pixel 2 XL";
22
+ DeviceNameEnum["LG_Optimus_L70"] = "LG Optimus L70";
23
+ DeviceNameEnum["Nokia_N9"] = "Nokia N9";
24
+ DeviceNameEnum["Nokia_Lumia_520"] = "Nokia Lumia 520";
25
+ DeviceNameEnum["Microsoft_Lumia_550"] = "Microsoft Lumia 550";
26
+ DeviceNameEnum["Microsoft_Lumia_950"] = "Microsoft Lumia 950";
27
+ DeviceNameEnum["Galaxy_S3"] = "Galaxy S3";
28
+ DeviceNameEnum["Galaxy_S_III"] = "Galaxy S III";
29
+ DeviceNameEnum["Galaxy_S5"] = "Galaxy S5";
30
+ DeviceNameEnum["Kindle_Fire_HDX"] = "Kindle Fire HDX";
31
+ DeviceNameEnum["iPad_Mini"] = "iPad Mini";
32
+ DeviceNameEnum["iPad"] = "iPad";
33
+ DeviceNameEnum["iPad_Pro"] = "iPad Pro";
34
+ DeviceNameEnum["Blackberry_PlayBook"] = "Blackberry PlayBook";
35
+ DeviceNameEnum["Nexus_10"] = "Nexus 10";
36
+ DeviceNameEnum["Nexus_7"] = "Nexus 7";
37
+ DeviceNameEnum["Galaxy_Note_3"] = "Galaxy Note 3";
38
+ DeviceNameEnum["Galaxy_Note_II"] = "Galaxy Note II";
39
+ DeviceNameEnum["Galaxy_Note_2"] = "Galaxy Note 2";
40
+ DeviceNameEnum["Galaxy_S20"] = "Galaxy S20";
41
+ DeviceNameEnum["Galaxy_S22"] = "Galaxy S22";
42
+ DeviceNameEnum["Galaxy_S21"] = "Galaxy S21";
43
+ DeviceNameEnum["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
44
+ DeviceNameEnum["Galaxy_S22_Ultra"] = "Galaxy S22 Ultra";
45
+ DeviceNameEnum["Laptop_with_touch"] = "Laptop with touch";
46
+ DeviceNameEnum["Laptop_with_HiDPI_screen"] = "Laptop with HiDPI screen";
47
+ DeviceNameEnum["Laptop_with_MDPI_screen"] = "Laptop with MDPI screen";
48
+ DeviceNameEnum["iPhone_XR"] = "iPhone XR";
49
+ DeviceNameEnum["iPhone_XS_Max"] = "iPhone XS Max";
50
+ DeviceNameEnum["iPhone_XS"] = "iPhone XS";
51
+ DeviceNameEnum["Samsung_Galaxy_A5"] = "Samsung Galaxy A5";
52
+ DeviceNameEnum["Galaxy_A5"] = "Galaxy A5";
53
+ DeviceNameEnum["Samsung_Galaxy_S8"] = "Samsung Galaxy S8";
54
+ DeviceNameEnum["Galaxy_S8"] = "Galaxy S8";
55
+ DeviceNameEnum["LG_G6"] = "LG G6";
56
+ DeviceNameEnum["iPad_Air_2"] = "iPad Air 2";
57
+ DeviceNameEnum["iPad_6th_Gen"] = "iPad 6th Gen";
58
+ DeviceNameEnum["iPhone_11"] = "iPhone 11";
59
+ DeviceNameEnum["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
60
+ DeviceNameEnum["iPhone_11_Pro"] = "iPhone 11 Pro";
61
+ DeviceNameEnum["Galaxy_S10"] = "Galaxy S10";
62
+ DeviceNameEnum["Galaxy_S9_Plus"] = "Galaxy S9 Plus";
63
+ DeviceNameEnum["Galaxy_S9"] = "Galaxy S9";
64
+ DeviceNameEnum["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
65
+ DeviceNameEnum["Galaxy_S8_Plus"] = "Galaxy S8 Plus";
66
+ DeviceNameEnum["Galaxy_Note_10"] = "Galaxy Note 10";
67
+ DeviceNameEnum["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
68
+ DeviceNameEnum["Galaxy_Note_9"] = "Galaxy Note 9";
69
+ DeviceNameEnum["Galaxy_Note_8"] = "Galaxy Note 8";
70
+ DeviceNameEnum["Galaxy_Note_4"] = "Galaxy Note 4";
70
71
  DeviceNameEnum["Pixel_3"] = "Pixel 3";
71
72
  DeviceNameEnum["Pixel_3_XL"] = "Pixel 3 XL";
72
73
  DeviceNameEnum["Pixel_4"] = "Pixel 4";
73
74
  DeviceNameEnum["Pixel_4_XL"] = "Pixel 4 XL";
74
75
  DeviceNameEnum["Pixel_5"] = "Pixel 5";
76
+ DeviceNameEnum["iPad_7th_Gen"] = "iPad 7th Gen";
77
+ DeviceNameEnum["OnePlus_7T"] = "OnePlus 7T";
78
+ DeviceNameEnum["OnePlus_7T_Pro"] = "OnePlus 7T Pro";
79
+ DeviceNameEnum["Galaxy_Tab_S7"] = "Galaxy Tab S7";
75
80
  DeviceNameEnum["Sony_Xperia_10_II"] = "Sony Xperia 10 II";
76
81
  DeviceNameEnum["Huawei_Mate_50_Pro"] = "Huawei Mate 50 Pro";
77
82
  DeviceNameEnum["Huawei_Matepad_11"] = "Huawei Matepad 11";
@@ -1,8 +1,38 @@
1
1
  "use strict";
2
+ /* GENERATED FILE */
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.IosDeviceNameEnum = void 0;
4
5
  var IosDeviceNameEnum;
5
6
  (function (IosDeviceNameEnum) {
7
+ IosDeviceNameEnum["iPad_5"] = "iPad (5th generation)";
8
+ IosDeviceNameEnum["iPad_6"] = "iPad (6th generation)";
9
+ IosDeviceNameEnum["iPad_7"] = "iPad (7th generation)";
10
+ IosDeviceNameEnum["iPad_8"] = "iPad (8th generation)";
11
+ IosDeviceNameEnum["iPad_9"] = "iPad (9th generation)";
12
+ IosDeviceNameEnum["iPad_10"] = "iPad (10th generation)";
13
+ IosDeviceNameEnum["iPad_Air_2"] = "iPad Air 2";
14
+ IosDeviceNameEnum["iPad_Air_3"] = "iPad Air (3rd generation)";
15
+ IosDeviceNameEnum["iPad_Air_4"] = "iPad Air (4th generation)";
16
+ IosDeviceNameEnum["iPad_Air_5"] = "iPad Air (5th generation)";
17
+ IosDeviceNameEnum["iPad_mini_4"] = "iPad mini 4";
18
+ IosDeviceNameEnum["iPad_mini_5"] = "iPad mini (5th generation)";
19
+ IosDeviceNameEnum["iPad_mini_6"] = "iPad mini (6th generation)";
20
+ IosDeviceNameEnum["iPad_Pro_9_7_inch_1"] = "iPad Pro (9.7-inch)";
21
+ IosDeviceNameEnum["iPad_Pro_10_5_inch_1"] = "iPad Pro (10.5-inch)";
22
+ IosDeviceNameEnum["iPad_Pro_11_inch_1"] = "iPad Pro (11-inch) (1st generation)";
23
+ IosDeviceNameEnum["iPad_Pro_12_9_inch_1"] = "iPad Pro (12.9-inch) (1st generation)";
24
+ IosDeviceNameEnum["iPad_Pro_11_inch_2"] = "iPad Pro (11-inch) (2nd generation)";
25
+ IosDeviceNameEnum["iPad_Pro_12_9_inch_2"] = "iPad Pro (12.9-inch) (2nd generation)";
26
+ IosDeviceNameEnum["iPad_Pro_11_inch_3"] = "iPad Pro (11-inch) (3rd generation)";
27
+ /** @deprecated use {@link iPad_Pro_12_9_inch_3 } instead */
28
+ IosDeviceNameEnum["iPad_Pro_3"] = "iPad Pro (12.9-inch) (3rd generation)";
29
+ IosDeviceNameEnum["iPad_Pro_12_9_inch_3"] = "iPad Pro (12.9-inch) (3rd generation)";
30
+ /** @deprecated use {@link iPad_Pro_11_inch_4 } instead */
31
+ IosDeviceNameEnum["iPad_Pro_4"] = "iPad Pro (11-inch) (4th generation)";
32
+ IosDeviceNameEnum["iPad_Pro_11_inch_4"] = "iPad Pro (11-inch) (4th generation)";
33
+ IosDeviceNameEnum["iPad_Pro_12_9_inch_4"] = "iPad Pro (12.9-inch) (4th generation)";
34
+ IosDeviceNameEnum["iPad_Pro_12_9_inch_5"] = "iPad Pro (12.9-inch) (5th generation)";
35
+ IosDeviceNameEnum["iPad_Pro_12_9_inch_6"] = "iPad Pro (12.9-inch) (6th generation)";
6
36
  IosDeviceNameEnum["iPhone_6s"] = "iPhone 6s";
7
37
  IosDeviceNameEnum["iPhone_6s_Plus"] = "iPhone 6s Plus";
8
38
  IosDeviceNameEnum["iPhone_7"] = "iPhone 7";
@@ -11,57 +41,33 @@ var IosDeviceNameEnum;
11
41
  IosDeviceNameEnum["iPhone_8_Plus"] = "iPhone 8 Plus";
12
42
  IosDeviceNameEnum["iPhone_X"] = "iPhone X";
13
43
  IosDeviceNameEnum["iPhone_XR"] = "iPhone XR";
14
- IosDeviceNameEnum["iPhone_Xs"] = "iPhone Xs";
15
- /** @deprecated use {@link iPhone_Xs} instead */
44
+ /** @deprecated use {@link iPhone_Xs } instead */
16
45
  IosDeviceNameEnum["iPhone_XS"] = "iPhone Xs";
46
+ IosDeviceNameEnum["iPhone_Xs"] = "iPhone Xs";
17
47
  IosDeviceNameEnum["iPhone_Xs_Max"] = "iPhone Xs Max";
18
48
  IosDeviceNameEnum["iPhone_11"] = "iPhone 11";
19
- IosDeviceNameEnum["iPhone_11_Pro"] = "iPhone 11 Pro";
20
49
  IosDeviceNameEnum["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
50
+ IosDeviceNameEnum["iPhone_11_Pro"] = "iPhone 11 Pro";
21
51
  IosDeviceNameEnum["iPhone_12"] = "iPhone 12";
22
52
  IosDeviceNameEnum["iPhone_12_mini"] = "iPhone 12 mini";
23
- IosDeviceNameEnum["iPhone_12_Pro"] = "iPhone 12 Pro";
24
53
  IosDeviceNameEnum["iPhone_12_Pro_Max"] = "iPhone 12 Pro Max";
54
+ IosDeviceNameEnum["iPhone_12_Pro"] = "iPhone 12 Pro";
25
55
  IosDeviceNameEnum["iPhone_13"] = "iPhone 13";
26
56
  IosDeviceNameEnum["iPhone_13_mini"] = "iPhone 13 mini";
27
- IosDeviceNameEnum["iPhone_13_Pro"] = "iPhone 13 Pro";
28
57
  IosDeviceNameEnum["iPhone_13_Pro_Max"] = "iPhone 13 Pro Max";
58
+ IosDeviceNameEnum["iPhone_13_Pro"] = "iPhone 13 Pro";
29
59
  IosDeviceNameEnum["iPhone_14"] = "iPhone 14";
30
60
  IosDeviceNameEnum["iPhone_14_Plus"] = "iPhone 14 Plus";
31
61
  IosDeviceNameEnum["iPhone_14_Pro"] = "iPhone 14 Pro";
32
62
  IosDeviceNameEnum["iPhone_14_Pro_Max"] = "iPhone 14 Pro Max";
63
+ IosDeviceNameEnum["iPhone_15"] = "iPhone 15";
64
+ IosDeviceNameEnum["iPhone_15_Plus"] = "iPhone 15 Plus";
65
+ IosDeviceNameEnum["iPhone_15_Pro"] = "iPhone 15 Pro";
66
+ IosDeviceNameEnum["iPhone_15_Pro_Max"] = "iPhone 15 Pro Max";
67
+ /** @deprecated use {@link iPhone_SE_1 } instead */
33
68
  IosDeviceNameEnum["iPhone_SE"] = "iPhone SE (1st generation)";
34
69
  IosDeviceNameEnum["iPhone_SE_1"] = "iPhone SE (1st generation)";
35
70
  IosDeviceNameEnum["iPhone_SE_2"] = "iPhone SE (2nd generation)";
36
71
  IosDeviceNameEnum["iPhone_SE_3"] = "iPhone SE (3rd generation)";
37
- IosDeviceNameEnum["iPad_5"] = "iPad (5th generation)";
38
- IosDeviceNameEnum["iPad_6"] = "iPad (6th generation)";
39
- IosDeviceNameEnum["iPad_7"] = "iPad (7th generation)";
40
- IosDeviceNameEnum["iPad_8"] = "iPad (8th generation)";
41
- IosDeviceNameEnum["iPad_9"] = "iPad (9th generation)";
42
- IosDeviceNameEnum["iPad_10"] = "iPad (10th generation)";
43
- IosDeviceNameEnum["iPad_Air_2"] = "iPad Air 2";
44
- IosDeviceNameEnum["iPad_Air_3"] = "iPad Air (3rd generation)";
45
- IosDeviceNameEnum["iPad_Air_4"] = "iPad Air (4th generation)";
46
- IosDeviceNameEnum["iPad_Air_5"] = "iPad Air (5th generation)";
47
- IosDeviceNameEnum["iPad_mini_4"] = "iPad mini 4";
48
- IosDeviceNameEnum["iPad_mini_5"] = "iPad mini (5th generation)";
49
- IosDeviceNameEnum["iPad_mini_6"] = "iPad mini (6th generation)";
50
- IosDeviceNameEnum["iPad_Pro_9_7_inch_1"] = "iPad Pro (9.7-inch)";
51
- IosDeviceNameEnum["iPad_Pro_10_5_inch_1"] = "iPad Pro (10.5-inch)";
52
- IosDeviceNameEnum["iPad_Pro_11_inch_1"] = "iPad Pro (11-inch) (1st generation)";
53
- IosDeviceNameEnum["iPad_Pro_12_9_inch_1"] = "iPad Pro (12.9-inch) (1st generation)";
54
- IosDeviceNameEnum["iPad_Pro_11_inch_2"] = "iPad Pro (11-inch) (2nd generation)";
55
- IosDeviceNameEnum["iPad_Pro_12_9_inch_2"] = "iPad Pro (12.9-inch) (2nd generation)";
56
- IosDeviceNameEnum["iPad_Pro_11_inch_3"] = "iPad Pro (11-inch) (3rd generation)";
57
- IosDeviceNameEnum["iPad_Pro_12_9_inch_3"] = "iPad Pro (12.9-inch) (3rd generation)";
58
- /** @deprecated use {@link iPad_Pro_12_9_inch_3} instead */
59
- IosDeviceNameEnum["iPad_Pro_3"] = "iPad Pro (12.9-inch) (3rd generation)";
60
- IosDeviceNameEnum["iPad_Pro_11_inch_4"] = "iPad Pro (11-inch) (4th generation)";
61
- /** @deprecated use {@link iPad_Pro_11_inch_4} instead */
62
- IosDeviceNameEnum["iPad_Pro_4"] = "iPad Pro (11-inch) (4th generation)";
63
- IosDeviceNameEnum["iPad_Pro_12_9_inch_4"] = "iPad Pro (12.9-inch) (4th generation)";
64
- IosDeviceNameEnum["iPad_Pro_12_9_inch_5"] = "iPad Pro (12.9-inch) (5th generation)";
65
- IosDeviceNameEnum["iPad_Pro_12_9_inch_6"] = "iPad Pro (12.9-inch) (6th generation)";
66
72
  IosDeviceNameEnum["iPod_touch_7"] = "iPod touch (7th generation)";
67
73
  })(IosDeviceNameEnum || (exports.IosDeviceNameEnum = IosDeviceNameEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.13.2",
3
+ "version": "1.13.4",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,7 +45,7 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "4.5.0",
48
+ "@applitools/core": "4.5.2",
49
49
  "@applitools/logger": "2.0.14",
50
50
  "@applitools/utils": "1.7.0"
51
51
  },
package/types/Eyes.d.ts CHANGED
@@ -121,18 +121,22 @@ export declare class Eyes<TSpec extends Core.SpecType = Core.SpecType> {
121
121
  checkRegionInFrame(frame: TSpec['element'] | EyesSelector<TSpec['selector']> | string | number, selector: EyesSelector<TSpec['selector']>, timeout?: number, name?: string, fully?: boolean): Promise<MatchResultData>;
122
122
  /** @deprecated */
123
123
  checkImage(image: Buffer | URL | string, name?: string, ignoreMismatch?: boolean): Promise<MatchResultData>;
124
- locate<TLocator extends string>(target: Core.ImageTarget, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Region[]>>;
124
+ locate<TLocator extends string>(target: Image, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Region[]>>;
125
+ /** @deprecated */
126
+ locate<TLocator extends string>(settingsWithImage: VisualLocatorSettings<TLocator> & {
127
+ image: Image['image'];
128
+ }): Promise<Record<TLocator, Region[]>>;
125
129
  locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Region[]>>;
126
- extractTextRegions<TPattern extends string>(target: Core.ImageTarget, settings: OCRSettings<TPattern>): Promise<Record<TPattern, TextRegion[]>>;
130
+ extractTextRegions<TPattern extends string>(target: Image, settings: OCRSettings<TPattern>): Promise<Record<TPattern, TextRegion[]>>;
127
131
  /** @deprecated */
128
132
  extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & {
129
- image: Core.ImageTarget['image'];
133
+ image: Image['image'];
130
134
  }): Promise<Record<TPattern, TextRegion[]>>;
131
135
  extractTextRegions<TPattern extends string>(settings: OCRSettings<TPattern>): Promise<Record<TPattern, TextRegion[]>>;
132
- extractText(target: Core.ImageTarget, settings: OCRRegion<TSpec>[]): Promise<string[]>;
136
+ extractText(target: Image, settings: OCRRegion<TSpec>[]): Promise<string[]>;
133
137
  /** @deprecated */
134
138
  extractText(settingsWithImage: (OCRRegion<never> & {
135
- image: Core.ImageTarget['image'];
139
+ image: Image['image'];
136
140
  })[]): Promise<string[]>;
137
141
  extractText(settings: OCRRegion<TSpec>[]): Promise<string[]>;
138
142
  close(throwErr?: boolean): Promise<TestResultsData>;
@@ -1,27 +1,34 @@
1
1
  export declare enum AndroidDeviceNameEnum {
2
- Pixel_3_XL = "Pixel 3 XL",
3
- Pixel_4 = "Pixel 4",
4
- Pixel_4_XL = "Pixel 4 XL",
5
- Pixel_5 = "Pixel 5",
6
- Pixel_6 = "Pixel 6",
7
- Galaxy_S10 = "Galaxy S10",
8
- Galaxy_S10_Plus = "Galaxy S10 Plus",
9
- Galaxy_Note_10 = "Galaxy Note 10",
10
- Galaxy_Note_10_Plus = "Galaxy Note 10 Plus",
11
2
  Galaxy_S20 = "Galaxy S20",
12
3
  Galaxy_S20_Plus = "Galaxy S20 Plus",
4
+ /** @deprecated use {@link Galaxy_S20_Plus } instead */
5
+ Galaxy_S20_PLUS = "Galaxy S20 Plus",
6
+ Galaxy_S21_Ultra = "Galaxy S21 Ultra",
7
+ /** @deprecated use {@link Galaxy_S21_Ultra } instead */
8
+ Galaxy_S21_ULTRA = "Galaxy S21 Ultra",
9
+ Galaxy_Note_10_Plus = "Galaxy Note 10 Plus",
10
+ Galaxy_S9 = "Galaxy S9",
11
+ Galaxy_S10 = "Galaxy S10",
12
+ Galaxy_S10_Plus = "Galaxy S10 Plus",
13
+ Pixel_4_XL = "Pixel 4 XL",
14
+ Pixel_3_XL = "Pixel 3 XL",
13
15
  Galaxy_S21 = "Galaxy S21",
14
16
  Galaxy_S21_Plus = "Galaxy S21 Plus",
15
- Galaxy_S21_Ultra = "Galaxy S21 Ultra",
17
+ /** @deprecated use {@link Galaxy_S21_Plus } instead */
18
+ Galaxy_S21_PLUS = "Galaxy S21 Plus",
19
+ Xiaomi_Redmi_Note_11_Pro = "Xiaomi Redmi Note 11 Pro",
20
+ Xiaomi_Redmi_Note_11 = "Xiaomi Redmi Note 11",
21
+ Xiaomi_Redmi_Note_10_JE = "Xiaomi Redmi Note 10 JE",
22
+ Pixel_6 = "Pixel 6",
23
+ Galaxy_Note_10 = "Galaxy Note 10",
24
+ Pixel_4 = "Pixel 4",
25
+ Pixel_5 = "Pixel 5",
16
26
  Galaxy_S22 = "Galaxy S22",
17
27
  Galaxy_S22_Plus = "Galaxy S22 Plus",
18
- Galaxy_Tab_S7 = "Galaxy Tab S7",
19
28
  Galaxy_Tab_S8 = "Galaxy Tab S8",
20
- Xiaomi_Redmi_Note_10_JE = "Xiaomi Redmi Note 10 JE",
21
- Xiaomi_Redmi_Note_11 = "Xiaomi Redmi Note 11",
22
- Xiaomi_Redmi_Note_11_Pro = "Xiaomi Redmi Note 11 Pro",
23
- Sony_Xperia_1_II = "Sony Xperia 1 II",
29
+ Galaxy_Tab_S7 = "Galaxy Tab S7",
24
30
  Sony_Xperia_10_II = "Sony Xperia 10 II",
31
+ Sony_Xperia_1_II = "Sony Xperia 1 II",
25
32
  Sony_Xperia_Ace_II = "Sony Xperia Ace II",
26
33
  Huawei_P30_Lite = "Huawei P30 Lite"
27
34
  }
@@ -1,71 +1,77 @@
1
1
  export declare enum DeviceNameEnum {
2
- Blackberry_PlayBook = "Blackberry PlayBook",
3
- BlackBerry_Z30 = "BlackBerry Z30",
4
- Galaxy_A5 = "Galaxy A5",
5
- Galaxy_Note_10 = "Galaxy Note 10",
6
- Galaxy_Note_10_Plus = "Galaxy Note 10 Plus",
7
- Galaxy_Note_2 = "Galaxy Note 2",
8
- Galaxy_Note_3 = "Galaxy Note 3",
9
- Galaxy_Note_4 = "Galaxy Note 4",
10
- Galaxy_Note_8 = "Galaxy Note 8",
11
- Galaxy_Note_9 = "Galaxy Note 9",
12
- Galaxy_S3 = "Galaxy S3",
13
- Galaxy_S5 = "Galaxy S5",
14
- Galaxy_S8 = "Galaxy S8",
15
- Galaxy_S8_Plus = "Galaxy S8 Plus",
16
- Galaxy_S9 = "Galaxy S9",
17
- Galaxy_S9_Plus = "Galaxy S9 Plus",
18
- Galaxy_S10 = "Galaxy S10",
19
- Galaxy_S10_Plus = "Galaxy S10 Plus",
20
- Galaxy_S20 = "Galaxy S20",
21
- Galaxy_S21 = "Galaxy S21",
22
- Galaxy_S21_Ultra = "Galaxy S21 Ultra",
23
- Galaxy_S22 = "Galaxy S22",
24
- Galaxy_S22_Ultra = "Galaxy S22 Ultra",
25
- Galaxy_Tab_S7 = "Galaxy Tab S7",
26
- iPad = "iPad",
27
- iPad_6th_Gen = "iPad 6th Gen",
28
- iPad_7th_Gen = "iPad 7th Gen",
29
- iPad_Air_2 = "iPad Air 2",
30
- iPad_Mini = "iPad Mini",
31
- iPad_Pro = "iPad Pro",
32
- iPhone_11 = "iPhone 11",
33
- iPhone_11_Pro = "iPhone 11 Pro",
34
- iPhone_11_Pro_Max = "iPhone 11 Pro Max",
35
2
  iPhone_4 = "iPhone 4",
36
3
  iPhone_5SE = "iPhone 5/SE",
4
+ /** @deprecated use {@link iPhone_5SE } instead */
5
+ iPhone_5S_E = "iPhone 5/SE",
37
6
  iPhone_6_7_8 = "iPhone 6/7/8",
38
7
  iPhone_6_7_8_Plus = "iPhone 6/7/8 Plus",
39
8
  iPhone_X = "iPhone X",
40
- iPhone_XR = "iPhone XR",
41
- iPhone_XS = "iPhone XS",
42
- iPhone_XS_Max = "iPhone XS Max",
43
- Kindle_Fire_HDX = "Kindle Fire HDX",
44
- Laptop_with_HiDPI_screen = "Laptop with HiDPI screen",
45
- Laptop_with_MDPI_screen = "Laptop with MDPI screen",
46
- Laptop_with_touch = "Laptop with touch",
47
- LG_G6 = "LG G6",
48
- LG_Optimus_L70 = "LG Optimus L70",
49
- Microsoft_Lumia_550 = "Microsoft Lumia 550",
50
- Microsoft_Lumia_950 = "Microsoft Lumia 950",
51
- Nexus_10 = "Nexus 10",
9
+ BlackBerry_Z30 = "BlackBerry Z30",
52
10
  Nexus_4 = "Nexus 4",
53
11
  Nexus_5 = "Nexus 5",
54
12
  Nexus_5X = "Nexus 5X",
55
13
  Nexus_6 = "Nexus 6",
56
14
  Nexus_6P = "Nexus 6P",
57
- Nexus_7 = "Nexus 7",
58
- Nokia_Lumia_520 = "Nokia Lumia 520",
59
- Nokia_N9 = "Nokia N9",
60
- OnePlus_7T = "OnePlus 7T",
61
- OnePlus_7T_Pro = "OnePlus 7T Pro",
62
15
  Pixel_2 = "Pixel 2",
63
16
  Pixel_2_XL = "Pixel 2 XL",
17
+ LG_Optimus_L70 = "LG Optimus L70",
18
+ Nokia_N9 = "Nokia N9",
19
+ Nokia_Lumia_520 = "Nokia Lumia 520",
20
+ Microsoft_Lumia_550 = "Microsoft Lumia 550",
21
+ Microsoft_Lumia_950 = "Microsoft Lumia 950",
22
+ Galaxy_S3 = "Galaxy S3",
23
+ Galaxy_S_III = "Galaxy S III",
24
+ Galaxy_S5 = "Galaxy S5",
25
+ Kindle_Fire_HDX = "Kindle Fire HDX",
26
+ iPad_Mini = "iPad Mini",
27
+ iPad = "iPad",
28
+ iPad_Pro = "iPad Pro",
29
+ Blackberry_PlayBook = "Blackberry PlayBook",
30
+ Nexus_10 = "Nexus 10",
31
+ Nexus_7 = "Nexus 7",
32
+ Galaxy_Note_3 = "Galaxy Note 3",
33
+ Galaxy_Note_II = "Galaxy Note II",
34
+ Galaxy_Note_2 = "Galaxy Note 2",
35
+ Galaxy_S20 = "Galaxy S20",
36
+ Galaxy_S22 = "Galaxy S22",
37
+ Galaxy_S21 = "Galaxy S21",
38
+ Galaxy_S21_Ultra = "Galaxy S21 Ultra",
39
+ Galaxy_S22_Ultra = "Galaxy S22 Ultra",
40
+ Laptop_with_touch = "Laptop with touch",
41
+ Laptop_with_HiDPI_screen = "Laptop with HiDPI screen",
42
+ Laptop_with_MDPI_screen = "Laptop with MDPI screen",
43
+ iPhone_XR = "iPhone XR",
44
+ iPhone_XS_Max = "iPhone XS Max",
45
+ iPhone_XS = "iPhone XS",
46
+ Samsung_Galaxy_A5 = "Samsung Galaxy A5",
47
+ Galaxy_A5 = "Galaxy A5",
48
+ Samsung_Galaxy_S8 = "Samsung Galaxy S8",
49
+ Galaxy_S8 = "Galaxy S8",
50
+ LG_G6 = "LG G6",
51
+ iPad_Air_2 = "iPad Air 2",
52
+ iPad_6th_Gen = "iPad 6th Gen",
53
+ iPhone_11 = "iPhone 11",
54
+ iPhone_11_Pro_Max = "iPhone 11 Pro Max",
55
+ iPhone_11_Pro = "iPhone 11 Pro",
56
+ Galaxy_S10 = "Galaxy S10",
57
+ Galaxy_S9_Plus = "Galaxy S9 Plus",
58
+ Galaxy_S9 = "Galaxy S9",
59
+ Galaxy_S10_Plus = "Galaxy S10 Plus",
60
+ Galaxy_S8_Plus = "Galaxy S8 Plus",
61
+ Galaxy_Note_10 = "Galaxy Note 10",
62
+ Galaxy_Note_10_Plus = "Galaxy Note 10 Plus",
63
+ Galaxy_Note_9 = "Galaxy Note 9",
64
+ Galaxy_Note_8 = "Galaxy Note 8",
65
+ Galaxy_Note_4 = "Galaxy Note 4",
64
66
  Pixel_3 = "Pixel 3",
65
67
  Pixel_3_XL = "Pixel 3 XL",
66
68
  Pixel_4 = "Pixel 4",
67
69
  Pixel_4_XL = "Pixel 4 XL",
68
70
  Pixel_5 = "Pixel 5",
71
+ iPad_7th_Gen = "iPad 7th Gen",
72
+ OnePlus_7T = "OnePlus 7T",
73
+ OnePlus_7T_Pro = "OnePlus 7T Pro",
74
+ Galaxy_Tab_S7 = "Galaxy Tab S7",
69
75
  Sony_Xperia_10_II = "Sony Xperia 10 II",
70
76
  Huawei_Mate_50_Pro = "Huawei Mate 50 Pro",
71
77
  Huawei_Matepad_11 = "Huawei Matepad 11"
@@ -1,4 +1,33 @@
1
1
  export declare enum IosDeviceNameEnum {
2
+ iPad_5 = "iPad (5th generation)",
3
+ iPad_6 = "iPad (6th generation)",
4
+ iPad_7 = "iPad (7th generation)",
5
+ iPad_8 = "iPad (8th generation)",
6
+ iPad_9 = "iPad (9th generation)",
7
+ iPad_10 = "iPad (10th generation)",
8
+ iPad_Air_2 = "iPad Air 2",
9
+ iPad_Air_3 = "iPad Air (3rd generation)",
10
+ iPad_Air_4 = "iPad Air (4th generation)",
11
+ iPad_Air_5 = "iPad Air (5th generation)",
12
+ iPad_mini_4 = "iPad mini 4",
13
+ iPad_mini_5 = "iPad mini (5th generation)",
14
+ iPad_mini_6 = "iPad mini (6th generation)",
15
+ iPad_Pro_9_7_inch_1 = "iPad Pro (9.7-inch)",
16
+ iPad_Pro_10_5_inch_1 = "iPad Pro (10.5-inch)",
17
+ iPad_Pro_11_inch_1 = "iPad Pro (11-inch) (1st generation)",
18
+ iPad_Pro_12_9_inch_1 = "iPad Pro (12.9-inch) (1st generation)",
19
+ iPad_Pro_11_inch_2 = "iPad Pro (11-inch) (2nd generation)",
20
+ iPad_Pro_12_9_inch_2 = "iPad Pro (12.9-inch) (2nd generation)",
21
+ iPad_Pro_11_inch_3 = "iPad Pro (11-inch) (3rd generation)",
22
+ /** @deprecated use {@link iPad_Pro_12_9_inch_3 } instead */
23
+ iPad_Pro_3 = "iPad Pro (12.9-inch) (3rd generation)",
24
+ iPad_Pro_12_9_inch_3 = "iPad Pro (12.9-inch) (3rd generation)",
25
+ /** @deprecated use {@link iPad_Pro_11_inch_4 } instead */
26
+ iPad_Pro_4 = "iPad Pro (11-inch) (4th generation)",
27
+ iPad_Pro_11_inch_4 = "iPad Pro (11-inch) (4th generation)",
28
+ iPad_Pro_12_9_inch_4 = "iPad Pro (12.9-inch) (4th generation)",
29
+ iPad_Pro_12_9_inch_5 = "iPad Pro (12.9-inch) (5th generation)",
30
+ iPad_Pro_12_9_inch_6 = "iPad Pro (12.9-inch) (6th generation)",
2
31
  iPhone_6s = "iPhone 6s",
3
32
  iPhone_6s_Plus = "iPhone 6s Plus",
4
33
  iPhone_7 = "iPhone 7",
@@ -7,58 +36,34 @@ export declare enum IosDeviceNameEnum {
7
36
  iPhone_8_Plus = "iPhone 8 Plus",
8
37
  iPhone_X = "iPhone X",
9
38
  iPhone_XR = "iPhone XR",
10
- iPhone_Xs = "iPhone Xs",
11
- /** @deprecated use {@link iPhone_Xs} instead */
39
+ /** @deprecated use {@link iPhone_Xs } instead */
12
40
  iPhone_XS = "iPhone Xs",
41
+ iPhone_Xs = "iPhone Xs",
13
42
  iPhone_Xs_Max = "iPhone Xs Max",
14
43
  iPhone_11 = "iPhone 11",
15
- iPhone_11_Pro = "iPhone 11 Pro",
16
44
  iPhone_11_Pro_Max = "iPhone 11 Pro Max",
45
+ iPhone_11_Pro = "iPhone 11 Pro",
17
46
  iPhone_12 = "iPhone 12",
18
47
  iPhone_12_mini = "iPhone 12 mini",
19
- iPhone_12_Pro = "iPhone 12 Pro",
20
48
  iPhone_12_Pro_Max = "iPhone 12 Pro Max",
49
+ iPhone_12_Pro = "iPhone 12 Pro",
21
50
  iPhone_13 = "iPhone 13",
22
51
  iPhone_13_mini = "iPhone 13 mini",
23
- iPhone_13_Pro = "iPhone 13 Pro",
24
52
  iPhone_13_Pro_Max = "iPhone 13 Pro Max",
53
+ iPhone_13_Pro = "iPhone 13 Pro",
25
54
  iPhone_14 = "iPhone 14",
26
55
  iPhone_14_Plus = "iPhone 14 Plus",
27
56
  iPhone_14_Pro = "iPhone 14 Pro",
28
57
  iPhone_14_Pro_Max = "iPhone 14 Pro Max",
58
+ iPhone_15 = "iPhone 15",
59
+ iPhone_15_Plus = "iPhone 15 Plus",
60
+ iPhone_15_Pro = "iPhone 15 Pro",
61
+ iPhone_15_Pro_Max = "iPhone 15 Pro Max",
62
+ /** @deprecated use {@link iPhone_SE_1 } instead */
29
63
  iPhone_SE = "iPhone SE (1st generation)",
30
64
  iPhone_SE_1 = "iPhone SE (1st generation)",
31
65
  iPhone_SE_2 = "iPhone SE (2nd generation)",
32
66
  iPhone_SE_3 = "iPhone SE (3rd generation)",
33
- iPad_5 = "iPad (5th generation)",
34
- iPad_6 = "iPad (6th generation)",
35
- iPad_7 = "iPad (7th generation)",
36
- iPad_8 = "iPad (8th generation)",
37
- iPad_9 = "iPad (9th generation)",
38
- iPad_10 = "iPad (10th generation)",
39
- iPad_Air_2 = "iPad Air 2",
40
- iPad_Air_3 = "iPad Air (3rd generation)",
41
- iPad_Air_4 = "iPad Air (4th generation)",
42
- iPad_Air_5 = "iPad Air (5th generation)",
43
- iPad_mini_4 = "iPad mini 4",
44
- iPad_mini_5 = "iPad mini (5th generation)",
45
- iPad_mini_6 = "iPad mini (6th generation)",
46
- iPad_Pro_9_7_inch_1 = "iPad Pro (9.7-inch)",
47
- iPad_Pro_10_5_inch_1 = "iPad Pro (10.5-inch)",
48
- iPad_Pro_11_inch_1 = "iPad Pro (11-inch) (1st generation)",
49
- iPad_Pro_12_9_inch_1 = "iPad Pro (12.9-inch) (1st generation)",
50
- iPad_Pro_11_inch_2 = "iPad Pro (11-inch) (2nd generation)",
51
- iPad_Pro_12_9_inch_2 = "iPad Pro (12.9-inch) (2nd generation)",
52
- iPad_Pro_11_inch_3 = "iPad Pro (11-inch) (3rd generation)",
53
- iPad_Pro_12_9_inch_3 = "iPad Pro (12.9-inch) (3rd generation)",
54
- /** @deprecated use {@link iPad_Pro_12_9_inch_3} instead */
55
- iPad_Pro_3 = "iPad Pro (12.9-inch) (3rd generation)",
56
- iPad_Pro_11_inch_4 = "iPad Pro (11-inch) (4th generation)",
57
- /** @deprecated use {@link iPad_Pro_11_inch_4} instead */
58
- iPad_Pro_4 = "iPad Pro (11-inch) (4th generation)",
59
- iPad_Pro_12_9_inch_4 = "iPad Pro (12.9-inch) (4th generation)",
60
- iPad_Pro_12_9_inch_5 = "iPad Pro (12.9-inch) (5th generation)",
61
- iPad_Pro_12_9_inch_6 = "iPad Pro (12.9-inch) (6th generation)",
62
67
  iPod_touch_7 = "iPod touch (7th generation)"
63
68
  }
64
69
  export type IosDeviceName = `${IosDeviceNameEnum}`;