@applitools/spec-driver-puppeteer 1.2.1 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-puppeteer@1.2.2...js/spec-driver-puppeteer@1.2.3) (2023-09-29)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/driver bumped to 1.14.3
9
+ #### Bug Fixes
10
+
11
+ * 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))
12
+
13
+ ## [1.2.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-puppeteer@1.2.1...js/spec-driver-puppeteer@1.2.2) (2023-09-25)
14
+
15
+
16
+ ### Code Refactoring
17
+
18
+ * 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))
19
+
20
+
21
+ ### Dependencies
22
+
23
+ * @applitools/utils bumped to 1.6.1
24
+ #### Bug Fixes
25
+
26
+ * 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))
27
+
28
+
29
+ #### Code Refactoring
30
+
31
+ * 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))
32
+ * @applitools/logger bumped to 2.0.11
33
+ #### Bug Fixes
34
+
35
+ * 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))
36
+
37
+
38
+
39
+ * @applitools/driver bumped to 1.14.2
40
+ #### Code Refactoring
41
+
42
+ * 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))
43
+
44
+
45
+
46
+
3
47
  ## [1.2.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-puppeteer@1.2.0...js/spec-driver-puppeteer@1.2.1) (2023-09-21)
4
48
 
5
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/spec-driver-puppeteer",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "keywords": [
5
5
  "puppeteer",
6
6
  "chrome devtools protocol",
@@ -40,8 +40,8 @@
40
40
  "up:framework": "yarn add --dev --caret puppeteer${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}"
41
41
  },
42
42
  "dependencies": {
43
- "@applitools/driver": "1.14.1",
44
- "@applitools/utils": "1.6.0"
43
+ "@applitools/driver": "1.14.3",
44
+ "@applitools/utils": "1.6.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -24,7 +24,7 @@ export function getCookies(page: Driver): Promise<Array<import('@applitools/driv
24
24
  export function getTitle(page: Driver): Promise<string>;
25
25
  export function getUrl(page: Driver): Promise<string>;
26
26
  export function visit(page: Driver, url: string): Promise<void>;
27
- export function takeScreenshot(page: Driver): Promise<Buffer>;
27
+ export function takeScreenshot(page: Driver): Promise<Uint8Array>;
28
28
  export function build(env: any): Promise<[Driver, () => Promise<void>]>;
29
29
  export type Driver = import('puppeteer').Page & { __applitoolsBrand?: undefined; };
30
30
  export type Context = import('puppeteer').Frame & { __applitoolsBrand?: undefined; };