@applitools/eyes 1.10.0 → 1.11.1

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,149 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.11.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.11.0...js/eyes@1.11.1) (2023-10-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fixed `serverUrl` configuration propagation ([247b7d8](https://github.com/applitools/eyes.sdk.javascript1/commit/247b7d88853dd1a9068d2d963582ad795752ace4))
9
+
10
+ ## [1.11.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-v1.10.1...js/eyes@1.11.0) (2023-10-17)
11
+
12
+
13
+ ### Features
14
+
15
+ * added more iOS devices ([a84311f](https://github.com/applitools/eyes.sdk.javascript1/commit/a84311f88e6f532268543a96f841ae5ad87d5659))
16
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
17
+
18
+
19
+ ### Code Refactoring
20
+
21
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
22
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * @applitools/utils bumped to 1.6.2
28
+ #### Code Refactoring
29
+
30
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
31
+ * @applitools/logger bumped to 2.0.12
32
+ #### Code Refactoring
33
+
34
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
35
+
36
+
37
+
38
+ * @applitools/socket bumped to 1.1.12
39
+ #### Code Refactoring
40
+
41
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
42
+
43
+
44
+
45
+ * @applitools/req bumped to 1.6.2
46
+ #### Code Refactoring
47
+
48
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
49
+
50
+
51
+
52
+ * @applitools/image bumped to 1.1.7
53
+ #### Bug Fixes
54
+
55
+ * avoid using ascii text decoder ([1b68d39](https://github.com/applitools/eyes.sdk.javascript1/commit/1b68d3945d96b17b9ab1f1a87d352206fd0c81d6))
56
+
57
+
58
+ #### Code Refactoring
59
+
60
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
61
+
62
+
63
+
64
+ * @applitools/driver bumped to 1.14.4
65
+ #### Code Refactoring
66
+
67
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
68
+
69
+
70
+
71
+ * @applitools/tunnel-client bumped to 1.2.4
72
+ #### Code Refactoring
73
+
74
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
75
+
76
+
77
+
78
+ * @applitools/ec-client bumped to 1.7.13
79
+ #### Code Refactoring
80
+
81
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
82
+
83
+
84
+
85
+ * @applitools/spec-driver-webdriver bumped to 1.0.48
86
+
87
+ * @applitools/spec-driver-puppeteer bumped to 1.2.4
88
+ #### Code Refactoring
89
+
90
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
91
+
92
+
93
+
94
+ * @applitools/screenshoter bumped to 3.8.14
95
+ #### Bug Fixes
96
+
97
+ * allow css scrolling when taking screenshot of the webview ([2d3a257](https://github.com/applitools/eyes.sdk.javascript1/commit/2d3a2572768e7f979d16297ca316a79ab2538adb))
98
+
99
+
100
+ #### Code Refactoring
101
+
102
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
103
+
104
+
105
+
106
+ * @applitools/core-base bumped to 1.7.2
107
+ #### Code Refactoring
108
+
109
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
110
+
111
+
112
+
113
+ * @applitools/nml-client bumped to 1.5.14
114
+
115
+ * @applitools/ufg-client bumped to 1.9.6
116
+ #### Code Refactoring
117
+
118
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
119
+ * drop jsdom dependency ([1b68d39](https://github.com/applitools/eyes.sdk.javascript1/commit/1b68d3945d96b17b9ab1f1a87d352206fd0c81d6))
120
+
121
+
122
+
123
+ * @applitools/spec-driver-selenium bumped to 1.5.62
124
+
125
+ * @applitools/core bumped to 4.0.0
126
+ #### ⚠ BREAKING CHANGES
127
+
128
+ * update core to v4 ([#1936](https://github.com/applitools/eyes.sdk.javascript1/issues/1936))
129
+
130
+ #### Features
131
+
132
+ * update core to v4 ([#1936](https://github.com/applitools/eyes.sdk.javascript1/issues/1936)) ([1b68d39](https://github.com/applitools/eyes.sdk.javascript1/commit/1b68d3945d96b17b9ab1f1a87d352206fd0c81d6))
133
+
134
+
135
+ #### Bug Fixes
136
+
137
+ * upgrade dom-snapshot ([#1969](https://github.com/applitools/eyes.sdk.javascript1/issues/1969)) ([458beb8](https://github.com/applitools/eyes.sdk.javascript1/commit/458beb803aec3e6d51484a557b3eed8f537a709d))
138
+
139
+
140
+ #### Code Refactoring
141
+
142
+ * disallow usage of global Buffer ([#1957](https://github.com/applitools/eyes.sdk.javascript1/issues/1957)) ([adcc082](https://github.com/applitools/eyes.sdk.javascript1/commit/adcc082f20f6b92e819b96424e995d9a69d99758))
143
+
144
+
145
+
146
+
3
147
  ## [1.10.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-v1.9.2...js/eyes@1.10.0) (2023-09-29)
4
148
 
5
149
 
@@ -958,7 +958,7 @@ class ConfigurationData {
958
958
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
959
959
  return utils.general.toJSON({
960
960
  open: utils.general.removeUndefinedProps({
961
- serverUrl: this.serverUrl,
961
+ eyesServerUrl: this.serverUrl,
962
962
  apiKey: this.apiKey,
963
963
  agentId: this.agentId,
964
964
  proxy: this.proxy,
@@ -974,9 +974,9 @@ class ConfigurationData {
974
974
  environmentName: this.environmentName,
975
975
  environment: utils.general.removeUndefinedProps({
976
976
  hostingApp: this.hostApp,
977
- hostingAppInfo: this.hostAppInfo,
977
+ displayHostingApp: this.hostAppInfo,
978
978
  os: this.hostOS,
979
- osInfo: this.hostOSInfo,
979
+ displayOs: this.hostOSInfo,
980
980
  deviceName: this.deviceInfo,
981
981
  viewportSize: this.viewportSize,
982
982
  }),
@@ -1008,7 +1008,7 @@ class ConfigurationData {
1008
1008
  : undefined,
1009
1009
  }),
1010
1010
  check: utils.general.removeUndefinedProps({
1011
- renderers: (_b = this.browsersInfo) === null || _b === void 0 ? void 0 : _b.map(browserInfo => {
1011
+ environments: (_b = this.browsersInfo) === null || _b === void 0 ? void 0 : _b.map(browserInfo => {
1012
1012
  if (utils.types.has(browserInfo, 'iosDeviceInfo')) {
1013
1013
  const { iosVersion, ...iosDeviceInfo } = browserInfo.iosDeviceInfo;
1014
1014
  return { iosDeviceInfo: { ...iosDeviceInfo, version: iosVersion } };
@@ -21,7 +21,7 @@ class TestResultContainerData {
21
21
  return this.exception;
22
22
  }
23
23
  get browserInfo() {
24
- return this._container.renderer;
24
+ return this._container.environment.requested;
25
25
  }
26
26
  getBrowserInfo() {
27
27
  return this.browserInfo;
@@ -31,7 +31,7 @@ class TestResultContainerData {
31
31
  return {
32
32
  testResults: this._container.result,
33
33
  exception: this._container.error,
34
- browserInfo: this._container.renderer,
34
+ browserInfo: this._container.environment.requested,
35
35
  };
36
36
  }
37
37
  /** @internal */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.10.0",
3
+ "version": "1.11.1",
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": "3.11.5",
49
- "@applitools/logger": "2.0.11",
50
- "@applitools/utils": "1.6.1"
48
+ "@applitools/core": "4.0.0",
49
+ "@applitools/logger": "2.0.12",
50
+ "@applitools/utils": "1.6.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@applitools/req": "^1.6.1",
53
+ "@applitools/req": "^1.6.2",
54
54
  "@types/node": "^12.20.55"
55
55
  },
56
56
  "engines": {