@applitools/eyes-images 4.23.27 → 4.23.32
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 +191 -0
- package/package.json +2 -2
- package/types/index.d.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,196 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.23.32](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.31...js/eyes-images@4.23.32) (2023-09-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* bump ([a4649ed](https://github.com/applitools/eyes.sdk.javascript1/commit/a4649ede687b039c362c6d60282ce8690c581f5f))
|
|
9
|
+
|
|
10
|
+
## [4.23.31](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images-v4.23.30...js/eyes-images@4.23.31) (2023-09-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Code Refactoring
|
|
14
|
+
|
|
15
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Dependencies
|
|
19
|
+
|
|
20
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.47
|
|
21
|
+
|
|
22
|
+
* @applitools/spec-driver-selenium bumped to 1.5.61
|
|
23
|
+
|
|
24
|
+
* @applitools/spec-driver-puppeteer bumped to 1.2.3
|
|
25
|
+
|
|
26
|
+
* @applitools/driver bumped to 1.14.3
|
|
27
|
+
#### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* force native on get environment ([#1939](https://github.com/applitools/eyes.sdk.javascript1/issues/1939)) ([f42854e](https://github.com/applitools/eyes.sdk.javascript1/commit/f42854eacc769751447204143cb4d50113edc732))
|
|
30
|
+
* @applitools/screenshoter bumped to 3.8.13
|
|
31
|
+
#### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* force native on get environment ([#1939](https://github.com/applitools/eyes.sdk.javascript1/issues/1939)) ([f42854e](https://github.com/applitools/eyes.sdk.javascript1/commit/f42854eacc769751447204143cb4d50113edc732))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
* @applitools/nml-client bumped to 1.5.13
|
|
38
|
+
|
|
39
|
+
* @applitools/ec-client bumped to 1.7.12
|
|
40
|
+
#### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* change expiration time of the tunnel ([c019241](https://github.com/applitools/eyes.sdk.javascript1/commit/c0192411410135b23f3ae47dd62fbef67be66f1a))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
#### Code Refactoring
|
|
46
|
+
|
|
47
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
48
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
* @applitools/core-base bumped to 1.7.1
|
|
53
|
+
#### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* send domMapping payload with correct content encoding ([2bc8e39](https://github.com/applitools/eyes.sdk.javascript1/commit/2bc8e390de1d147d84d1de24df337b8652547b6a))
|
|
56
|
+
* @applitools/core bumped to 3.11.5
|
|
57
|
+
|
|
58
|
+
* @applitools/eyes bumped to 1.10.0
|
|
59
|
+
#### Features
|
|
60
|
+
|
|
61
|
+
* added more iOS devices ([a84311f](https://github.com/applitools/eyes.sdk.javascript1/commit/a84311f88e6f532268543a96f841ae5ad87d5659))
|
|
62
|
+
* rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
#### Code Refactoring
|
|
66
|
+
|
|
67
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## [4.23.29](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images-v4.23.28...js/eyes-images@4.23.29) (2023-09-25)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Code Refactoring
|
|
76
|
+
|
|
77
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Dependencies
|
|
81
|
+
|
|
82
|
+
* @applitools/utils bumped to 1.6.1
|
|
83
|
+
#### Bug Fixes
|
|
84
|
+
|
|
85
|
+
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
#### Code Refactoring
|
|
89
|
+
|
|
90
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
91
|
+
* @applitools/logger bumped to 2.0.11
|
|
92
|
+
#### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
* @applitools/socket bumped to 1.1.11
|
|
99
|
+
#### Code Refactoring
|
|
100
|
+
|
|
101
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
* @applitools/req bumped to 1.6.1
|
|
106
|
+
#### Bug Fixes
|
|
107
|
+
|
|
108
|
+
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
* @applitools/image bumped to 1.1.6
|
|
113
|
+
#### Code Refactoring
|
|
114
|
+
|
|
115
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
* @applitools/spec-driver-puppeteer bumped to 1.2.2
|
|
120
|
+
#### Code Refactoring
|
|
121
|
+
|
|
122
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
* @applitools/ufg-client bumped to 1.9.2
|
|
127
|
+
#### Code Refactoring
|
|
128
|
+
|
|
129
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
* @applitools/core bumped to 3.11.2
|
|
134
|
+
#### Reverts
|
|
135
|
+
|
|
136
|
+
* perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
#### Code Refactoring
|
|
140
|
+
|
|
141
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.46
|
|
146
|
+
|
|
147
|
+
* @applitools/spec-driver-selenium bumped to 1.5.60
|
|
148
|
+
|
|
149
|
+
* @applitools/driver bumped to 1.14.2
|
|
150
|
+
#### Code Refactoring
|
|
151
|
+
|
|
152
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
* @applitools/screenshoter bumped to 3.8.12
|
|
157
|
+
|
|
158
|
+
* @applitools/nml-client bumped to 1.5.12
|
|
159
|
+
#### Code Refactoring
|
|
160
|
+
|
|
161
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
* @applitools/tunnel-client bumped to 1.2.3
|
|
166
|
+
#### Code Refactoring
|
|
167
|
+
|
|
168
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
* @applitools/ec-client bumped to 1.7.10
|
|
173
|
+
#### Code Refactoring
|
|
174
|
+
|
|
175
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
* @applitools/core-base bumped to 1.6.1
|
|
180
|
+
#### Reverts
|
|
181
|
+
|
|
182
|
+
* perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
#### Code Refactoring
|
|
186
|
+
|
|
187
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
* @applitools/eyes bumped to 1.9.1
|
|
192
|
+
|
|
193
|
+
|
|
3
194
|
## [4.23.27](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.26...js/eyes-images@4.23.27) (2023-09-12)
|
|
4
195
|
|
|
5
196
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.32",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"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}"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/eyes": "1.
|
|
43
|
+
"@applitools/eyes": "1.10.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export class Eyes {
|
|
|
61
61
|
checkImage(image: Buffer, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
62
62
|
checkImage(image: URL, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
63
63
|
locate<TLocator extends string>(target: {
|
|
64
|
-
image: string |
|
|
64
|
+
image: string | URL | Uint8Array;
|
|
65
65
|
size?: undefined | { width: number; height: number; };
|
|
66
66
|
name?: undefined | string;
|
|
67
67
|
source?: undefined | string;
|
|
@@ -72,7 +72,7 @@ export class Eyes {
|
|
|
72
72
|
}, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
73
73
|
locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
74
74
|
extractTextRegions<TPattern extends string>(target: {
|
|
75
|
-
image: string |
|
|
75
|
+
image: string | URL | Uint8Array;
|
|
76
76
|
size?: undefined | { width: number; height: number; };
|
|
77
77
|
name?: undefined | string;
|
|
78
78
|
source?: undefined | string;
|
|
@@ -81,10 +81,10 @@ export class Eyes {
|
|
|
81
81
|
locationInView?: undefined | { x: number; y: number; };
|
|
82
82
|
fullViewSize?: undefined | { width: number; height: number; };
|
|
83
83
|
}, settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
84
|
-
extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string |
|
|
84
|
+
extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | URL | Uint8Array; }): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
85
85
|
extractTextRegions<TPattern extends string>(settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
86
86
|
extractText(target: {
|
|
87
|
-
image: string |
|
|
87
|
+
image: string | URL | Uint8Array;
|
|
88
88
|
size?: undefined | { width: number; height: number; };
|
|
89
89
|
name?: undefined | string;
|
|
90
90
|
source?: undefined | string;
|
|
@@ -93,7 +93,7 @@ export class Eyes {
|
|
|
93
93
|
locationInView?: undefined | { x: number; y: number; };
|
|
94
94
|
fullViewSize?: undefined | { width: number; height: number; };
|
|
95
95
|
}, settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
96
|
-
extractText(settingsWithImage: Array<OCRRegion & { image: string |
|
|
96
|
+
extractText(settingsWithImage: Array<OCRRegion & { image: string | URL | Uint8Array; }>): Promise<Array<string>>;
|
|
97
97
|
extractText(settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
98
98
|
close(throwErr?: undefined | boolean): Promise<TestResults>;
|
|
99
99
|
closeAsync(): Promise<void>;
|