screenshotone-api-sdk
Advanced tools
Comparing version 1.1.16 to 1.1.17
@@ -152,2 +152,6 @@ import APIError from "./errors"; | ||
/** | ||
* Sets the algorithm to use for full page screenshot—"by_sections" or ""/"default". | ||
*/ | ||
fullPageAlgorithm(algorithm: string): TakeOptions; | ||
/** | ||
* Sets response format, one of: "png", "jpeg", "webp", "jpg", "gif", "jp2", "tiff", "avif", "heif", "pdf", "html". | ||
@@ -154,0 +158,0 @@ */ |
@@ -305,2 +305,9 @@ "use strict"; | ||
/** | ||
* Sets the algorithm to use for full page screenshot—"by_sections" or ""/"default". | ||
*/ | ||
fullPageAlgorithm(algorithm) { | ||
this.put("full_page_algorithm", algorithm); | ||
return this; | ||
} | ||
/** | ||
* Sets response format, one of: "png", "jpeg", "webp", "jpg", "gif", "jp2", "tiff", "avif", "heif", "pdf", "html". | ||
@@ -307,0 +314,0 @@ */ |
{ | ||
"name": "screenshotone-api-sdk", | ||
"homepage": "https://screenshotone.com", | ||
"version": "1.1.16", | ||
"version": "1.1.17", | ||
"description": "Use ScreenshotOne.com API to generate screenshots of any website.", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -387,2 +387,11 @@ import Big from "big.js"; | ||
/** | ||
* Sets the algorithm to use for full page screenshot—"by_sections" or ""/"default". | ||
*/ | ||
fullPageAlgorithm(algorithm: string): TakeOptions { | ||
this.put("full_page_algorithm", algorithm); | ||
return this; | ||
} | ||
/** | ||
* Sets response format, one of: "png", "jpeg", "webp", "jpg", "gif", "jp2", "tiff", "avif", "heif", "pdf", "html". | ||
@@ -389,0 +398,0 @@ */ |
138548
3881