diff --git a/package.json b/package.json index cb3abe0..79c2839 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "screenshotone-validations", "homepage": "https://screenshotone.com", - "version": "1.0.37", + "version": "1.0.38", "description": "Validation schemes for the ScreenshotOne API requests.", "repository": { "type": "git", diff --git a/src/main.ts b/src/main.ts index 1edaed7..b158cdc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -128,6 +128,8 @@ const screenshotScheme = { metadata_content: Joi.boolean().default(false), metadata_page_title: Joi.boolean().default(false), metadata_open_graph: Joi.boolean().default(false), + metadata_http_response_status_code: Joi.boolean().default(false), + metadata_http_response_headers: Joi.boolean().default(false), clip_x: Joi.number().integer().optional(), clip_y: Joi.number().integer().optional(),