@middy/s3-object-response 7.1.0 → 7.1.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/README.md +1 -1
- package/index.d.ts +3 -0
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1>Middy s3-object-response middleware</h1>
|
|
2
|
+
<h1>Middy `s3-object-response` middleware</h1>
|
|
3
3
|
<img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/docs/img/middy-logo.svg"/>
|
|
4
4
|
<p><strong>S3 object response middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda</strong></p>
|
|
5
5
|
<p>
|
package/index.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ import type middy from "@middy/core";
|
|
|
6
6
|
import type { Options as MiddyOptions } from "@middy/util";
|
|
7
7
|
import type { Context as LambdaContext } from "aws-lambda";
|
|
8
8
|
|
|
9
|
+
export type ParamType<T> = string & { __returnType?: T };
|
|
10
|
+
export declare function s3ObjectResponseParam<T>(name: string): ParamType<T>;
|
|
11
|
+
|
|
9
12
|
export interface S3ObjectResponseOptions<AwsS3Client = S3Client>
|
|
10
13
|
extends Pick<
|
|
11
14
|
MiddyOptions<AwsS3Client, S3ClientConfig>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middy/s3-object-response",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "S3 object response handling middleware for the middy framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -74,8 +74,12 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@aws-sdk/client-s3": "^3.0.0",
|
|
77
|
-
"@
|
|
77
|
+
"@middy/core": "7.1.1",
|
|
78
|
+
"@types/aws-lambda": "^8.0.0",
|
|
78
79
|
"aws-xray-sdk": "^3.3.3"
|
|
79
80
|
},
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"@middy/util": "7.1.1"
|
|
83
|
+
},
|
|
80
84
|
"gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"
|
|
81
85
|
}
|