New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

screenshotone-api-sdk

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screenshotone-api-sdk - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

11

dist/@types/main.d.ts

@@ -31,6 +31,13 @@ /**

/**
* Selector is a CSS-like selector of the element to take a screenshot of.
*/
* Selector is a CSS-like selector of the element to take a screenshot of.
*/
selector(selector: string): this;
/**
* Available response types:
* by_format — return exactly the response defined in the format option. If format=png, the response will be the binary representation of the png with the content type header image/png;
* empty — return only status or error. It is suitable when you want to upload the screenshot to storage and don’t care about the results. It also speeds up the response since there are no networking costs involved.
* The default value is by_format.
*/
responseType(responseType: string): this;
/**
* It determines the behavior of what to do when selector is not found.

@@ -37,0 +44,0 @@ */

@@ -103,4 +103,4 @@ "use strict";

/**
* Selector is a CSS-like selector of the element to take a screenshot of.
*/
* Selector is a CSS-like selector of the element to take a screenshot of.
*/
selector(selector) {

@@ -111,2 +111,12 @@ this.put("selector", selector);

/**
* Available response types:
* by_format — return exactly the response defined in the format option. If format=png, the response will be the binary representation of the png with the content type header image/png;
* empty — return only status or error. It is suitable when you want to upload the screenshot to storage and don’t care about the results. It also speeds up the response since there are no networking costs involved.
* The default value is by_format.
*/
responseType(responseType) {
this.put("response_type", responseType);
return this;
}
/**
* It determines the behavior of what to do when selector is not found.

@@ -113,0 +123,0 @@ */

2

package.json
{
"name": "screenshotone-api-sdk",
"homepage": "https://screenshotone.com",
"version": "1.0.23",
"version": "1.0.24",
"description": "Use ScreenshotOne.com API to generate screenshots of any website.",

@@ -6,0 +6,0 @@ "repository": {

@@ -95,4 +95,4 @@ import * as crypto from 'crypto';

/**
* Selector is a CSS-like selector of the element to take a screenshot of.
*/
* Selector is a CSS-like selector of the element to take a screenshot of.
*/
selector(selector: string) {

@@ -105,2 +105,14 @@ this.put("selector", selector);

/**
* Available response types:
* by_format — return exactly the response defined in the format option. If format=png, the response will be the binary representation of the png with the content type header image/png;
* empty — return only status or error. It is suitable when you want to upload the screenshot to storage and don’t care about the results. It also speeds up the response since there are no networking costs involved.
* The default value is by_format.
*/
responseType(responseType: string) {
this.put("response_type", responseType);
return this;
}
/**
* It determines the behavior of what to do when selector is not found.

@@ -107,0 +119,0 @@ */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc