@applitools/core 4.12.0 → 4.12.2

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,66 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.12.2](https://github.com/Applitools-Dev/sdk/compare/js/core@4.12.1...js/core@4.12.2) (2024-04-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/utils bumped to 1.7.1
14
+ #### Bug Fixes
15
+
16
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
17
+ * @applitools/socket bumped to 1.1.15
18
+
19
+ * @applitools/tunnel-client bumped to 1.5.1
20
+ #### Bug Fixes
21
+
22
+ * create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
23
+
24
+
25
+
26
+ * @applitools/ec-client bumped to 1.8.1
27
+ #### Bug Fixes
28
+
29
+ * change tunnel idle timeout to 20 seconds ([#2318](https://github.com/Applitools-Dev/sdk/issues/2318)) ([9b3873c](https://github.com/Applitools-Dev/sdk/commit/9b3873c180a130a01212d857b084efe51d6d30a4))
30
+ * create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
31
+
32
+
33
+
34
+ * @applitools/logger bumped to 2.0.15
35
+
36
+ * @applitools/req bumped to 1.6.6
37
+
38
+ * @applitools/image bumped to 1.1.10
39
+
40
+ * @applitools/spec-driver-webdriver bumped to 1.1.4
41
+
42
+ * @applitools/spec-driver-selenium bumped to 1.5.75
43
+
44
+ * @applitools/spec-driver-puppeteer bumped to 1.4.4
45
+
46
+ * @applitools/driver bumped to 1.16.6
47
+
48
+ * @applitools/screenshoter bumped to 3.8.28
49
+
50
+ * @applitools/nml-client bumped to 1.8.1
51
+
52
+ * @applitools/ufg-client bumped to 1.11.1
53
+
54
+ * @applitools/core-base bumped to 1.11.1
55
+
56
+
57
+ ## [4.12.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.12.0...js/core@4.12.1) (2024-04-11)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * fixed environment props in autonomous ([#2314](https://github.com/Applitools-Dev/sdk/issues/2314)) ([adfcf5b](https://github.com/Applitools-Dev/sdk/commit/adfcf5b178e92da34bea0dd87e1b736df9ae0a2b))
63
+
3
64
  ## [4.12.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.11.2...js/core@4.12.0) (2024-04-10)
4
65
 
5
66
 
@@ -46,7 +46,13 @@ function makeStartRenders({ core, logger: defaultLogger }) {
46
46
  }),
47
47
  logger,
48
48
  }),
49
- ...targets.map(target => ufgClient.getActualEnvironment({ settings: { environment: target.environment }, logger })),
49
+ ...targets.map(async (target) => {
50
+ const environment = await ufgClient.getActualEnvironment({
51
+ settings: { environment: target.environment },
52
+ logger,
53
+ });
54
+ return { ...environment, properties: target.environment.properties };
55
+ }),
50
56
  ]);
51
57
  return renders.map((render, index) => ({
52
58
  render,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.12.0",
3
+ "version": "4.12.2",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -74,20 +74,20 @@
74
74
  }
75
75
  },
76
76
  "dependencies": {
77
- "@applitools/core-base": "1.11.0",
77
+ "@applitools/core-base": "1.11.1",
78
78
  "@applitools/dom-capture": "11.2.6",
79
79
  "@applitools/dom-snapshot": "4.10.0",
80
- "@applitools/driver": "1.16.5",
81
- "@applitools/ec-client": "1.8.0",
82
- "@applitools/logger": "2.0.14",
83
- "@applitools/nml-client": "1.8.0",
84
- "@applitools/req": "1.6.5",
85
- "@applitools/screenshoter": "3.8.27",
80
+ "@applitools/driver": "1.16.6",
81
+ "@applitools/ec-client": "1.8.1",
82
+ "@applitools/logger": "2.0.15",
83
+ "@applitools/nml-client": "1.8.1",
84
+ "@applitools/req": "1.6.6",
85
+ "@applitools/screenshoter": "3.8.28",
86
86
  "@applitools/snippets": "2.4.25",
87
- "@applitools/socket": "1.1.14",
88
- "@applitools/spec-driver-webdriver": "1.1.3",
89
- "@applitools/ufg-client": "1.11.0",
90
- "@applitools/utils": "1.7.0",
87
+ "@applitools/socket": "1.1.15",
88
+ "@applitools/spec-driver-webdriver": "1.1.4",
89
+ "@applitools/ufg-client": "1.11.1",
90
+ "@applitools/utils": "1.7.1",
91
91
  "@types/ws": "8.5.5",
92
92
  "abort-controller": "3.0.0",
93
93
  "chalk": "4.1.2",
@@ -100,11 +100,11 @@
100
100
  "devDependencies": {
101
101
  "@applitools/bongo": "^5.10.0",
102
102
  "@applitools/sea": "^1.0.0",
103
- "@applitools/spec-driver-puppeteer": "^1.4.3",
104
- "@applitools/spec-driver-selenium": "^1.5.74",
103
+ "@applitools/spec-driver-puppeteer": "^1.4.4",
104
+ "@applitools/spec-driver-selenium": "^1.5.75",
105
105
  "@applitools/test-server": "^1.2.2",
106
106
  "@applitools/test-utils": "^1.5.17",
107
- "@applitools/tunnel-client": "^1.5.0",
107
+ "@applitools/tunnel-client": "^1.5.1",
108
108
  "@types/node": "^12.20.55",
109
109
  "@types/selenium-webdriver": "^4.1.2",
110
110
  "@types/semver": "^7.5.4",
@@ -2,7 +2,7 @@ import type { Eyes as BaseEyes, ImageTarget as BaseImageTarget, OpenSettings as
2
2
  import type * as UFGCore from '../ufg/types';
3
3
  import { type Logger } from '@applitools/logger';
4
4
  import { type SpecType } from '@applitools/driver';
5
- import { type Environment as UFGEnvironment, type ActualEnvironment as UFGActualEnvironment, type RenderTarget as UFGRenderTarget, type StartedRender as UFGStartedRender } from '@applitools/ufg-client';
5
+ import { type RenderTarget as UFGRenderTarget, type StartedRender as UFGStartedRender } from '@applitools/ufg-client';
6
6
  export * from '../ufg/types';
7
7
  export interface AutonomousCore<TSpec extends SpecType> {
8
8
  readonly type: 'autonomous';
@@ -37,13 +37,13 @@ export type SnapshotSettings<TSpec extends SpecType> = UFGCore.SnapshotSettings<
37
37
  export type RenderTarget = {
38
38
  target: UFGRenderTarget;
39
39
  settings: UFGCore.SafeCheckSettings;
40
- environment: UFGEnvironment;
40
+ environment: UFGCore.RenderEnvironment;
41
41
  account: UFGCore.Account;
42
42
  };
43
43
  export type StartedRender = {
44
44
  render: UFGStartedRender;
45
45
  settings: UFGCore.SafeCheckSettings;
46
- environment: UFGActualEnvironment;
46
+ environment: UFGCore.ExactEnvironment;
47
47
  account: UFGCore.Account;
48
48
  };
49
49
  export type RenderResult = {
@@ -51,7 +51,7 @@ export type RenderResult = {
51
51
  error: string;
52
52
  target: BaseImageTarget;
53
53
  settings: BaseCheckSettings;
54
- environment: UFGActualEnvironment;
54
+ environment: UFGCore.ExactEnvironment;
55
55
  account: UFGCore.Account;
56
56
  };
57
57
  export type OpenSettings = BaseOpenSettings;