@middy/s3-object-response 3.0.4 → 3.1.0
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.d.ts +1 -1
- package/package.json +13 -7
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Options as MiddyOptions } from '@middy/util'
|
|
|
5
5
|
interface Options<S = S3>
|
|
6
6
|
extends Pick<MiddyOptions<S, S3.Types.ClientConfiguration>,
|
|
7
7
|
'AwsClient' | 'awsClientOptions' | 'awsClientAssumeRole' | 'awsClientCapture' | 'disablePrefetch'> {
|
|
8
|
-
bodyType?:
|
|
8
|
+
bodyType?: 'stream' | 'promise'
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
declare function s3ObjectResponse (options?: Options): middy.MiddlewareObj
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middy/s3-object-response",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "S3 object response handling middleware for the middy framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -10,11 +10,17 @@
|
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
|
+
"main": "./index.cjs",
|
|
13
14
|
"exports": {
|
|
14
15
|
".": {
|
|
15
|
-
"import":
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./index.d.ts",
|
|
18
|
+
"default": "./index.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./index.d.ts",
|
|
22
|
+
"default": "./index.cjs"
|
|
23
|
+
}
|
|
18
24
|
}
|
|
19
25
|
},
|
|
20
26
|
"types": "index.d.ts",
|
|
@@ -55,12 +61,12 @@
|
|
|
55
61
|
},
|
|
56
62
|
"homepage": "https://middy.js.org",
|
|
57
63
|
"dependencies": {
|
|
58
|
-
"@middy/util": "3.0
|
|
64
|
+
"@middy/util": "3.1.0"
|
|
59
65
|
},
|
|
60
66
|
"devDependencies": {
|
|
61
|
-
"@middy/core": "3.0
|
|
67
|
+
"@middy/core": "3.1.0",
|
|
62
68
|
"aws-sdk": "^2.939.0",
|
|
63
69
|
"aws-xray-sdk": "^3.3.3"
|
|
64
70
|
},
|
|
65
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "d5284fd11c175516c189b6061fee7312106d9709"
|
|
66
72
|
}
|