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

lz-api-client

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lz-api-client - npm Package Compare versions

Comparing version 0.12.9 to 0.13.0

dist/__tests__/render-service.test.d.ts

2

dist/Client.d.ts

@@ -8,2 +8,3 @@ import { AccountService } from './services/AccountService';

import { OrganizationService } from './services/OrganizationService';
import { RenderService } from './services/RenderService';
type GetParams = Record<string, string | number | boolean>;

@@ -26,2 +27,3 @@ type BodyParams = Record<string, any>;

organization: OrganizationService;
render: RenderService;
user: UserService;

@@ -28,0 +30,0 @@ workspace: WorkspaceService;

@@ -24,2 +24,3 @@ "use strict";

const cookies_1 = require("./utils/cookies");
const RenderService_1 = require("./services/RenderService");
class Client {

@@ -37,2 +38,3 @@ constructor({ apiURL, referrerPolicy }) {

this.organization = new OrganizationService_1.OrganizationService(this);
this.render = new RenderService_1.RenderService(this);
this.user = new UserService_1.UserService(this);

@@ -39,0 +41,0 @@ this.workspace = new WorkspaceService_1.WorkspaceService(this);

@@ -57,2 +57,9 @@ import type { CreateRenderBody, InsertedId, SearchFieldsQuery, UpdateRenderBody } from 'lz-schema';

}): Promise<null>;
/**
* Get the render HTML URL by render id.
* This URL can be used to embed the render in an iframe.
*/
getRenderHtmlUrl({ id }: {
id: string;
}): string;
}

@@ -61,4 +61,12 @@ "use strict";

}
/**
* Get the render HTML URL by render id.
* This URL can be used to embed the render in an iframe.
*/
getRenderHtmlUrl({ id }) {
const url = new URL(`/renders/${id}/html`, this.client.apiURL);
return url.toString();
}
}
exports.RenderService = RenderService;
//# sourceMappingURL=RenderService.js.map

2

package.json
{
"name": "lz-api-client",
"version": "0.12.9",
"version": "0.13.0",
"description": "client sdk for layerZ api",

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

Sorry, the diff of this file is not supported yet

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