screenshotone-api-sdk
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -285,2 +285,6 @@ /** | ||
/** | ||
* Sets navigation timeout. | ||
*/ | ||
navigationTimeout(timeout: number): TakeOptions; | ||
/** | ||
* Default value is false. Use store=true to trigger upload of the taken screenshot, | ||
@@ -511,2 +515,6 @@ * rendered HTML or PDF to the configured S3 bucket. | ||
/** | ||
* Sets navigation timeout. | ||
*/ | ||
navigationTimeout(timeout: number): AnimateOptions; | ||
/** | ||
* Default value is false. Use store=true to trigger upload of the taken screenshot, | ||
@@ -513,0 +521,0 @@ * rendered HTML or PDF to the configured S3 bucket. |
@@ -554,2 +554,9 @@ "use strict"; | ||
/** | ||
* Sets navigation timeout. | ||
*/ | ||
navigationTimeout(timeout) { | ||
this.put("navigation_timeout", timeout.toString()); | ||
return this; | ||
} | ||
/** | ||
* Default value is false. Use store=true to trigger upload of the taken screenshot, | ||
@@ -936,2 +943,9 @@ * rendered HTML or PDF to the configured S3 bucket. | ||
/** | ||
* Sets navigation timeout. | ||
*/ | ||
navigationTimeout(timeout) { | ||
this.put("navigation_timeout", timeout.toString()); | ||
return this; | ||
} | ||
/** | ||
* Default value is false. Use store=true to trigger upload of the taken screenshot, | ||
@@ -938,0 +952,0 @@ * rendered HTML or PDF to the configured S3 bucket. |
{ | ||
"name": "screenshotone-api-sdk", | ||
"homepage": "https://screenshotone.com", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "Use ScreenshotOne.com API to generate screenshots of any website.", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -101,3 +101,3 @@ import * as crypto from 'crypto'; | ||
throw new Error(`failed to take screenshot, response returned ${response.status} ${response.statusText}`); | ||
} | ||
} | ||
} | ||
@@ -124,3 +124,3 @@ | ||
throw new Error(`failed to generate animation, response returned ${response.status} ${response.statusText}`); | ||
} | ||
} | ||
} | ||
@@ -657,2 +657,11 @@ | ||
/** | ||
* Sets navigation timeout. | ||
*/ | ||
navigationTimeout(timeout: number): TakeOptions { | ||
this.put("navigation_timeout", timeout.toString()); | ||
return this; | ||
} | ||
/** | ||
* Default value is false. Use store=true to trigger upload of the taken screenshot, | ||
@@ -1134,2 +1143,11 @@ * rendered HTML or PDF to the configured S3 bucket. | ||
/** | ||
* Sets navigation timeout. | ||
*/ | ||
navigationTimeout(timeout: number): AnimateOptions { | ||
this.put("navigation_timeout", timeout.toString()); | ||
return this; | ||
} | ||
/** | ||
* Default value is false. Use store=true to trigger upload of the taken screenshot, | ||
@@ -1136,0 +1154,0 @@ * rendered HTML or PDF to the configured S3 bucket. |
95134
2603