@applitools/eyes 1.17.1 → 1.19.0

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,128 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.19.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.18.0...js/eyes@1.19.0) (2024-05-01)
4
+
5
+
6
+ ### Features
7
+
8
+ * ability to override baseline parameters per environment ([#2332](https://github.com/Applitools-Dev/sdk/issues/2332)) ([43b8b18](https://github.com/Applitools-Dev/sdk/commit/43b8b189fb3c9dd19aa3be372e8fcc0fe8edfa50))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.11.1
14
+ #### Bug Fixes
15
+
16
+ * support for using unicode and just using escape with numbers ([#2241](https://github.com/Applitools-Dev/sdk/issues/2241)) ([c59f47f](https://github.com/Applitools-Dev/sdk/commit/c59f47f73585d7f308c43c9ee1845e097a2111a3))
17
+ * @applitools/driver bumped to 1.17.2
18
+ #### Bug Fixes
19
+
20
+ * cache nml client per driver ([#2336](https://github.com/Applitools-Dev/sdk/issues/2336)) ([02c09a5](https://github.com/Applitools-Dev/sdk/commit/02c09a53eb6ca6340c93365908f4c485ab389c21))
21
+ * @applitools/core-base bumped to 1.13.0
22
+ #### Features
23
+
24
+ * `matchTimeout` ([#2309](https://github.com/Applitools-Dev/sdk/issues/2309)) ([626529e](https://github.com/Applitools-Dev/sdk/commit/626529e839fd2a96ac0de98332f42873c0f387a4))
25
+ * @applitools/spec-driver-webdriver bumped to 1.1.7
26
+
27
+ * @applitools/spec-driver-selenium bumped to 1.5.78
28
+
29
+ * @applitools/spec-driver-puppeteer bumped to 1.4.7
30
+
31
+ * @applitools/screenshoter bumped to 3.8.31
32
+
33
+ * @applitools/nml-client bumped to 1.8.4
34
+
35
+ * @applitools/ec-client bumped to 1.8.4
36
+
37
+ * @applitools/core bumped to 4.14.0
38
+ #### Features
39
+
40
+ * `matchTimeout` ([#2309](https://github.com/Applitools-Dev/sdk/issues/2309)) ([626529e](https://github.com/Applitools-Dev/sdk/commit/626529e839fd2a96ac0de98332f42873c0f387a4))
41
+
42
+
43
+ #### Bug Fixes
44
+
45
+ * cache nml client per driver ([#2336](https://github.com/Applitools-Dev/sdk/issues/2336)) ([02c09a5](https://github.com/Applitools-Dev/sdk/commit/02c09a53eb6ca6340c93365908f4c485ab389c21))
46
+ * support for using unicode and just using escape with numbers ([#2241](https://github.com/Applitools-Dev/sdk/issues/2241)) ([c59f47f](https://github.com/Applitools-Dev/sdk/commit/c59f47f73585d7f308c43c9ee1845e097a2111a3))
47
+
48
+
49
+
50
+
51
+ ## [1.18.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-v1.17.2...js/eyes@1.18.0) (2024-04-15)
52
+
53
+
54
+ ### Features
55
+
56
+ * add Eyes.getResults method ([#2046](https://github.com/Applitools-Dev/sdk/issues/2046)) ([#2069](https://github.com/Applitools-Dev/sdk/issues/2069)) ([4d263e1](https://github.com/Applitools-Dev/sdk/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
57
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
58
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
59
+ * added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/Applitools-Dev/sdk/issues/2033)) ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
60
+ * generate more enums ([#2179](https://github.com/Applitools-Dev/sdk/issues/2179)) ([5f4f916](https://github.com/Applitools-Dev/sdk/commit/5f4f91621b791a02464191123f69b12f590b9efe))
61
+ * ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
62
+
63
+
64
+ ### Bug Fixes
65
+
66
+ * clone the check settings in eyes check ([#2251](https://github.com/Applitools-Dev/sdk/issues/2251)) ([9517d66](https://github.com/Applitools-Dev/sdk/commit/9517d665976949458aecfb31e052c19d7109a0c4))
67
+ * error to unknown type in exception ([#2035](https://github.com/Applitools-Dev/sdk/issues/2035)) ([16d78c3](https://github.com/Applitools-Dev/sdk/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
68
+ * fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/Applitools-Dev/sdk/commit/42a773cc57e8e5de528a049b376159615892003b))
69
+ * fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/Applitools-Dev/sdk/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
70
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
71
+
72
+
73
+ ### Dependencies
74
+
75
+ * @applitools/utils bumped to 1.7.1
76
+ #### Bug Fixes
77
+
78
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
79
+ * @applitools/logger bumped to 2.0.15
80
+
81
+ * @applitools/req bumped to 1.6.6
82
+
83
+ * @applitools/image bumped to 1.1.10
84
+
85
+ * @applitools/spec-driver-webdriver bumped to 1.1.4
86
+
87
+ * @applitools/spec-driver-puppeteer bumped to 1.4.4
88
+
89
+ * @applitools/screenshoter bumped to 3.8.28
90
+
91
+ * @applitools/tunnel-client bumped to 1.5.1
92
+ #### Bug Fixes
93
+
94
+ * create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
95
+
96
+
97
+
98
+ * @applitools/ec-client bumped to 1.8.1
99
+ #### Bug Fixes
100
+
101
+ * change tunnel idle timeout to 20 seconds ([#2318](https://github.com/Applitools-Dev/sdk/issues/2318)) ([9b3873c](https://github.com/Applitools-Dev/sdk/commit/9b3873c180a130a01212d857b084efe51d6d30a4))
102
+ * create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
103
+
104
+
105
+
106
+ * @applitools/socket bumped to 1.1.15
107
+
108
+ * @applitools/spec-driver-selenium bumped to 1.5.75
109
+
110
+ * @applitools/driver bumped to 1.16.6
111
+
112
+ * @applitools/nml-client bumped to 1.8.1
113
+
114
+ * @applitools/ufg-client bumped to 1.11.1
115
+
116
+ * @applitools/core-base bumped to 1.11.1
117
+
118
+ * @applitools/core bumped to 4.12.2
119
+ #### Bug Fixes
120
+
121
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
122
+
123
+
124
+
125
+
3
126
  ## [1.17.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.17.0...js/eyes@1.17.1) (2024-04-01)
4
127
 
5
128
 
@@ -281,6 +281,7 @@ class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
281
281
  }
282
282
  /** @internal */
283
283
  toJSON() {
284
+ var _a, _b, _c, _d, _e, _f;
284
285
  return {
285
286
  target: this._target,
286
287
  settings: utils.general.removeUndefinedProps({
@@ -292,12 +293,12 @@ class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
292
293
  enablePatterns: this._settings.enablePatterns,
293
294
  ignoreDisplacements: this._settings.ignoreDisplacements,
294
295
  ignoreCaret: this._settings.ignoreCaret,
295
- ignoreRegions: this._settings.ignoreRegions,
296
- layoutRegions: this._settings.layoutRegions,
297
- strictRegions: this._settings.strictRegions,
298
- contentRegions: this._settings.contentRegions,
299
- floatingRegions: this._settings.floatingRegions,
300
- accessibilityRegions: this._settings.accessibilityRegions,
296
+ ignoreRegions: (_a = this._settings.ignoreRegions) === null || _a === void 0 ? void 0 : _a.slice(),
297
+ layoutRegions: (_b = this._settings.layoutRegions) === null || _b === void 0 ? void 0 : _b.slice(),
298
+ strictRegions: (_c = this._settings.strictRegions) === null || _c === void 0 ? void 0 : _c.slice(),
299
+ contentRegions: (_d = this._settings.contentRegions) === null || _d === void 0 ? void 0 : _d.slice(),
300
+ floatingRegions: (_e = this._settings.floatingRegions) === null || _e === void 0 ? void 0 : _e.slice(),
301
+ accessibilityRegions: (_f = this._settings.accessibilityRegions) === null || _f === void 0 ? void 0 : _f.slice(),
301
302
  pageId: this._settings.pageId,
302
303
  userCommandId: this._settings.variationGroupId,
303
304
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.17.1",
3
+ "version": "1.19.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,12 +45,12 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "4.11.1",
49
- "@applitools/logger": "2.0.14",
50
- "@applitools/utils": "1.7.0"
48
+ "@applitools/core": "4.14.0",
49
+ "@applitools/logger": "2.0.16",
50
+ "@applitools/utils": "1.7.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@applitools/req": "^1.6.5",
53
+ "@applitools/req": "^1.6.7",
54
54
  "@types/node": "^12.20.55"
55
55
  },
56
56
  "engines": {
@@ -6,6 +6,16 @@ import { AndroidDeviceName } from '../enums/AndroidDeviceName';
6
6
  import { AndroidVersion } from '../enums/AndroidVersion';
7
7
  import { ScreenOrientation } from '../enums/ScreenOrientation';
8
8
  import { IosMultiDeviceTarget } from '../enums/IosMultiDeviceTarget';
9
+ type RenderInfoBase = {
10
+ /** @internal */
11
+ hostOS?: string;
12
+ /** @internal */
13
+ hostOSInfo?: string;
14
+ /** @internal */
15
+ hostApp?: string;
16
+ /** @internal */
17
+ hostAppInfo?: string;
18
+ };
9
19
  export type DesktopBrowserInfo = {
10
20
  name?: BrowserType;
11
21
  width: number;
@@ -39,5 +49,6 @@ export type AndroidDeviceInfo = {
39
49
  export type IOSMultiDeviceInfo = {
40
50
  deviceName: IosMultiDeviceTarget;
41
51
  };
42
- export type RenderInfoLegacy = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | ChromeEmulationInfoLegacy;
43
- export type RenderInfo = DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | IOSMultiDeviceInfo;
52
+ export type RenderInfoLegacy = RenderInfoBase & (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | ChromeEmulationInfoLegacy);
53
+ export type RenderInfo = RenderInfoBase & (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | IOSMultiDeviceInfo);
54
+ export {};