@applitools/eyes 1.33.1 → 1.33.3

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.
Files changed (142) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +3 -3
  3. package/dist/BatchClose.js +0 -84
  4. package/dist/Eyes.js +0 -750
  5. package/dist/Logger.js +0 -122
  6. package/dist/Runners.js +0 -130
  7. package/dist/SDK.js +0 -45
  8. package/dist/SessionEventHandlers.js +0 -193
  9. package/dist/cli/cli.js +0 -56
  10. package/dist/cli/load-config.js +0 -73
  11. package/dist/enums/AccessibilityGuidelinesVersion.js +0 -9
  12. package/dist/enums/AccessibilityLevel.js +0 -9
  13. package/dist/enums/AccessibilityRegionType.js +0 -12
  14. package/dist/enums/AccessibilityStatus.js +0 -9
  15. package/dist/enums/BrowserType.js +0 -23
  16. package/dist/enums/CorsIframeHandle.js +0 -10
  17. package/dist/enums/DeviceName.js +0 -105
  18. package/dist/enums/DynamicTextType.js +0 -13
  19. package/dist/enums/FailureReport.js +0 -8
  20. package/dist/enums/IosDeviceName.js +0 -47
  21. package/dist/enums/IosMultiDeviceTarget.js +0 -30
  22. package/dist/enums/IosVersion.js +0 -10
  23. package/dist/enums/MatchLevel.js +0 -15
  24. package/dist/enums/ScreenOrientation.js +0 -8
  25. package/dist/enums/SessionType.js +0 -8
  26. package/dist/enums/StitchMode.js +0 -11
  27. package/dist/enums/TestResultsStatus.js +0 -9
  28. package/dist/errors/DiffsFoundError.js +0 -38
  29. package/dist/errors/EyesError.js +0 -6
  30. package/dist/errors/NewTestError.js +0 -38
  31. package/dist/errors/TestFailedError.js +0 -47
  32. package/dist/index.js +0 -128
  33. package/dist/input/AUTProxySettings.js +0 -2
  34. package/dist/input/AccessibilityMatchSettings.js +0 -109
  35. package/dist/input/AccessibilitySettings.js +0 -2
  36. package/dist/input/BatchInfo.js +0 -153
  37. package/dist/input/CheckSettings.js +0 -663
  38. package/dist/input/Configuration.js +0 -1179
  39. package/dist/input/CutProvider.js +0 -132
  40. package/dist/input/DebugScreenshotProvider.js +0 -2
  41. package/dist/input/DensityMetrics.js +0 -2
  42. package/dist/input/ExactMatchSettings.js +0 -102
  43. package/dist/input/EyesSelector.js +0 -2
  44. package/dist/input/FloatingMatchSettings.js +0 -152
  45. package/dist/input/Image.js +0 -2
  46. package/dist/input/ImageMatchSettings.js +0 -271
  47. package/dist/input/ImageRotation.js +0 -59
  48. package/dist/input/LatestCommitInfo.js +0 -2
  49. package/dist/input/LazyLoadOptions.js +0 -2
  50. package/dist/input/Location.js +0 -74
  51. package/dist/input/LogHandler.js +0 -90
  52. package/dist/input/OCRRegion.js +0 -2
  53. package/dist/input/OCRSettings.js +0 -2
  54. package/dist/input/PropertyData.js +0 -76
  55. package/dist/input/ProxySettings.js +0 -77
  56. package/dist/input/RectangleSize.js +0 -74
  57. package/dist/input/Region.js +0 -135
  58. package/dist/input/RenderInfo.js +0 -2
  59. package/dist/input/RunnerOptions.js +0 -56
  60. package/dist/input/VisualLocatorSettings.js +0 -2
  61. package/dist/output/ApiUrls.js +0 -102
  62. package/dist/output/AppUrls.js +0 -66
  63. package/dist/output/MatchResult.js +0 -66
  64. package/dist/output/SessionUrls.js +0 -66
  65. package/dist/output/StepInfo.js +0 -118
  66. package/dist/output/TestAccessibilityStatus.js +0 -2
  67. package/dist/output/TestResultContainer.js +0 -49
  68. package/dist/output/TestResults.js +0 -378
  69. package/dist/output/TestResultsSummary.js +0 -49
  70. package/dist/output/TextRegion.js +0 -2
  71. package/dist/output/ValidationInfo.js +0 -60
  72. package/dist/output/ValidationResult.js +0 -53
  73. package/types/BatchClose.d.ts +0 -23
  74. package/types/Eyes.d.ts +0 -255
  75. package/types/Logger.d.ts +0 -30
  76. package/types/Runners.d.ts +0 -41
  77. package/types/SDK.d.ts +0 -20
  78. package/types/SessionEventHandlers.d.ts +0 -78
  79. package/types/cli/cli.d.ts +0 -2
  80. package/types/cli/load-config.d.ts +0 -1
  81. package/types/enums/AccessibilityGuidelinesVersion.d.ts +0 -5
  82. package/types/enums/AccessibilityLevel.d.ts +0 -5
  83. package/types/enums/AccessibilityRegionType.d.ts +0 -8
  84. package/types/enums/AccessibilityStatus.d.ts +0 -5
  85. package/types/enums/BrowserType.d.ts +0 -20
  86. package/types/enums/CorsIframeHandle.d.ts +0 -7
  87. package/types/enums/DeviceName.d.ts +0 -101
  88. package/types/enums/DynamicTextType.d.ts +0 -9
  89. package/types/enums/FailureReport.d.ts +0 -5
  90. package/types/enums/IosDeviceName.d.ts +0 -43
  91. package/types/enums/IosMultiDeviceTarget.d.ts +0 -26
  92. package/types/enums/IosVersion.d.ts +0 -7
  93. package/types/enums/MatchLevel.d.ts +0 -12
  94. package/types/enums/ScreenOrientation.d.ts +0 -5
  95. package/types/enums/SessionType.d.ts +0 -5
  96. package/types/enums/StitchMode.d.ts +0 -8
  97. package/types/enums/TestResultsStatus.d.ts +0 -6
  98. package/types/errors/DiffsFoundError.d.ts +0 -6
  99. package/types/errors/EyesError.d.ts +0 -2
  100. package/types/errors/NewTestError.d.ts +0 -6
  101. package/types/errors/TestFailedError.d.ts +0 -9
  102. package/types/index.d.ts +0 -60
  103. package/types/input/AUTProxySettings.d.ts +0 -5
  104. package/types/input/AccessibilityMatchSettings.d.ts +0 -34
  105. package/types/input/AccessibilitySettings.d.ts +0 -6
  106. package/types/input/BatchInfo.d.ts +0 -47
  107. package/types/input/CheckSettings.d.ts +0 -266
  108. package/types/input/Configuration.d.ts +0 -437
  109. package/types/input/CutProvider.d.ts +0 -44
  110. package/types/input/DebugScreenshotProvider.d.ts +0 -5
  111. package/types/input/DensityMetrics.d.ts +0 -5
  112. package/types/input/ExactMatchSettings.d.ts +0 -34
  113. package/types/input/EyesSelector.d.ts +0 -6
  114. package/types/input/FloatingMatchSettings.d.ts +0 -50
  115. package/types/input/Image.d.ts +0 -11
  116. package/types/input/ImageMatchSettings.d.ts +0 -95
  117. package/types/input/ImageRotation.d.ts +0 -15
  118. package/types/input/LatestCommitInfo.d.ts +0 -4
  119. package/types/input/LazyLoadOptions.d.ts +0 -5
  120. package/types/input/Location.d.ts +0 -23
  121. package/types/input/LogHandler.d.ts +0 -45
  122. package/types/input/OCRRegion.d.ts +0 -9
  123. package/types/input/OCRSettings.d.ts +0 -6
  124. package/types/input/PropertyData.d.ts +0 -23
  125. package/types/input/ProxySettings.d.ts +0 -25
  126. package/types/input/RectangleSize.d.ts +0 -23
  127. package/types/input/Region.d.ts +0 -46
  128. package/types/input/RenderInfo.d.ts +0 -47
  129. package/types/input/RunnerOptions.d.ts +0 -21
  130. package/types/input/VisualLocatorSettings.d.ts +0 -4
  131. package/types/output/ApiUrls.d.ts +0 -41
  132. package/types/output/AppUrls.d.ts +0 -23
  133. package/types/output/MatchResult.d.ts +0 -23
  134. package/types/output/SessionUrls.d.ts +0 -23
  135. package/types/output/StepInfo.d.ts +0 -50
  136. package/types/output/TestAccessibilityStatus.d.ts +0 -8
  137. package/types/output/TestResultContainer.d.ts +0 -31
  138. package/types/output/TestResults.d.ts +0 -186
  139. package/types/output/TestResultsSummary.d.ts +0 -18
  140. package/types/output/TextRegion.d.ts +0 -7
  141. package/types/output/ValidationInfo.d.ts +0 -21
  142. package/types/output/ValidationResult.d.ts +0 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.33.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.33.1...js/eyes@1.33.2) (2025-04-03)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/core bumped to 4.35.1
9
+ #### Bug Fixes
10
+
11
+ * dummy ([9b8ffef](https://github.com/Applitools-Dev/sdk/commit/9b8ffef6277015a9073caf50f5dc5741986fbf07))
12
+
3
13
  ## [1.33.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.33.0...js/eyes@1.33.1) (2025-03-31)
4
14
 
5
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.33.1",
3
+ "version": "1.33.3",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -46,13 +46,13 @@
46
46
  "test": "run --top-level mocha './test/**/*.spec.ts'"
47
47
  },
48
48
  "dependencies": {
49
- "@applitools/core": "4.35.0",
49
+ "@applitools/core": "4.36.0",
50
50
  "@applitools/logger": "2.1.2",
51
51
  "@applitools/utils": "1.8.0",
52
52
  "chalk": "4.1.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@applitools/req": "^1.7.9",
55
+ "@applitools/req": "^1.7.10",
56
56
  "@types/node": "^12.20.55"
57
57
  },
58
58
  "engines": {
@@ -1,84 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.BatchClose = exports.closeBatch = void 0;
27
- const SDK_1 = require("./SDK");
28
- const utils = __importStar(require("@applitools/utils"));
29
- function closeBatch(sdk) {
30
- return function closeBatch(settings) {
31
- utils.guard.notNull(settings.batchIds, { name: 'options.batchIds' });
32
- const { core } = (0, SDK_1.initSDK)(sdk);
33
- return core.closeBatch({
34
- settings: settings.batchIds.map(batchId => ({ batchId, eyesServerUrl: settings.serverUrl, ...settings })),
35
- });
36
- };
37
- }
38
- exports.closeBatch = closeBatch;
39
- class BatchClose {
40
- get _sdk() {
41
- return this.constructor._sdk;
42
- }
43
- static async close(settings) {
44
- utils.guard.notNull(settings.batchIds, { name: 'options.batchIds' });
45
- const { core } = (0, SDK_1.initSDK)(this._sdk);
46
- await core.closeBatch({
47
- settings: settings.batchIds.map(batchId => ({ batchId, eyesServerUrl: settings.serverUrl, ...settings })),
48
- });
49
- }
50
- constructor(options) {
51
- this._settings = {};
52
- const { core } = (0, SDK_1.initSDK)(this._sdk);
53
- this._core = core;
54
- if (options)
55
- this._settings = options;
56
- }
57
- async close() {
58
- utils.guard.notNull(this._settings.batchIds, { name: 'batchIds' });
59
- await this._core.closeBatch({
60
- settings: this._settings.batchIds.map(batchId => ({
61
- batchId,
62
- eyesServerUrl: this._settings.serverUrl,
63
- ...this._settings,
64
- })),
65
- });
66
- }
67
- setBatchIds(batchIds) {
68
- this._settings.batchIds = batchIds;
69
- return this;
70
- }
71
- setUrl(serverUrl) {
72
- this._settings.serverUrl = serverUrl;
73
- return this;
74
- }
75
- setApiKey(apiKey) {
76
- this._settings.apiKey = apiKey;
77
- return this;
78
- }
79
- setProxy(proxy) {
80
- this._settings.proxy = proxy;
81
- return this;
82
- }
83
- }
84
- exports.BatchClose = BatchClose;