Skip to content

Commit

Permalink
Add a new full page screenshot algorithm—viewport_full_height
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Feb 11, 2025
1 parent db377f8 commit ef5d24d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "screenshotone-validations",
"homepage": "https://screenshotone.com",
"version": "1.0.64",
"version": "1.0.65",
"description": "Validation schemes for the ScreenshotOne API requests.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const screenshotScheme = {
}),
full_page_algorithm: Joi.when("full_page", {
is: true,
then: Joi.string().valid("by_sections", "default").default("default"),
then: Joi.string().valid("by_sections", "default", "viewport_full_height").default("default"),
otherwise: Joi.forbidden(),
}),

Expand Down

0 comments on commit ef5d24d

Please sign in to comment.