@vercube/serverless 0.0.46 → 0.0.47

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.
@@ -4,7 +4,7 @@ import { Blob } from "buffer";
4
4
  import { ReadableStream } from "stream/web";
5
5
  import { URLSearchParams } from "url";
6
6
 
7
- //#region ../../node_modules/.pnpm/@azure+functions@4.12.0/node_modules/@azure/functions/types/http.d.ts
7
+ //#region ../../node_modules/.pnpm/@azure+functions@4.16.0/node_modules/@azure/functions/types/http.d.ts
8
8
  /**
9
9
  * HTTP request object. Provided to your function when using HTTP Bindings.
10
10
  */
@@ -96,7 +96,7 @@ function convertEventToRequest(request) {
96
96
  return new Request(request.url, {
97
97
  method: request.method,
98
98
  headers: headersToObject(request.headers),
99
- ...hasBody ? {
99
+ ...hasBody && request.body != null ? {
100
100
  body: request.body,
101
101
  duplex: "half"
102
102
  } : {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercube/serverless",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "Serverless module for Vercube framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,20 +36,20 @@
36
36
  "azure-function-http"
37
37
  ],
38
38
  "dependencies": {
39
- "srvx": "0.11.13",
40
- "ufo": "1.6.3",
41
- "@vercube/core": "0.0.46",
42
- "@vercube/di": "0.0.46"
39
+ "srvx": "0.11.16",
40
+ "ufo": "1.6.4",
41
+ "@vercube/di": "0.0.47",
42
+ "@vercube/core": "0.0.47"
43
43
  },
44
44
  "devDependencies": {
45
- "@azure/functions": "4.12.0",
45
+ "@azure/functions": "4.16.0",
46
46
  "@types/aws-lambda": "8.10.161"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
51
  "inlinedDependencies": {
52
- "@azure/functions": "4.12.0",
52
+ "@azure/functions": "4.16.0",
53
53
  "@types/aws-lambda": "8.10.161"
54
54
  },
55
55
  "scripts": {