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.22 to 1.0.23

21

dist/@types/main.d.ts

@@ -210,3 +210,24 @@ /**

timeout(timeout: number): TakeOptions;
/**
* Default value is false. Use store=true to trigger upload of the taken screenshot,
* rendered HTML or PDF to the configured S3 bucket.
* Make sure you configured access to S3.
*/
store(store: boolean): TakeOptions;
/**
* The parameter is required if you set store=true.
* You must specify the key for the file, but don’t specify an extension,
* it will be added automatically based on the format you specified.
* You can also specify “subdirectories” in the path part.
*/
storagePath(path: string): TakeOptions;
/**
* You can override the default bucket you configured with storage_bucket=<bucket name>.
*/
storageBucket(bucket: string): TakeOptions;
/**
* Storage class allows you to specify the object storage class.
*/
storageClass(storageClass: string): TakeOptions;
toQuery(): URLSearchParams;
}

@@ -399,2 +399,35 @@ "use strict";

}
/**
* Default value is false. Use store=true to trigger upload of the taken screenshot,
* rendered HTML or PDF to the configured S3 bucket.
* Make sure you configured access to S3.
*/
store(store) {
this.put("store", store ? "true" : "false");
return this;
}
/**
* The parameter is required if you set store=true.
* You must specify the key for the file, but don’t specify an extension,
* it will be added automatically based on the format you specified.
* You can also specify “subdirectories” in the path part.
*/
storagePath(path) {
this.put("storage_path", path);
return this;
}
/**
* You can override the default bucket you configured with storage_bucket=<bucket name>.
*/
storageBucket(bucket) {
this.put("storage_bucket", bucket);
return this;
}
/**
* Storage class allows you to specify the object storage class.
*/
storageClass(storageClass) {
this.put("storage_class", storageClass);
return this;
}
toQuery() {

@@ -401,0 +434,0 @@ return new URLSearchParams(this.query.toString());

2

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

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

@@ -470,2 +470,43 @@ import * as crypto from 'crypto';

/**
* Default value is false. Use store=true to trigger upload of the taken screenshot,
* rendered HTML or PDF to the configured S3 bucket.
* Make sure you configured access to S3.
*/
store(store: boolean): TakeOptions {
this.put("store", store ? "true" : "false");
return this;
}
/**
* The parameter is required if you set store=true.
* You must specify the key for the file, but don’t specify an extension,
* it will be added automatically based on the format you specified.
* You can also specify “subdirectories” in the path part.
*/
storagePath(path: string): TakeOptions {
this.put("storage_path", path);
return this;
}
/**
* You can override the default bucket you configured with storage_bucket=<bucket name>.
*/
storageBucket(bucket: string): TakeOptions {
this.put("storage_bucket", bucket);
return this;
}
/**
* Storage class allows you to specify the object storage class.
*/
storageClass(storageClass: string): TakeOptions {
this.put("storage_class", storageClass);
return this;
}
toQuery(): URLSearchParams {

@@ -472,0 +513,0 @@ return new URLSearchParams(this.query.toString());

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