diff --git a/package.json b/package.json index 048e124..13a9141 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "screenshotone-api-sdk", "homepage": "https://screenshotone.com", - "version": "1.1.4", + "version": "1.1.5", "description": "Use ScreenshotOne.com API to generate screenshots of any website.", "repository": { "type": "git", diff --git a/src/main.ts b/src/main.ts index fdaea9a..408b80a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1188,6 +1188,24 @@ export class AnimateOptions { return this; } + /** + * Access key ID. It overrides the one specified in the dashboard configuration. + */ + storageAccessKeyId(accessKeyId: string): AnimateOptions { + this.put("storage_access_key_id", accessKeyId); + + return this + } + + /** + * Secret access key. It overrides the one specified in the dashboard configuration. + */ + storageSecretAccessKey(secretAccessKey: string): AnimateOptions { + this.put("storage_secret_access_key", secretAccessKey); + + return this + } + /** * The parameter is required if you set store=true. * You must specify the key for the file, but don’t specify an extension,