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 1.0.6 to 1.0.7

lib/services/photo-transformer/inpainting-request.interface.d.ts

4

lib/index.d.ts

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

import { BillableActionService } from './services/billable-action';
import { InpaintingService } from './services/inpainting';
export declare class Ablo {

@@ -24,3 +23,2 @@ private axios;

readonly ledger: LedgerService;
readonly inpainting: InpaintingService;
constructor(apiKey: string, options?: IAbloOptions);

@@ -40,4 +38,4 @@ }

export * from './services/photo-transformer/image-url-to-image-request.interface';
export * from './services/photo-transformer/inpainting-request.interface';
export * from './services/style/style.interface';
export * from './services/style/create-custom-style-request.interface';
export * from './services/inpainting/inpainting-request.interface';

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

const billable_action_1 = require("./services/billable-action");
const inpainting_1 = require("./services/inpainting");
class Ablo {

@@ -48,3 +47,2 @@ constructor(apiKey, options = {}) {

this.ledger = new ledger_1.LedgerService(this.axios);
this.inpainting = new inpainting_1.InpaintingService(this.axios);
}

@@ -65,4 +63,4 @@ }

__exportStar(require("./services/photo-transformer/image-url-to-image-request.interface"), exports);
__exportStar(require("./services/photo-transformer/inpainting-request.interface"), exports);
__exportStar(require("./services/style/style.interface"), exports);
__exportStar(require("./services/style/create-custom-style-request.interface"), exports);
__exportStar(require("./services/inpainting/inpainting-request.interface"), exports);

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

import { IImageGenerationResponse } from '../../interfaces/image-generation-response.interface';
import { IInpaintingRequest } from './inpainting-request.interface';
export declare class PhotoTransformerService {

@@ -25,2 +26,8 @@ private readonly axios;

fromUrl: (params: IImageUrlToImageRequest) => Promise<IImageGenerationResponse>;
/**
* Edits/inpaints the image based on the mask and provided prompt.
* @param params - The parameters for the image generation.
* @returns A Promise that resolves to the generated images.
*/
inpaint: (params: IInpaintingRequest) => Promise<IImageGenerationResponse>;
}

@@ -60,4 +60,13 @@ "use strict";

});
/**
* Edits/inpaints the image based on the mask and provided prompt.
* @param params - The parameters for the image generation.
* @returns A Promise that resolves to the generated images.
*/
this.inpaint = (params) => __awaiter(this, void 0, void 0, function* () {
const { data } = yield this.axios.post('/photo-transformer/inpaint', params);
return data;
});
}
}
exports.PhotoTransformerService = PhotoTransformerService;

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

},
"version": "1.0.6",
"version": "1.0.7",
"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