@applitools/eyes-images 4.23.23 → 4.23.24

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,68 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.23.24](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.23...js/eyes-images@4.23.24) (2023-09-04)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped to 1.6.0
9
+ #### Features
10
+
11
+ * add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
12
+ * @applitools/logger bumped to 2.0.10
13
+
14
+ * @applitools/socket bumped to 1.1.10
15
+
16
+ * @applitools/req bumped to 1.6.0
17
+ #### Features
18
+
19
+ * add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
20
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
21
+
22
+
23
+
24
+ * @applitools/image bumped to 1.1.5
25
+
26
+ * @applitools/spec-driver-webdriver bumped to 1.0.44
27
+
28
+ * @applitools/spec-driver-selenium bumped to 1.5.58
29
+
30
+ * @applitools/spec-driver-puppeteer bumped to 1.2.0
31
+ #### Features
32
+
33
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
34
+
35
+
36
+
37
+ * @applitools/driver bumped to 1.14.0
38
+ #### Features
39
+
40
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
41
+
42
+
43
+
44
+ * @applitools/screenshoter bumped to 3.8.10
45
+
46
+ * @applitools/nml-client bumped to 1.5.10
47
+
48
+ * @applitools/tunnel-client bumped to 1.2.2
49
+
50
+ * @applitools/ufg-client bumped to 1.8.0
51
+ #### Features
52
+
53
+ * add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
54
+
55
+
56
+
57
+ * @applitools/ec-client bumped to 1.7.7
58
+
59
+ * @applitools/core-base bumped to 1.5.3
60
+
61
+ * @applitools/core bumped to 3.10.1
62
+
63
+ * @applitools/eyes bumped to 1.8.1
64
+
65
+
3
66
  ## [4.23.23](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.22...js/eyes-images@4.23.23) (2023-08-30)
4
67
 
5
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-images",
3
- "version": "4.23.23",
3
+ "version": "4.23.24",
4
4
  "description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
5
5
  "keywords": [
6
6
  "eyes-images",
@@ -48,10 +48,10 @@
48
48
  "test:coverage": "APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
49
49
  },
50
50
  "dependencies": {
51
- "@applitools/eyes": "1.8.0"
51
+ "@applitools/eyes": "1.8.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@applitools/api-extractor": "^1.2.21",
54
+ "@applitools/api-extractor": "^1.2.22",
55
55
  "@applitools/bongo": "^5.6.1",
56
56
  "@applitools/generic": "^3.3.10",
57
57
  "@applitools/test-utils": "^1.5.17",
package/types/index.d.ts CHANGED
@@ -1170,6 +1170,16 @@ export type TargetImage = {
1170
1170
  url(imageUrl: string): CheckSettingsImage;
1171
1171
  url(imageUrl: URL): CheckSettingsImage;
1172
1172
  };
1173
+ export const TargetImage: {
1174
+ image(image: string): CheckSettingsImage;
1175
+ image(image: Buffer): CheckSettingsImage;
1176
+ image(image: URL): CheckSettingsImage;
1177
+ buffer(imageBuffer: Buffer): CheckSettingsImage;
1178
+ base64(imageBase64: string): CheckSettingsImage;
1179
+ path(imagePath: string): CheckSettingsImage;
1180
+ url(imageUrl: string): CheckSettingsImage;
1181
+ url(imageUrl: URL): CheckSettingsImage;
1182
+ };
1173
1183
  export type CutProviderPlain = { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
1174
1184
  export class CutProvider implements Required<{
1175
1185
  x: number;