Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@html-css-to-image/client",
"version": "0.1.0",
"version": "0.2.0",
"type": "module",
"description": "Lightweight TypeScript client for the HTML/CSS to Image API. Generate images from HTML/CSS, URLs, or templates in your TypeScript or JavaScript projects.",
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions src/types/internals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ export abstract class BaseCreateRequestWithoutVariableOptions {
*/
proxy_id?: string;

/**
* Sets the Maximum width of the rendered image in jumbo mode. Consumes extra renders, jumbo_max_height to be defined as well.
*/
jumbo_max_width?: number;

/**
* Sets the Maximum height of the rendered image in jumbo mode. Consumes extra renders, jumbo_max_width to be defined as well.
*/
jumbo_max_height?: number;

constructor(init?: Partial<BaseCreateRequestWithoutVariableOptions>) {
Object.assign(this, init);
}
Expand Down
Loading