@opennextjs/aws 3.1.5 → 3.1.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.
|
@@ -73,6 +73,7 @@ async function convertFromAPIGatewayProxyEventV2(event) {
|
|
|
73
73
|
async function convertToApiGatewayProxyResultV2(result) {
|
|
74
74
|
const headers = {};
|
|
75
75
|
Object.entries(result.headers)
|
|
76
|
+
.map(([key, value]) => [key.toLowerCase(), value])
|
|
76
77
|
.filter(([key]) => !CloudFrontBlacklistedHeaders.some((header) => typeof header === "string" ? header === key : header.test(key)))
|
|
77
78
|
.forEach(([key, value]) => {
|
|
78
79
|
if (value === null || value === undefined) {
|
package/dist/http/request.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export declare class IncomingMessage extends http.IncomingMessage {
|
|
|
5
5
|
constructor({ method, url, headers, body, remoteAddress, }: {
|
|
6
6
|
method: string;
|
|
7
7
|
url: string;
|
|
8
|
-
headers: Record<string, string>;
|
|
8
|
+
headers: Record<string, string | string[]>;
|
|
9
9
|
body?: Buffer;
|
|
10
|
-
remoteAddress
|
|
10
|
+
remoteAddress?: string;
|
|
11
11
|
});
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"access": "public"
|
|
4
4
|
},
|
|
5
5
|
"name": "@opennextjs/aws",
|
|
6
|
-
"version": "3.1.
|
|
6
|
+
"version": "3.1.6",
|
|
7
7
|
"bin": {
|
|
8
|
-
"open-next": "./dist/index.js"
|
|
9
|
-
"@opennextjs/aws": "./dist/index.js"
|
|
8
|
+
"open-next": "./dist/index.js"
|
|
10
9
|
},
|
|
11
10
|
"license": "MIT",
|
|
12
11
|
"type": "module",
|