@applitools/eyes 1.46.3 → 1.47.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,174 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.47.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.47.0...js/eyes@1.47.1) (2026-10-13)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped to 1.15.3
9
+ #### Bug Fixes
10
+
11
+ * publish once to validate the npm trusted publishers ([#4300](https://github.com/Applitools-Dev/sdk/issues/4300)) ([63ebc90](https://github.com/Applitools-Dev/sdk/commit/63ebc9044b150c6f927f626d0ce9cc7da8861441))
12
+ * @applitools/logger bumped to 2.3.2
13
+ #### Bug Fixes
14
+
15
+ * publish once to validate the npm trusted publishers ([#4300](https://github.com/Applitools-Dev/sdk/issues/4300)) ([63ebc90](https://github.com/Applitools-Dev/sdk/commit/63ebc9044b150c6f927f626d0ce9cc7da8861441))
16
+
17
+
18
+
19
+ * @applitools/dom-shared bumped to 1.2.4
20
+ #### Bug Fixes
21
+
22
+ * publish once to validate the npm trusted publishers ([#4300](https://github.com/Applitools-Dev/sdk/issues/4300)) ([63ebc90](https://github.com/Applitools-Dev/sdk/commit/63ebc9044b150c6f927f626d0ce9cc7da8861441))
23
+ * @applitools/req bumped to 1.11.5
24
+
25
+ * @applitools/image bumped to 1.3.4
26
+ #### Bug Fixes
27
+
28
+ * publish once to validate the npm trusted publishers ([#4300](https://github.com/Applitools-Dev/sdk/issues/4300)) ([63ebc90](https://github.com/Applitools-Dev/sdk/commit/63ebc9044b150c6f927f626d0ce9cc7da8861441))
29
+
30
+
31
+
32
+ * @applitools/dom-snapshot bumped to 4.18.6
33
+
34
+ * @applitools/socket bumped to 1.3.18
35
+ #### Bug Fixes
36
+
37
+ * publish once to validate the npm trusted publishers ([#4300](https://github.com/Applitools-Dev/sdk/issues/4300)) ([63ebc90](https://github.com/Applitools-Dev/sdk/commit/63ebc9044b150c6f927f626d0ce9cc7da8861441))
38
+
39
+
40
+
41
+ * @applitools/test-server bumped to 1.4.8
42
+ #### Bug Fixes
43
+
44
+ * publish once to validate the npm trusted publishers ([#4300](https://github.com/Applitools-Dev/sdk/issues/4300)) ([63ebc90](https://github.com/Applitools-Dev/sdk/commit/63ebc9044b150c6f927f626d0ce9cc7da8861441))
45
+
46
+
47
+
48
+ * @applitools/snippets bumped to 2.9.9
49
+
50
+ * @applitools/dom-capture bumped to 11.8.8
51
+
52
+ * @applitools/driver bumped to 1.26.13
53
+
54
+ * @applitools/spec-driver-webdriver bumped to 1.6.13
55
+
56
+ * @applitools/spec-driver-selenium bumped to 1.8.13
57
+
58
+ * @applitools/spec-driver-playwright bumped to 1.9.13
59
+
60
+ * @applitools/spec-driver-puppeteer bumped to 1.8.13
61
+
62
+ * @applitools/screenshoter bumped to 3.12.35
63
+
64
+ * @applitools/nml-client bumped to 1.12.8
65
+
66
+ * @applitools/tunnel-client bumped to 1.12.6
67
+
68
+ * @applitools/ufg-client bumped to 1.23.7
69
+
70
+ * @applitools/core-base bumped to 1.41.1
71
+
72
+ * @applitools/ec-client bumped to 1.12.51
73
+
74
+ * @applitools/core bumped to 4.72.1
75
+ #### Bug Fixes
76
+
77
+ * remove the figma experimental warning | AD-16752 ([#4262](https://github.com/Applitools-Dev/sdk/issues/4262)) ([ef81eda](https://github.com/Applitools-Dev/sdk/commit/ef81edaaf340160509f81386c9772a1e1623decc))
78
+
79
+
80
+
81
+
82
+ ## [1.47.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.46.3...js/eyes@1.47.0) (2026-10-12)
83
+
84
+
85
+ ### Features
86
+
87
+ * report NLP step counts per Eyes session | AD-16681 ([#4257](https://github.com/Applitools-Dev/sdk/issues/4257)) ([b84a1cc](https://github.com/Applitools-Dev/sdk/commit/b84a1ccac25c4d61a98ee382a18f54c1011c53e6))
88
+
89
+
90
+ ### Dependencies
91
+
92
+ * @applitools/dom-snapshot bumped to 4.18.5
93
+ #### Bug Fixes
94
+
95
+ * keep the video src when there is no source fallback | FLD-4948 ([#4209](https://github.com/Applitools-Dev/sdk/issues/4209)) ([50d0909](https://github.com/Applitools-Dev/sdk/commit/50d09091291dd64055c42104695f8726594558ac))
96
+ * record blob videos so HLS videos render in UFG | AD-16937 ([#4277](https://github.com/Applitools-Dev/sdk/issues/4277)) ([3bdcdcc](https://github.com/Applitools-Dev/sdk/commit/3bdcdccf068ce9f827065f24bd00cb543004f2b3))
97
+
98
+
99
+ #### Performance Improvements
100
+
101
+ * upload inline data: URIs as resources | AD-15789 ([#4119](https://github.com/Applitools-Dev/sdk/issues/4119)) ([cbd9afa](https://github.com/Applitools-Dev/sdk/commit/cbd9afa8de664b32f23119690b14a0aef998acaf))
102
+
103
+
104
+
105
+ * @applitools/req bumped to 1.11.4
106
+ #### Bug Fixes
107
+
108
+ * version-check/telemetry no longer hold the process — connect deadline + unref | AD-16613 ([#4232](https://github.com/Applitools-Dev/sdk/issues/4232)) ([42bcbb5](https://github.com/Applitools-Dev/sdk/commit/42bcbb5dd8d75ad4aa98c2ec0d284f107fdc98e3))
109
+ * @applitools/snippets bumped to 2.9.8
110
+ #### Bug Fixes
111
+
112
+ * stop element id path at the document the snippet runs in | FLD-5098 ([#4285](https://github.com/Applitools-Dev/sdk/issues/4285)) ([94c4296](https://github.com/Applitools-Dev/sdk/commit/94c4296988a94832435cac92096d10ec78e96ce8))
113
+ * @applitools/dom-capture bumped to 11.8.7
114
+ #### Bug Fixes
115
+
116
+ * check element visibility in its own frame and realm | AD-14874 ([#4267](https://github.com/Applitools-Dev/sdk/issues/4267)) ([222025b](https://github.com/Applitools-Dev/sdk/commit/222025b5b77394b661ab49c307146ec6f191ba14))
117
+ * @applitools/core-base bumped to 1.41.0
118
+ #### Features
119
+
120
+ * report NLP step counts per Eyes session | AD-16681 ([#4257](https://github.com/Applitools-Dev/sdk/issues/4257)) ([b84a1cc](https://github.com/Applitools-Dev/sdk/commit/b84a1ccac25c4d61a98ee382a18f54c1011c53e6))
121
+
122
+
123
+ #### Bug Fixes
124
+
125
+ * version-check/telemetry no longer hold the process — connect deadline + unref | AD-16613 ([#4232](https://github.com/Applitools-Dev/sdk/issues/4232)) ([42bcbb5](https://github.com/Applitools-Dev/sdk/commit/42bcbb5dd8d75ad4aa98c2ec0d284f107fdc98e3))
126
+
127
+
128
+
129
+ * @applitools/driver bumped to 1.26.12
130
+
131
+ * @applitools/spec-driver-webdriver bumped to 1.6.12
132
+
133
+ * @applitools/spec-driver-selenium bumped to 1.8.12
134
+
135
+ * @applitools/spec-driver-playwright bumped to 1.9.12
136
+
137
+ * @applitools/spec-driver-puppeteer bumped to 1.8.12
138
+
139
+ * @applitools/screenshoter bumped to 3.12.34
140
+ #### Bug Fixes
141
+
142
+ * do not write an identity transform in mixed+ scrolling | FLD-4370 ([#4272](https://github.com/Applitools-Dev/sdk/issues/4272)) ([b17532a](https://github.com/Applitools-Dev/sdk/commit/b17532ae1b311d5eb092cb866b42accc8f0fc3ae))
143
+
144
+
145
+
146
+ * @applitools/nml-client bumped to 1.12.7
147
+
148
+ * @applitools/tunnel-client bumped to 1.12.5
149
+
150
+ * @applitools/ufg-client bumped to 1.23.6
151
+
152
+ * @applitools/ec-client bumped to 1.12.50
153
+
154
+ * @applitools/core bumped to 4.72.0
155
+ #### Features
156
+
157
+ * per-run accessibility run options for UFG renders | AD-16443 ([#4207](https://github.com/Applitools-Dev/sdk/issues/4207)) ([ea0e789](https://github.com/Applitools-Dev/sdk/commit/ea0e789826304f3ce7adbea32cc85de0718b2722))
158
+
159
+
160
+ #### Bug Fixes
161
+
162
+ * version-check/telemetry no longer hold the process — connect deadline + unref | AD-16613 ([#4232](https://github.com/Applitools-Dev/sdk/issues/4232)) ([42bcbb5](https://github.com/Applitools-Dev/sdk/commit/42bcbb5dd8d75ad4aa98c2ec0d284f107fdc98e3))
163
+
164
+
165
+ #### Performance Improvements
166
+
167
+ * upload inline data: URIs as resources | AD-15789 ([#4119](https://github.com/Applitools-Dev/sdk/issues/4119)) ([cbd9afa](https://github.com/Applitools-Dev/sdk/commit/cbd9afa8de664b32f23119690b14a0aef998acaf))
168
+
169
+
170
+
171
+
3
172
  ## [1.46.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.46.2...js/eyes@1.46.3) (2026-10-01)
4
173
 
5
174
 
package/dist/Eyes.js CHANGED
@@ -46,6 +46,13 @@ class Eyes {
46
46
  get _sdk() {
47
47
  return this.constructor._sdk;
48
48
  }
49
+ /**
50
+ * Lets SDK subclasses contribute session-scoped settings to close and abort, known only at teardown.
51
+ * @internal
52
+ */
53
+ async _getCloseSettings() {
54
+ return undefined;
55
+ }
49
56
  static async getExecutionCloudUrl(config) {
50
57
  const { core } = (0, SDK_1.initSDK)(this._sdk, config === null || config === void 0 ? void 0 : config.maskLog);
51
58
  const client = await core.getECClient({
@@ -397,12 +404,12 @@ class Eyes {
397
404
  if (this._config.isDisabled)
398
405
  return null;
399
406
  const config = this._config.toJSON();
400
- await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.close({ config }));
407
+ await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.close({ config, settings: await this._getCloseSettings() }));
401
408
  }
402
409
  async abort() {
403
410
  if (!this.isOpen || this._config.isDisabled)
404
411
  return null;
405
- await this._eyes.abort();
412
+ await this._eyes.abort({ settings: await this._getCloseSettings() });
406
413
  const [result] = await this._eyes.getResults();
407
414
  return new TestResults_1.TestResultsData({ result, core: this._core });
408
415
  }
@@ -410,7 +417,7 @@ class Eyes {
410
417
  var _a;
411
418
  if (!this.isOpen || this._config.isDisabled)
412
419
  return null;
413
- await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.abort());
420
+ await ((_a = this._eyes) === null || _a === void 0 ? void 0 : _a.abort({ settings: await this._getCloseSettings() }));
414
421
  }
415
422
  /** @deprecated */
416
423
  async abortIfNotClosed() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.46.3",
3
+ "version": "1.47.1",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -42,14 +42,14 @@
42
42
  "test": "run --top-level mocha './test/**/*.spec.ts'"
43
43
  },
44
44
  "dependencies": {
45
- "@applitools/core": "4.71.0",
46
- "@applitools/logger": "2.3.1",
47
- "@applitools/utils": "1.15.2",
45
+ "@applitools/core": "4.72.1",
46
+ "@applitools/logger": "2.3.2",
47
+ "@applitools/utils": "1.15.3",
48
48
  "chalk": "4.1.2",
49
49
  "yargs": "17.7.2"
50
50
  },
51
51
  "devDependencies": {
52
- "@applitools/req": "^1.11.3",
52
+ "@applitools/req": "^1.11.5",
53
53
  "@types/node": "^12.20.55",
54
54
  "nock": "^13.3.0"
55
55
  },
package/types/Eyes.d.ts CHANGED
@@ -43,6 +43,11 @@ export declare class Eyes<TSpec extends Core.SpecType = Core.SpecType, TCheckSet
43
43
  * @internal
44
44
  */
45
45
  protected _eyes?: Core.Eyes<TSpec, 'classic' | 'ufg'>;
46
+ /**
47
+ * Lets SDK subclasses contribute session-scoped settings to close and abort, known only at teardown.
48
+ * @internal
49
+ */
50
+ protected _getCloseSettings(): Promise<Partial<Core.CloseSettings<'classic' | 'ufg'> & Core.AbortSettings<'classic' | 'ufg'>> | undefined>;
46
51
  private _spec?;
47
52
  private _events;
48
53
  private _handlers;