@applitools/nml-client 1.9.4 → 1.9.6

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,80 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.6](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.9.5...js/nml-client@1.9.6) (2025-07-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add retries for ConnectEnomem errors | FLD-3015 ([#3052](https://github.com/Applitools-Dev/sdk/issues/3052)) ([92caa45](https://github.com/Applitools-Dev/sdk/commit/92caa452b4a6d6f86c903548b40f8207a0ed11d0))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/utils bumped to 1.9.0
14
+ #### Features
15
+
16
+ * support https_proxy and http_proxy env variables | FLD-2702 ([#3046](https://github.com/Applitools-Dev/sdk/issues/3046)) ([0633809](https://github.com/Applitools-Dev/sdk/commit/06338099f44bfb149a5829f62c2f9b19e2392850))
17
+ * @applitools/driver bumped to 1.22.0
18
+ #### Features
19
+
20
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
21
+
22
+
23
+
24
+ * @applitools/spec-driver-webdriver bumped to 1.3.0
25
+ #### Features
26
+
27
+ * canvas webgl without preserveDrawingBuffer=1 | FLD-3144 ([#3040](https://github.com/Applitools-Dev/sdk/issues/3040)) ([f82d8f1](https://github.com/Applitools-Dev/sdk/commit/f82d8f148f913098752ec7bef8635a46b453d6fa))
28
+ * support https_proxy and http_proxy env variables | FLD-2702 ([#3046](https://github.com/Applitools-Dev/sdk/issues/3046)) ([0633809](https://github.com/Applitools-Dev/sdk/commit/06338099f44bfb149a5829f62c2f9b19e2392850))
29
+
30
+
31
+
32
+ * @applitools/core-base bumped to 1.25.5
33
+ #### Bug Fixes
34
+
35
+ * add retries for ConnectEnomem errors | FLD-3015 ([#3052](https://github.com/Applitools-Dev/sdk/issues/3052)) ([92caa45](https://github.com/Applitools-Dev/sdk/commit/92caa452b4a6d6f86c903548b40f8207a0ed11d0))
36
+
37
+
38
+
39
+ * @applitools/logger bumped to 2.1.5
40
+
41
+ * @applitools/req bumped to 1.7.14
42
+
43
+ * @applitools/image bumped to 1.1.21
44
+
45
+
46
+ ## [1.9.5](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.9.4...js/nml-client@1.9.5) (2025-06-15)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * nml-client depends on core-base ([#2995](https://github.com/Applitools-Dev/sdk/issues/2995)) ([1f7cf69](https://github.com/Applitools-Dev/sdk/commit/1f7cf6930709a40a498dd1f525132648aa593af0))
52
+
53
+
54
+ ### Dependencies
55
+
56
+ * @applitools/spec-driver-webdriver bumped to 1.2.6
57
+
58
+ * @applitools/core-base bumped to 1.25.4
59
+ #### Bug Fixes
60
+
61
+ * Differentiate Between Invalid and Missing API Key Errors ([6ac17d4](https://github.com/Applitools-Dev/sdk/commit/6ac17d40d7aff45b3de5c949dc7d4673b9739bfd))
62
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
63
+
64
+
65
+
66
+ * @applitools/test-server bumped to 1.2.3
67
+ #### Bug Fixes
68
+
69
+ * basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
70
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
71
+ * storybook navigation timeouts ([#2701](https://github.com/Applitools-Dev/sdk/issues/2701)) ([64e3a40](https://github.com/Applitools-Dev/sdk/commit/64e3a40a524ae76ec457ae9c2d1170fbaea5e982))
72
+
73
+
74
+
75
+ * @applitools/req bumped to 1.7.13
76
+
77
+
3
78
  ## [1.9.4](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.9.3...js/nml-client@1.9.4) (2025-05-11)
4
79
 
5
80
 
@@ -37,8 +37,8 @@ function makeReqBroker({ settings, logger }) {
37
37
  connectionTimeout: 300000 /* 5min */,
38
38
  retry: {
39
39
  limit: 5,
40
- timeout: 200,
41
- codes: ['ECONNRESET', 'ECONNABORTED', 'ETIMEDOUT', 'ENOTFOUND', 'EAI_AGAIN'],
40
+ timeout: process.env.EYES_NETWORK_RETRY_TIMEOUT ? Number(process.env.EYES_NETWORK_RETRY_TIMEOUT) : 200,
41
+ codes: ['ECONNRESET', 'ECONNABORTED', 'ETIMEDOUT', 'ENOTFOUND', 'EAI_AGAIN', 'ENOMEM'],
42
42
  },
43
43
  hooks: [handleLogs({ logger }), handleLongRequests({ req: req_1.default, logger }), handleUnexpectedResponse()],
44
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/nml-client",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "Client to integrate the SDKs to the Native Mobile Library (NML)",
5
5
  "homepage": "https://applitools.com",
6
6
  "bugs": {
@@ -36,18 +36,22 @@
36
36
  "test": "run --top-level mocha './test/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15}"
37
37
  },
38
38
  "dependencies": {
39
- "@applitools/logger": "2.1.4",
40
- "@applitools/req": "1.7.12",
41
- "@applitools/utils": "1.8.2"
39
+ "@applitools/logger": "2.1.5",
40
+ "@applitools/req": "1.7.14",
41
+ "@applitools/utils": "1.9.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@applitools/spec-driver-webdriver": "^1.2.5",
45
- "@applitools/test-server": "^1.2.2",
44
+ "@applitools/core-base": "1.25.5",
45
+ "@applitools/spec-driver-webdriver": "^1.3.0",
46
+ "@applitools/test-server": "^1.2.3",
46
47
  "@applitools/test-utils": "^1.5.17",
47
48
  "@types/node": "^12.20.55",
48
49
  "nock": "^13.3.2",
49
50
  "webdriver": "^7.31.1"
50
51
  },
52
+ "peerDependencies": {
53
+ "@applitools/core-base": "1.25.5"
54
+ },
51
55
  "engines": {
52
56
  "node": ">=12.13.0"
53
57
  },
package/types/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Size, Location, Region } from '@applitools/utils';
2
- import { TestError } from '@applitools/core-base';
2
+ import type { TestError } from '@applitools/core-base';
3
3
  import { type Logger } from '@applitools/logger';
4
4
  import { type Proxy } from '@applitools/req';
5
5
  export interface NMLClient {