screenshotone-api-sdk 1.0.36 → 1.0.37

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "cmake.configureOnOpen": false
3
+ }
@@ -148,6 +148,10 @@ export declare class TakeOptions {
148
148
  * Sets response format, one of: "png", "jpeg", "webp" or "jpg".
149
149
  */
150
150
  format(format: string): TakeOptions;
151
+ /**
152
+ * Sets IP country code.
153
+ */
154
+ ipCountryCode(format: string): TakeOptions;
151
155
  /**
152
156
  * Renders image with the specified quality. Available for the next formats: "jpeg" ("jpg"), "webp".
153
157
  */
package/dist/main.js CHANGED
@@ -327,6 +327,13 @@ class TakeOptions {
327
327
  this.put("format", format);
328
328
  return this;
329
329
  }
330
+ /**
331
+ * Sets IP country code.
332
+ */
333
+ ipCountryCode(format) {
334
+ this.put("ip_country_code", format);
335
+ return this;
336
+ }
330
337
  /**
331
338
  * Renders image with the specified quality. Available for the next formats: "jpeg" ("jpg"), "webp".
332
339
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "screenshotone-api-sdk",
3
3
  "homepage": "https://screenshotone.com",
4
- "version": "1.0.36",
4
+ "version": "1.0.37",
5
5
  "description": "Use ScreenshotOne.com API to generate screenshots of any website.",
6
6
  "repository": {
7
7
  "type": "git",
package/src/main.ts CHANGED
@@ -368,6 +368,15 @@ export class TakeOptions {
368
368
  return this;
369
369
  }
370
370
 
371
+ /**
372
+ * Sets IP country code.
373
+ */
374
+ ipCountryCode(format: string): TakeOptions {
375
+ this.put("ip_country_code", format);
376
+
377
+ return this;
378
+ }
379
+
371
380
  /**
372
381
  * Renders image with the specified quality. Available for the next formats: "jpeg" ("jpg"), "webp".
373
382
  */