@applitools/core 4.42.0 → 4.43.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,45 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.43.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.42.1...js/core@4.43.0) (2025-07-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * android multi target | AD-9868 ([#2943](https://github.com/Applitools-Dev/sdk/issues/2943)) ([808aa21](https://github.com/Applitools-Dev/sdk/commit/808aa21e489c3562b93006e2e26ff7ffbb743dd6))
9
+ * batch properties limit | FLD-3174 ([#3080](https://github.com/Applitools-Dev/sdk/issues/3080)) ([feb9e79](https://github.com/Applitools-Dev/sdk/commit/feb9e79d79f5eab3c58eac2b4ef3c15a562f079c))
10
+
11
+
12
+ ### Dependencies
13
+
14
+ * @applitools/nml-client bumped to 1.10.0
15
+ #### Features
16
+
17
+ * android multi target | AD-9868 ([#2943](https://github.com/Applitools-Dev/sdk/issues/2943)) ([808aa21](https://github.com/Applitools-Dev/sdk/commit/808aa21e489c3562b93006e2e26ff7ffbb743dd6))
18
+
19
+
20
+
21
+ * @applitools/core-base bumped to 1.26.0
22
+ #### Features
23
+
24
+ * batch properties limit | FLD-3174 ([#3080](https://github.com/Applitools-Dev/sdk/issues/3080)) ([feb9e79](https://github.com/Applitools-Dev/sdk/commit/feb9e79d79f5eab3c58eac2b4ef3c15a562f079c))
25
+ * @applitools/ec-client bumped to 1.11.1
26
+
27
+
28
+ ## [4.42.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.42.0...js/core@4.42.1) (2025-07-15)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * tunnel client zip should be published ([#3099](https://github.com/Applitools-Dev/sdk/issues/3099)) ([455b10c](https://github.com/Applitools-Dev/sdk/commit/455b10ca1866d93085faba2089b40984c8329ca4))
34
+
35
+
36
+ ### Dependencies
37
+
38
+ * @applitools/tunnel-client bumped to 1.9.1
39
+ #### Bug Fixes
40
+
41
+ * tunnel client zip should be published ([#3099](https://github.com/Applitools-Dev/sdk/issues/3099)) ([455b10c](https://github.com/Applitools-Dev/sdk/commit/455b10ca1866d93085faba2089b40984c8329ca4))
42
+
3
43
  ## [4.42.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.41.0...js/core@4.42.0) (2025-07-15)
4
44
 
5
45
 
@@ -36,7 +36,7 @@ const abort_controller_1 = require("abort-controller");
36
36
  const utils = __importStar(require("@applitools/utils"));
37
37
  function makeOpenEyes({ core, spec, logger: mainLogger }) {
38
38
  return async function openEyes({ target, settings, storage = new Map(), logger = mainLogger, }) {
39
- var _a, _b, _c;
39
+ var _a, _b, _c, _d;
40
40
  logger = logger.extend(mainLogger);
41
41
  logger.log(`Command "openEyes" is called with ${target ? 'default driver' : ''}`, ...(settings ? ['and settings', settings] : []), storage.size > 0 ? 'and default eyes storage' : '');
42
42
  const driver = target && (await (0, driver_1.makeDriver)({ spec, driver: target, logger, customConfig: settings }));
@@ -54,6 +54,20 @@ function makeOpenEyes({ core, spec, logger: mainLogger }) {
54
54
  const controller = new abort_controller_1.AbortController();
55
55
  const { signal } = controller;
56
56
  const account = await core.getAccountInfo({ settings, logger });
57
+ if (driver) {
58
+ const driverEnvironment = await driver.getEnvironment();
59
+ const isNml = (_d = driverEnvironment.applitoolsLib) === null || _d === void 0 ? void 0 : _d.instrumented;
60
+ if (isNml && driverEnvironment.isAndroid) {
61
+ const nmlClient = await core.getNMLClient({
62
+ driver,
63
+ settings: { ...account.eyesServer, supportedEnvironmentsUrl: account.supportedEnvironmentsUrl },
64
+ logger,
65
+ });
66
+ if (settings.environments) {
67
+ await nmlClient.preRescaleActivity({ logger });
68
+ }
69
+ }
70
+ }
57
71
  return utils.general.extend({}, eyes => {
58
72
  var _a, _b, _c, _d;
59
73
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.42.0",
3
+ "version": "4.43.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -75,13 +75,13 @@
75
75
  }
76
76
  },
77
77
  "dependencies": {
78
- "@applitools/core-base": "1.25.6",
78
+ "@applitools/core-base": "1.26.0",
79
79
  "@applitools/dom-capture": "11.5.6",
80
80
  "@applitools/dom-snapshot": "4.12.1",
81
81
  "@applitools/driver": "1.22.1",
82
- "@applitools/ec-client": "1.11.0",
82
+ "@applitools/ec-client": "1.11.1",
83
83
  "@applitools/logger": "2.1.5",
84
- "@applitools/nml-client": "1.9.7",
84
+ "@applitools/nml-client": "1.10.0",
85
85
  "@applitools/req": "1.7.15",
86
86
  "@applitools/screenshoter": "3.11.7",
87
87
  "@applitools/snippets": "2.6.5",
@@ -106,7 +106,7 @@
106
106
  "@applitools/spec-driver-selenium": "^1.6.1",
107
107
  "@applitools/test-server": "^1.2.3",
108
108
  "@applitools/test-utils": "^1.5.17",
109
- "@applitools/tunnel-client": "^1.9.0",
109
+ "@applitools/tunnel-client": "^1.9.1",
110
110
  "@types/mocha": "^10.0.7",
111
111
  "@types/node": "^12.20.55",
112
112
  "@types/selenium-webdriver": "^4.1.2",