@applitools/nml-client 1.11.39 → 1.12.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,95 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.12.0](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.11.40...js/nml-client@1.12.0) (2026-08-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * seat region-check DOM via NML crop targetRegion | AD-14690 ([#4054](https://github.com/Applitools-Dev/sdk/issues/4054)) ([d442ff3](https://github.com/Applitools-Dev/sdk/commit/d442ff336b66144b55102d04b74175305b05169e))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/snippets bumped to 2.9.7
14
+ #### Bug Fixes
15
+
16
+ * report a stalled lazyLoad pass instead of success under a scroll lock | FLD-3965 ([#4101](https://github.com/Applitools-Dev/sdk/issues/4101)) ([6244790](https://github.com/Applitools-Dev/sdk/commit/62447903464d27027f169d6b058d20e3e943ffda))
17
+ * @applitools/driver bumped to 1.26.9
18
+
19
+ * @applitools/spec-driver-webdriver bumped to 1.6.9
20
+
21
+
22
+ ## [1.11.40](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.11.39...js/nml-client@1.11.40) (2026-08-10)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * @applitools/utils bumped to 1.15.2
33
+ #### Bug Fixes
34
+
35
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
36
+ * @applitools/logger bumped to 2.3.1
37
+ #### Bug Fixes
38
+
39
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
40
+
41
+
42
+
43
+ * @applitools/dom-shared bumped to 1.2.3
44
+ #### Bug Fixes
45
+
46
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
47
+ * @applitools/req bumped to 1.11.3
48
+ #### Bug Fixes
49
+
50
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
51
+
52
+
53
+
54
+ * @applitools/image bumped to 1.3.1
55
+ #### Bug Fixes
56
+
57
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
58
+
59
+
60
+
61
+ * @applitools/snippets bumped to 2.9.6
62
+ #### Bug Fixes
63
+
64
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
65
+
66
+
67
+
68
+ * @applitools/driver bumped to 1.26.8
69
+ #### Bug Fixes
70
+
71
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
72
+ * use an authoritative CSS viewport in classic mode | FLD-4814 ([#4047](https://github.com/Applitools-Dev/sdk/issues/4047)) ([c46497e](https://github.com/Applitools-Dev/sdk/commit/c46497e573fd7fd2da4913452239beea082b148f))
73
+
74
+
75
+
76
+ * @applitools/spec-driver-webdriver bumped to 1.6.8
77
+ #### Bug Fixes
78
+
79
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
80
+
81
+
82
+
83
+ * @applitools/core-base bumped to 1.38.1
84
+ #### Bug Fixes
85
+
86
+ * apply the figma UFG environments rewrite to the renders | AD-15528 ([#4072](https://github.com/Applitools-Dev/sdk/issues/4072)) ([bd6b143](https://github.com/Applitools-Dev/sdk/commit/bd6b143f855750ae93701f8e44da6129ff7ae84c))
87
+
88
+
89
+
90
+ * @applitools/test-server bumped to 1.4.7
91
+
92
+
3
93
  ## [1.11.39](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.11.38...js/nml-client@1.11.39) (2026-08-05)
4
94
 
5
95
 
@@ -125,6 +125,9 @@ function makeNMLRequests({ settings, logger: mainLogger, }) {
125
125
  image: result.payload.result[0].result.screenshotUrl,
126
126
  calculateRegions: result.payload.result[0].result.selectorRegions,
127
127
  dom: result.payload.result[0].result.dom,
128
+ ...(result.payload.result[0].result.targetRegion && {
129
+ locationInViewport: utils.geometry.location(result.payload.result[0].result.targetRegion),
130
+ }),
128
131
  environment: localEnvironment,
129
132
  },
130
133
  ];
@@ -138,6 +141,9 @@ function makeNMLRequests({ settings, logger: mainLogger, }) {
138
141
  image: result.payload.result[index].result.screenshotUrl,
139
142
  calculateRegions: result.payload.result[index].result.selectorRegions,
140
143
  dom: result.payload.result[index].result.dom,
144
+ ...(result.payload.result[index].result.targetRegion && {
145
+ locationInViewport: utils.geometry.location(result.payload.result[index].result.targetRegion),
146
+ }),
141
147
  environment,
142
148
  };
143
149
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/nml-client",
3
- "version": "1.11.39",
3
+ "version": "1.12.0",
4
4
  "description": "Client to integrate the SDKs to the Native Mobile Library (NML)",
5
5
  "homepage": "https://applitools.com",
6
6
  "bugs": {
@@ -36,21 +36,21 @@
36
36
  "test": "run --top-level mocha './test/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15}"
37
37
  },
38
38
  "dependencies": {
39
- "@applitools/logger": "2.3.0",
40
- "@applitools/req": "1.11.2",
41
- "@applitools/utils": "1.15.1"
39
+ "@applitools/logger": "2.3.1",
40
+ "@applitools/req": "1.11.3",
41
+ "@applitools/utils": "1.15.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@applitools/core-base": "1.38.0",
45
- "@applitools/spec-driver-webdriver": "^1.6.7",
46
- "@applitools/test-server": "^1.4.6",
44
+ "@applitools/core-base": "1.38.1",
45
+ "@applitools/spec-driver-webdriver": "^1.6.9",
46
+ "@applitools/test-server": "^1.4.7",
47
47
  "@applitools/test-utils": "^1.5.17",
48
48
  "@types/node": "^12.20.55",
49
49
  "nock": "^13.3.2",
50
50
  "webdriver": "^7.31.1"
51
51
  },
52
52
  "peerDependencies": {
53
- "@applitools/core-base": "1.38.0"
53
+ "@applitools/core-base": "1.38.1"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=12.13.0"