Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@localazy/ts-api

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@localazy/ts-api - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

dist/models/arguments/get-webhooks-secret.d.ts

9

dist/index.d.ts

@@ -33,2 +33,4 @@ import Constructor from './models/arguments/constructor';

import UpdateKeyResult from './models/responses/update-key-result';
import GetWebhooksSecret from './models/arguments/get-webhooks-secret';
import GetWebhooksSecretResult from './models/responses/get-webhooks-secret-result';
declare class LocalazyService {

@@ -75,6 +77,11 @@ private projectToken;

* Store a new webhooks configuration for the project.
* @see https://localazy.com/docs/api/screenshot-management#create-a-new-screenshot
* @see https://localazy.com/docs/api/webhooks-api#update-webhooks-configuration
*/
postWebhooks(options: PostWebhooks, config?: CommonConfig): Promise<PostWebhooksResult>;
/**
* Return webhooks secret, can be used to verify webhook body
* @see https://localazy.com/docs/api/webhooks-api#get-projectsprojectidwebhookssecret
*/
getWebhooksSecret(options: GetWebhooksSecret, config?: CommonConfig): Promise<GetWebhooksSecretResult>;
/**
* Retrieve list of screenshots for project.

@@ -81,0 +88,0 @@ * @see https://localazy.com/docs/api/screenshot-management#list-screenshots

@@ -227,3 +227,3 @@ "use strict";

* Store a new webhooks configuration for the project.
* @see https://localazy.com/docs/api/screenshot-management#create-a-new-screenshot
* @see https://localazy.com/docs/api/webhooks-api#update-webhooks-configuration
*/

@@ -250,2 +250,24 @@ Object.defineProperty(LocalazyService.prototype, "postWebhooks", {

/**
* Return webhooks secret, can be used to verify webhook body
* @see https://localazy.com/docs/api/webhooks-api#get-projectsprojectidwebhookssecret
*/
Object.defineProperty(LocalazyService.prototype, "getWebhooksSecret", {
enumerable: false,
configurable: true,
writable: true,
value: function (options, config) {
if (config === void 0) { config = {}; }
return __awaiter(this, void 0, void 0, function () {
var projectId;
return __generator(this, function (_a) {
projectId = options.projectId;
return [2 /*return*/, api_1.default.get({
url: "".concat(config.baseUrl || this.baseUrl, "/projects/").concat(projectId, "/webhooks/secret"),
projectToken: config.projectToken || this.projectToken,
})];
});
});
}
});
/**
* Retrieve list of screenshots for project.

@@ -252,0 +274,0 @@ * @see https://localazy.com/docs/api/screenshot-management#list-screenshots

2

package.json
{
"name": "@localazy/ts-api",
"version": "1.0.11",
"version": "1.0.12",
"description": "This is a Typescript library facilitating usage of Localazy's API.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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