@midwayjs/faas 3.10.14 → 3.10.15
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/dist/framework.js +1 -0
- package/package.json +5 -5
package/dist/framework.js
CHANGED
|
@@ -294,6 +294,7 @@ let MidwayFaaSFramework = class MidwayFaaSFramework extends core_1.BaseFramework
|
|
|
294
294
|
encoded = true;
|
|
295
295
|
// data is reserved as buffer
|
|
296
296
|
context.body = Buffer.from(data).toString('base64');
|
|
297
|
+
context.length = data.byteLength;
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
300
|
else if (typeof data === 'object') {
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/faas",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.15",
|
|
4
4
|
"main": "dist/index",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@midwayjs/core": "^3.10.
|
|
7
|
+
"@midwayjs/core": "^3.10.15",
|
|
8
8
|
"@midwayjs/faas-typings": "^3.10.13",
|
|
9
9
|
"@midwayjs/logger": "^2.15.0",
|
|
10
10
|
"@midwayjs/serverless-http-parser": "^3.10.14",
|
|
11
11
|
"@midwayjs/simple-lock": "^1.1.4"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@midwayjs/mock": "^3.10.
|
|
15
|
-
"@midwayjs/serverless-fc-starter": "^3.10.
|
|
14
|
+
"@midwayjs/mock": "^3.10.15",
|
|
15
|
+
"@midwayjs/serverless-fc-starter": "^3.10.15",
|
|
16
16
|
"@midwayjs/serverless-scf-starter": "^3.10.14",
|
|
17
17
|
"mm": "3.2.1"
|
|
18
18
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"url": "git@github.com:midwayjs/midway.git"
|
|
46
46
|
},
|
|
47
47
|
"license": "MIT",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8d5fd0e58156612c675821134377208e4da710ad"
|
|
49
49
|
}
|