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.15 to 1.0.16

6

dist/main.js

@@ -33,2 +33,4 @@ "use strict";

const cross_fetch_1 = __importDefault(require("cross-fetch"));
const API_BASE_URL = "https://api.screenshotone.com";
const API_TAKE_PATH = "/take";
/**

@@ -39,4 +41,2 @@ * Represents an API client for the screenshotone.com API.

constructor(accessKey, secretKey) {
this.API_BASE_URL = "https://api.screenshotone.com";
this.API_TAKE_PATH = "/take";
this.accessKey = accessKey;

@@ -53,3 +53,3 @@ this.secretKey = secretKey;

queryString += '&signature=' + signature;
return `${this.API_BASE_URL}${this.API_TAKE_PATH}?${queryString}`;
return `${API_BASE_URL}${API_TAKE_PATH}?${queryString}`;
}

@@ -56,0 +56,0 @@ async take(options) {

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

@@ -32,3 +32,2 @@ "repository": {

"types": "dist/@types/main.d.ts",
"type": "module",
"devDependencies": {

@@ -35,0 +34,0 @@ "@types/big.js": "^6.1.3",

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

const API_BASE_URL = "https://api.screenshotone.com";
const API_TAKE_PATH = "/take";
/**

@@ -10,5 +13,2 @@ * Represents an API client for the screenshotone.com API.

export class Client {
private readonly API_BASE_URL = "https://api.screenshotone.com";
private readonly API_TAKE_PATH = "/take";
private readonly accessKey: string;

@@ -32,3 +32,3 @@ private readonly secretKey: string;

return `${this.API_BASE_URL}${this.API_TAKE_PATH}?${queryString}`;
return `${API_BASE_URL}${API_TAKE_PATH}?${queryString}`;
}

@@ -35,0 +35,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