@applitools/eyes-images 4.23.12 → 4.23.14

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,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.23.14](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.13...js/eyes-images@4.23.14) (2023-07-21)
4
+
5
+
6
+ ### Code Refactoring
7
+
8
+ * ufg client ([#1780](https://github.com/applitools/eyes.sdk.javascript1/issues/1780)) ([d60cf16](https://github.com/applitools/eyes.sdk.javascript1/commit/d60cf1616741a96b152a1548760bb98116e5c3f9))
9
+
10
+
11
+ ### Dependencies
12
+
13
+
14
+
15
+ ## [4.23.13](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.12...js/eyes-images@4.23.13) (2023-07-18)
16
+
17
+
18
+ ### Dependencies
19
+
20
+ * @applitools/req bumped from 1.4.0 to 1.5.0
21
+ #### Features
22
+
23
+ * support retries on stuck requests ([be673bb](https://github.com/applitools/eyes.sdk.javascript1/commit/be673bb505c9b21d6aea37d86e88513e95e3cb02))
24
+ * @applitools/ufg-client bumped from 1.4.1 to 1.5.0
25
+ #### Features
26
+
27
+ * support retries on stuck requests ([be673bb](https://github.com/applitools/eyes.sdk.javascript1/commit/be673bb505c9b21d6aea37d86e88513e95e3cb02))
28
+
29
+
30
+
31
+ * @applitools/eyes bumped from 1.6.1 to 1.6.2
32
+
33
+ * @applitools/core bumped from 3.6.1 to 3.6.2
34
+
35
+ * @applitools/core-base bumped from 1.4.0 to 1.4.1
36
+
37
+ * @applitools/ec-client bumped from 1.7.0 to 1.7.1
38
+
39
+ * @applitools/tunnel-client bumped from 1.1.0 to 1.1.1
40
+
41
+ * @applitools/nml-client bumped from 1.5.2 to 1.5.3
42
+
43
+
3
44
  ## [4.23.12](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.11...js/eyes-images@4.23.12) (2023-07-13)
4
45
 
5
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-images",
3
- "version": "4.23.12",
3
+ "version": "4.23.14",
4
4
  "description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
5
5
  "keywords": [
6
6
  "eyes-images",
@@ -48,11 +48,11 @@
48
48
  "test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generic/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
49
49
  },
50
50
  "dependencies": {
51
- "@applitools/eyes": "1.6.1"
51
+ "@applitools/eyes": "1.6.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@applitools/api-extractor": "^1.2.21",
55
- "@applitools/bongo": "^5.0.4",
55
+ "@applitools/bongo": "^5.1.4",
56
56
  "@applitools/sdk-coverage-tests": "^3.1.0",
57
57
  "@applitools/test-utils": "^1.5.17",
58
58
  "@types/node": "^12.20.55"
package/types/index.d.ts CHANGED
@@ -780,29 +780,6 @@ export class BatchClose {
780
780
  setProxy(proxy: ProxySettingsPlain): BatchClose;
781
781
  }
782
782
  export const closeBatch: (options: { batchIds: Array<string>; serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; }) => Promise<void>;
783
- export type AccessibilityGuidelinesVersionPlain = "WCAG_2_0" | "WCAG_2_1";
784
- export enum AccessibilityGuidelinesVersion {
785
- WCAG_2_0 = 'WCAG_2_0',
786
- WCAG_2_1 = 'WCAG_2_1'
787
- }
788
- export type AccessibilityLevelPlain = "AA" | "AAA";
789
- export enum AccessibilityLevel {
790
- AA = 'AA',
791
- AAA = 'AAA'
792
- }
793
- export type AccessibilityRegionTypePlain = "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject";
794
- export enum AccessibilityRegionType {
795
- IgnoreContrast = 'IgnoreContrast',
796
- RegularText = 'RegularText',
797
- LargeText = 'LargeText',
798
- BoldText = 'BoldText',
799
- GraphicalObject = 'GraphicalObject'
800
- }
801
- export type AccessibilityStatusPlain = "Passed" | "Failed";
802
- export enum AccessibilityStatus {
803
- Passed = 'Passed',
804
- Failed = 'Failed'
805
- }
806
783
  export type BrowserTypePlain = "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back";
807
784
  export enum BrowserType {
808
785
  CHROME = 'chrome',
@@ -1003,12 +980,35 @@ export enum StitchMode {
1003
980
  RESIZE = 'Resize',
1004
981
  Resize = 'Resize'
1005
982
  }
1006
- export type TestResultsStatusPlain = AccessibilityStatusPlain;
983
+ export type TestResultsStatusPlain = "Passed" | "Unresolved" | "Failed";
1007
984
  export enum TestResultsStatus {
1008
985
  Passed = 'Passed',
1009
986
  Unresolved = 'Unresolved',
1010
987
  Failed = 'Failed'
1011
988
  }
989
+ export type AccessibilityGuidelinesVersionPlain = "WCAG_2_0" | "WCAG_2_1";
990
+ export enum AccessibilityGuidelinesVersion {
991
+ WCAG_2_0 = 'WCAG_2_0',
992
+ WCAG_2_1 = 'WCAG_2_1'
993
+ }
994
+ export type AccessibilityLevelPlain = "AA" | "AAA";
995
+ export enum AccessibilityLevel {
996
+ AA = 'AA',
997
+ AAA = 'AAA'
998
+ }
999
+ export type AccessibilityRegionTypePlain = "IgnoreContrast" | "RegularText" | "LargeText" | "BoldText" | "GraphicalObject";
1000
+ export enum AccessibilityRegionType {
1001
+ IgnoreContrast = 'IgnoreContrast',
1002
+ RegularText = 'RegularText',
1003
+ LargeText = 'LargeText',
1004
+ BoldText = 'BoldText',
1005
+ GraphicalObject = 'GraphicalObject'
1006
+ }
1007
+ export type AccessibilityStatusPlain = "Passed" | "Failed";
1008
+ export enum AccessibilityStatus {
1009
+ Passed = 'Passed',
1010
+ Failed = 'Failed'
1011
+ }
1012
1012
  export class EyesError extends Error {
1013
1013
  }
1014
1014
  export class TestFailedError extends EyesError {
@@ -1538,7 +1538,7 @@ export type TestResultsPlain = {
1538
1538
  readonly id?: undefined | string;
1539
1539
  readonly name?: undefined | string;
1540
1540
  readonly secretToken?: undefined | string;
1541
- readonly status?: undefined | AccessibilityStatusPlain;
1541
+ readonly status?: undefined | TestResultsStatusPlain;
1542
1542
  readonly appName?: undefined | string;
1543
1543
  readonly batchId?: undefined | string;
1544
1544
  readonly batchName?: undefined | string;
@@ -1565,7 +1565,7 @@ export type TestResultsPlain = {
1565
1565
  readonly layoutMatches?: undefined | number;
1566
1566
  readonly noneMatches?: undefined | number;
1567
1567
  readonly url?: undefined | string;
1568
- readonly server?: undefined | { serverUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; };
1568
+ readonly server?: undefined | { eyesServerUrl: string; apiKey: string; proxy?: undefined | ProxySettingsPlain; };
1569
1569
  readonly keepIfDuplicate?: undefined | boolean;
1570
1570
  };
1571
1571
  export class TestResults implements Required<TestResultsPlain> {
@@ -1661,7 +1661,7 @@ export class TestResults implements Required<TestResultsPlain> {
1661
1661
  getUrl(): string;
1662
1662
  setUrl(_url: string): void;
1663
1663
  get server(): {
1664
- serverUrl: string;
1664
+ eyesServerUrl: string;
1665
1665
  apiKey: string;
1666
1666
  agentId?: undefined | string;
1667
1667
  proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; };