@applitools/core 3.10.4 → 3.11.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,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.11.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@3.10.4...js/core@3.11.0) (2023-09-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * change cache to support distributed cache ([#1913](https://github.com/applitools/eyes.sdk.javascript1/issues/1913)) ([32cc257](https://github.com/applitools/eyes.sdk.javascript1/commit/32cc2574500ac512167f4199c456d8b0349954f7))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * upgrade dom-capture to get font-family in DOM ([f62cee4](https://github.com/applitools/eyes.sdk.javascript1/commit/f62cee495ba3b301dda04160e4e13c7e380ef40b))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/ufg-client bumped to 1.9.0
19
+ #### Features
20
+
21
+ * change cache to support distributed cache ([#1913](https://github.com/applitools/eyes.sdk.javascript1/issues/1913)) ([32cc257](https://github.com/applitools/eyes.sdk.javascript1/commit/32cc2574500ac512167f4199c456d8b0349954f7))
22
+
3
23
  ## [3.10.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/core@3.10.3...js/core@3.10.4) (2023-09-12)
4
24
 
5
25
 
@@ -54,6 +54,7 @@ function makeCheckAndClose({ eyes, target: defaultTarget, renderers: defaultRend
54
54
  ...eyes.test.ufgServer,
55
55
  eyesServerUrl: eyes.test.eyesServer.eyesServerUrl,
56
56
  apiKey: eyes.test.eyesServer.apiKey,
57
+ asyncCache: settings.asyncCache,
57
58
  },
58
59
  logger,
59
60
  });
package/dist/ufg/check.js CHANGED
@@ -54,6 +54,7 @@ function makeCheck({ eyes, target: defaultTarget, renderers: defaultRenderers =
54
54
  ...eyes.test.ufgServer,
55
55
  eyesServerUrl: eyes.test.eyesServer.eyesServerUrl,
56
56
  apiKey: eyes.test.eyesServer.apiKey,
57
+ asyncCache: settings.asyncCache,
57
58
  },
58
59
  logger,
59
60
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "3.10.4",
3
+ "version": "3.11.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@applitools/core-base": "1.6.0",
69
- "@applitools/dom-capture": "11.2.2",
69
+ "@applitools/dom-capture": "11.2.3",
70
70
  "@applitools/dom-snapshot": "4.7.11",
71
71
  "@applitools/driver": "1.14.0",
72
72
  "@applitools/ec-client": "1.7.8",
@@ -77,7 +77,7 @@
77
77
  "@applitools/snippets": "2.4.23",
78
78
  "@applitools/socket": "1.1.10",
79
79
  "@applitools/spec-driver-webdriver": "1.0.44",
80
- "@applitools/ufg-client": "1.8.0",
80
+ "@applitools/ufg-client": "1.9.0",
81
81
  "@applitools/utils": "1.6.0",
82
82
  "@types/ws": "8.5.5",
83
83
  "abort-controller": "3.0.0",
@@ -24,6 +24,7 @@ export declare function makeCheckAndClose<TSpec extends SpecType>({ eyes, target
24
24
  breakpoints: boolean | number[];
25
25
  reload?: boolean | undefined;
26
26
  } | undefined;
27
+ asyncCache?: import("@applitools/ufg-client").AsyncCache | undefined;
27
28
  ufgOptions?: Record<string, any> | undefined;
28
29
  autProxy?: (import("@applitools/req").Proxy & {
29
30
  mode?: "Allow" | "Block" | undefined;
@@ -3,7 +3,7 @@ import type * as AutomationCore from '../automation/types';
3
3
  import { type Selector, type SpecType } from '@applitools/driver';
4
4
  import { type Logger } from '@applitools/logger';
5
5
  import { type Proxy } from '@applitools/req';
6
- import { type UFGClient, type UFGClientSettings, type DomSnapshot, type AndroidSnapshot, type IOSSnapshot } from '@applitools/ufg-client';
6
+ import { type UFGClient, type UFGClientSettings, type DomSnapshot, type AndroidSnapshot, type IOSSnapshot, type AsyncCache } from '@applitools/ufg-client';
7
7
  export * from '../automation/types';
8
8
  export type SnapshotTarget = MaybeArray<SnapshotResult<DomSnapshot>> | MaybeArray<AndroidSnapshot> | MaybeArray<IOSSnapshot>;
9
9
  export type Target<TSpec extends SpecType> = SnapshotTarget | AutomationCore.Target<TSpec>;
@@ -52,6 +52,7 @@ export type CheckSettings<TSpec extends SpecType> = AutomationCore.CheckSettings
52
52
  breakpoints: number[] | boolean;
53
53
  reload?: boolean;
54
54
  };
55
+ asyncCache?: AsyncCache;
55
56
  ufgOptions?: Record<string, any>;
56
57
  autProxy?: Proxy & {
57
58
  mode?: 'Allow' | 'Block';