@travetto/model-s3 2.2.3 → 2.2.6

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/service.ts +2 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@travetto/model-s3",
3
3
  "displayName": "S3 Model Support",
4
- "version": "2.2.3",
4
+ "version": "2.2.6",
5
5
  "description": "S3 backing for the travetto model module.",
6
6
  "keywords": [
7
7
  "s3",
@@ -25,8 +25,8 @@
25
25
  "directory": "module/model-s3"
26
26
  },
27
27
  "dependencies": {
28
- "@aws-sdk/client-s3": "^3.131.0",
29
- "@aws-sdk/credential-provider-ini": "^3.131.0",
28
+ "@aws-sdk/client-s3": "^3.154.0",
29
+ "@aws-sdk/credential-provider-ini": "^3.154.0",
30
30
  "@travetto/config": "^2.2.3",
31
31
  "@travetto/model": "^2.2.3"
32
32
  },
package/src/service.ts CHANGED
@@ -319,6 +319,8 @@ export class S3ModelService implements ModelCrudSupport, ModelStreamSupport, Mod
319
319
 
320
320
  if (obj) {
321
321
  const ret: StreamMeta = {
322
+ // @ts-expect-error
323
+ contentType: '',
322
324
  // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
323
325
  ...obj.Metadata as StreamMeta,
324
326
  size: obj.ContentLength!,