@midwayjs/faas 3.0.0-beta.11 → 3.0.0-beta.12

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0-beta.12](https://github.com/midwayjs/midway/compare/v3.0.0-beta.11...v3.0.0-beta.12) (2021-12-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * support throw err status ([#1440](https://github.com/midwayjs/midway/issues/1440)) ([7b98110](https://github.com/midwayjs/midway/commit/7b98110d65c5287a8fcb3eb5356dea2d7a32cee9))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.0.0-beta.11](https://github.com/midwayjs/midway/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2021-12-21)
7
18
 
8
19
  **Note:** Version bump only for package @midwayjs/faas
package/dist/framework.js CHANGED
@@ -67,6 +67,9 @@ let MidwayFaaSFramework = class MidwayFaaSFramework extends core_1.BaseFramework
67
67
  return (_a = this.configurationOptions.applicationAdapter) === null || _a === void 0 ? void 0 : _a.getFunctionServiceName();
68
68
  },
69
69
  });
70
+ // hack use method
71
+ this.app.originUse = this.app.use;
72
+ this.app.use = this.app.useMiddleware;
70
73
  }
71
74
  async run() {
72
75
  return this.lock.sureOnce(async () => {
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@midwayjs/faas",
3
- "version": "3.0.0-beta.11",
3
+ "version": "3.0.0-beta.12",
4
4
  "main": "dist/index",
5
5
  "typings": "index.d.ts",
6
6
  "dependencies": {
7
- "@midwayjs/core": "^3.0.0-beta.11",
8
- "@midwayjs/faas-typings": "^3.0.0-beta.11",
9
- "@midwayjs/logger": "^3.0.0-beta.11",
7
+ "@midwayjs/core": "^3.0.0-beta.12",
8
+ "@midwayjs/faas-typings": "^3.0.0-beta.12",
9
+ "@midwayjs/logger": "^3.0.0-beta.12",
10
10
  "@midwayjs/simple-lock": "^1.1.4"
11
11
  },
12
12
  "devDependencies": {
13
- "@midwayjs/decorator": "^3.0.0-beta.11",
14
- "@midwayjs/mock": "^3.0.0-beta.11",
15
- "@midwayjs/serverless-fc-starter": "^3.0.0-beta.11",
16
- "@midwayjs/serverless-scf-starter": "^3.0.0-beta.11",
13
+ "@midwayjs/decorator": "^3.0.0-beta.12",
14
+ "@midwayjs/mock": "^3.0.0-beta.12",
15
+ "@midwayjs/serverless-fc-starter": "^3.0.0-beta.12",
16
+ "@midwayjs/serverless-scf-starter": "^3.0.0-beta.12",
17
17
  "mm": "3"
18
18
  },
19
19
  "engines": {
@@ -45,5 +45,5 @@
45
45
  "url": "git@github.com:midwayjs/midway.git"
46
46
  },
47
47
  "license": "MIT",
48
- "gitHead": "a2b066fd500e815e799e7f421cd216f12e0e9f8e"
48
+ "gitHead": "1c46e53eb934248007eeb7fe3920f5ac24e272c6"
49
49
  }