screenshotone-api-sdk 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -528,6 +528,14 @@ export declare class AnimateOptions {
528
528
  * Make sure you configured access to S3.
529
529
  */
530
530
  store(store: boolean): AnimateOptions;
531
+ /**
532
+ * Access key ID. It overrides the one specified in the dashboard configuration.
533
+ */
534
+ storageAccessKeyId(accessKeyId: string): AnimateOptions;
535
+ /**
536
+ * Secret access key. It overrides the one specified in the dashboard configuration.
537
+ */
538
+ storageSecretAccessKey(secretAccessKey: string): AnimateOptions;
531
539
  /**
532
540
  * The parameter is required if you set store=true.
533
541
  * You must specify the key for the file, but don’t specify an extension,
package/dist/main.js CHANGED
@@ -935,6 +935,20 @@ class AnimateOptions {
935
935
  this.put("store", store ? "true" : "false");
936
936
  return this;
937
937
  }
938
+ /**
939
+ * Access key ID. It overrides the one specified in the dashboard configuration.
940
+ */
941
+ storageAccessKeyId(accessKeyId) {
942
+ this.put("storage_access_key_id", accessKeyId);
943
+ return this;
944
+ }
945
+ /**
946
+ * Secret access key. It overrides the one specified in the dashboard configuration.
947
+ */
948
+ storageSecretAccessKey(secretAccessKey) {
949
+ this.put("storage_secret_access_key", secretAccessKey);
950
+ return this;
951
+ }
938
952
  /**
939
953
  * The parameter is required if you set store=true.
940
954
  * You must specify the key for the file, but don’t specify an extension,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "screenshotone-api-sdk",
3
3
  "homepage": "https://screenshotone.com",
4
- "version": "1.1.4",
4
+ "version": "1.1.5",
5
5
  "description": "Use ScreenshotOne.com API to generate screenshots of any website.",
6
6
  "repository": {
7
7
  "type": "git",
package/src/main.ts CHANGED
@@ -1188,6 +1188,24 @@ export class AnimateOptions {
1188
1188
  return this;
1189
1189
  }
1190
1190
 
1191
+ /**
1192
+ * Access key ID. It overrides the one specified in the dashboard configuration.
1193
+ */
1194
+ storageAccessKeyId(accessKeyId: string): AnimateOptions {
1195
+ this.put("storage_access_key_id", accessKeyId);
1196
+
1197
+ return this
1198
+ }
1199
+
1200
+ /**
1201
+ * Secret access key. It overrides the one specified in the dashboard configuration.
1202
+ */
1203
+ storageSecretAccessKey(secretAccessKey: string): AnimateOptions {
1204
+ this.put("storage_secret_access_key", secretAccessKey);
1205
+
1206
+ return this
1207
+ }
1208
+
1191
1209
  /**
1192
1210
  * The parameter is required if you set store=true.
1193
1211
  * You must specify the key for the file, but don’t specify an extension,