@midwayjs/faas 3.10.14 → 3.11.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/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.14",
3
+ "version": "3.11.0",
4
4
  "main": "dist/index",
5
5
  "typings": "index.d.ts",
6
6
  "dependencies": {
7
- "@midwayjs/core": "^3.10.10",
7
+ "@midwayjs/core": "^3.11.0",
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.13",
15
- "@midwayjs/serverless-fc-starter": "^3.10.14",
14
+ "@midwayjs/mock": "^3.11.0",
15
+ "@midwayjs/serverless-fc-starter": "^3.11.0",
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": "476cad5cc3293e09b920a88ff64f251e96ecc36c"
48
+ "gitHead": "eadb977e7fddcd4287c099fc32b601cd51702514"
49
49
  }