@applitools/ec-client 1.10.14 → 1.10.16

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,81 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.10.16](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.10.15...js/ec-client@1.10.16) (2025-07-07)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped to 1.9.0
9
+ #### Features
10
+
11
+ * 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))
12
+ * @applitools/spec-driver-webdriver bumped to 1.3.0
13
+ #### Features
14
+
15
+ * 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))
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
+
18
+
19
+
20
+ * @applitools/socket bumped to 1.2.6
21
+
22
+ * @applitools/driver bumped to 1.22.0
23
+ #### Features
24
+
25
+ * 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))
26
+
27
+
28
+
29
+ * @applitools/logger bumped to 2.1.5
30
+
31
+ * @applitools/req bumped to 1.7.14
32
+
33
+ * @applitools/image bumped to 1.1.21
34
+
35
+ * @applitools/tunnel-client bumped to 1.8.1
36
+
37
+ * @applitools/core-base bumped to 1.25.5
38
+ #### Bug Fixes
39
+
40
+ * 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))
41
+
42
+
43
+
44
+
45
+ ## [1.10.15](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.10.14...js/ec-client@1.10.15) (2025-06-15)
46
+
47
+
48
+ ### Dependencies
49
+
50
+ * @applitools/tunnel-client bumped to 1.8.0
51
+ #### Features
52
+
53
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
54
+
55
+
56
+
57
+ * @applitools/req bumped to 1.7.13
58
+
59
+ * @applitools/spec-driver-webdriver bumped to 1.2.6
60
+
61
+ * @applitools/core-base bumped to 1.25.4
62
+ #### Bug Fixes
63
+
64
+ * Differentiate Between Invalid and Missing API Key Errors ([6ac17d4](https://github.com/Applitools-Dev/sdk/commit/6ac17d40d7aff45b3de5c949dc7d4673b9739bfd))
65
+ * 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))
66
+
67
+
68
+
69
+ * @applitools/test-server bumped to 1.2.3
70
+ #### Bug Fixes
71
+
72
+ * 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))
73
+ * 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))
74
+ * storybook navigation timeouts ([#2701](https://github.com/Applitools-Dev/sdk/issues/2701)) ([64e3a40](https://github.com/Applitools-Dev/sdk/commit/64e3a40a524ae76ec457ae9c2d1170fbaea5e982))
75
+
76
+
77
+
78
+
3
79
  ## [1.10.14](https://github.com/Applitools-Dev/sdk/compare/js/ec-client@1.10.13...js/ec-client@1.10.14) (2025-05-14)
4
80
 
5
81
 
@@ -52,7 +52,15 @@ async function makeTunnelManagerServer({ settings, path, idleTimeout = 600000, /
52
52
  });
53
53
  logger.log('Server is started');
54
54
  const manager = await (0, manager_1.makeTunnelManager)({ settings, logger });
55
- (_a = process.send) === null || _a === void 0 ? void 0 : _a.call(process, { name: 'started', payload: { path } });
55
+ (_a = process.send) === null || _a === void 0 ? void 0 : _a.call(process, { name: 'started', payload: { path } }, (error) => {
56
+ if (error) {
57
+ logger.error('Failed to send started message', { error });
58
+ process.exit(1);
59
+ }
60
+ else {
61
+ logger.log('Started message is sent');
62
+ }
63
+ });
56
64
  let idle;
57
65
  let serverClosed = false;
58
66
  if (idleTimeout)
@@ -36,7 +36,23 @@ async function makeTunnelManager({ settings, logger, }) {
36
36
  if (!pool) {
37
37
  pool = makePool({
38
38
  create: () => { var _a; return Promise.all(Array.from({ length: (_a = settings === null || settings === void 0 ? void 0 : settings.groupSize) !== null && _a !== void 0 ? _a : 1 }, () => client.create(credentials))); },
39
- destroy: tunnels => Promise.all(tunnels.map(tunnel => client.destroy(tunnel.tunnelId))).then(() => undefined),
39
+ destroy: async (tunnels) => {
40
+ await Promise.all(tunnels.map(async (tunnel) => {
41
+ var _a;
42
+ try {
43
+ await client.destroy(tunnel.tunnelId);
44
+ }
45
+ catch (error) {
46
+ // Log but don't throw if tunnel is already deleted
47
+ if ((_a = error.message) === null || _a === void 0 ? void 0 : _a.includes('TUNNEL_NOT_FOUND')) {
48
+ logger.log(`Tunnel ${tunnel.tunnelId} was already deleted`);
49
+ }
50
+ else {
51
+ throw error;
52
+ }
53
+ }
54
+ }));
55
+ },
40
56
  ...settings === null || settings === void 0 ? void 0 : settings.pool,
41
57
  });
42
58
  pools.set(key, pool);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/ec-client",
3
- "version": "1.10.14",
3
+ "version": "1.10.16",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -52,20 +52,20 @@
52
52
  "test:it": "MOCHA_GROUP=it run --top-level mocha './test/it/*.spec.ts'"
53
53
  },
54
54
  "dependencies": {
55
- "@applitools/core-base": "1.25.3",
56
- "@applitools/driver": "1.21.4",
57
- "@applitools/logger": "2.1.4",
58
- "@applitools/req": "1.7.12",
59
- "@applitools/socket": "1.2.5",
60
- "@applitools/spec-driver-webdriver": "1.2.5",
61
- "@applitools/tunnel-client": "1.6.7",
62
- "@applitools/utils": "1.8.2",
55
+ "@applitools/core-base": "1.25.5",
56
+ "@applitools/driver": "1.22.0",
57
+ "@applitools/logger": "2.1.5",
58
+ "@applitools/req": "1.7.14",
59
+ "@applitools/socket": "1.2.6",
60
+ "@applitools/spec-driver-webdriver": "1.3.0",
61
+ "@applitools/tunnel-client": "1.8.1",
62
+ "@applitools/utils": "1.9.0",
63
63
  "abort-controller": "3.0.0",
64
64
  "webdriver": "7.31.1",
65
65
  "yargs": "^17.7.2"
66
66
  },
67
67
  "devDependencies": {
68
- "@applitools/test-server": "^1.2.2",
68
+ "@applitools/test-server": "^1.2.3",
69
69
  "@applitools/test-utils": "^1.5.17",
70
70
  "@types/node": "^12.20.55",
71
71
  "@types/node-fetch": "^2.6.1",