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

@space-runners/ablo-ts-sdk

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@space-runners/ablo-ts-sdk - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/index.d.ts

@@ -8,2 +8,3 @@ import { IAbloOptions } from './interfaces/ablo-options.interface';

import { BackgroundRemoverService } from './services/background-removal';
import { StyleService } from './services/style';
export declare class Ablo {

@@ -17,3 +18,4 @@ private axios;

readonly removeBackground: BackgroundRemoverService;
readonly style: StyleService;
constructor(apiKey: string, options?: IAbloOptions);
}

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

const background_removal_1 = require("./services/background-removal");
const style_1 = require("./services/style");
class Ablo {

@@ -27,4 +28,5 @@ constructor(apiKey, options = {}) {

this.removeBackground = new background_removal_1.BackgroundRemoverService(this.axios);
this.style = new style_1.StyleService(this.axios);
}
}
exports.Ablo = Ablo;

4

lib/services/style/index.d.ts

@@ -14,3 +14,3 @@ import { AxiosInstance } from 'axios';

*/
createCustomStyle: (params: ICreateCustomStyleRequest) => Promise<any>;
createCustom: (params: ICreateCustomStyleRequest) => Promise<any>;
/**

@@ -20,3 +20,3 @@ * Retrieves all custom styles.

*/
getCustomStyles: () => Promise<IStyle[]>;
getCustom: () => Promise<IStyle[]>;
/**

@@ -23,0 +23,0 @@ * Retrieves all styles based on the provided template ID and pinned status.

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

*/
this.createCustomStyle = (params) => __awaiter(this, void 0, void 0, function* () {
this.createCustom = (params) => __awaiter(this, void 0, void 0, function* () {
const { data } = yield this.axios.post(`/${StyleService.ENTITY}`, params, {

@@ -34,3 +34,3 @@ headers: {

*/
this.getCustomStyles = () => __awaiter(this, void 0, void 0, function* () {
this.getCustom = () => __awaiter(this, void 0, void 0, function* () {
const { data } = yield this.axios.get(`/${StyleService.ENTITY}/${StyleService.CUSTOM}`);

@@ -37,0 +37,0 @@ return data;

@@ -6,3 +6,3 @@ {

},
"version": "0.0.4",
"version": "0.0.5",
"description": "A TypeScript SDK for Ablo Services",

@@ -9,0 +9,0 @@ "main": "lib/index.js",

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