@digipair/skill-s3 0.81.0 → 0.81.1

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.
package/index.cjs2.js CHANGED
@@ -38820,11 +38820,12 @@ let S3Service = class S3Service {
38820
38820
  };
38821
38821
  }
38822
38822
  async download(params, _pinsSettingsList, context) {
38823
- const { bucket, key, config = context.privates.S3_CONFIG } = params;
38823
+ const { bucket, key, range, config = context.privates.S3_CONFIG } = params;
38824
38824
  const client = this.getClient(config);
38825
38825
  const command = new GetObjectCommand({
38826
38826
  Bucket: bucket,
38827
- Key: key
38827
+ Key: key,
38828
+ Range: range
38828
38829
  });
38829
38830
  const response = await client.send(command);
38830
38831
  const stream = response.Body;
package/index.esm2.js CHANGED
@@ -38798,11 +38798,12 @@ let S3Service = class S3Service {
38798
38798
  };
38799
38799
  }
38800
38800
  async download(params, _pinsSettingsList, context) {
38801
- const { bucket, key, config = context.privates.S3_CONFIG } = params;
38801
+ const { bucket, key, range, config = context.privates.S3_CONFIG } = params;
38802
38802
  const client = this.getClient(config);
38803
38803
  const command = new GetObjectCommand({
38804
38804
  Bucket: bucket,
38805
- Key: key
38805
+ Key: key,
38806
+ Range: range
38806
38807
  });
38807
38808
  const response = await client.send(command);
38808
38809
  const stream = response.Body;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-s3",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",
package/schema.json CHANGED
@@ -73,6 +73,13 @@
73
73
  "description": "The key (path) of the file to download",
74
74
  "schema": { "type": "string" }
75
75
  },
76
+ {
77
+ "name": "range",
78
+ "summary": "Content range",
79
+ "required": false,
80
+ "description": "The content range of the file to download",
81
+ "schema": { "type": "string" }
82
+ },
76
83
  {
77
84
  "name": "config",
78
85
  "summary": "AWS Config",
File without changes
File without changes