@midwayjs/faas 3.0.0-beta.7 → 3.0.0-beta.8

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,14 @@
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.8](https://github.com/midwayjs/midway/compare/v3.0.0-beta.7...v3.0.0-beta.8) (2021-12-08)
7
+
8
+ **Note:** Version bump only for package @midwayjs/faas
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.0.0-beta.7](https://github.com/midwayjs/midway/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2021-12-03)
7
15
 
8
16
 
package/dist/framework.js CHANGED
@@ -24,7 +24,13 @@ let MidwayFaaSFramework = class MidwayFaaSFramework extends core_1.BaseFramework
24
24
  this.isReplaceLogger = process.env['MIDWAY_SERVERLESS_REPLACE_LOGGER'] === 'true';
25
25
  }
26
26
  configure(options) {
27
- this.configurationOptions = options;
27
+ const faasConfig = this.configService.getConfiguration('faas');
28
+ if (faasConfig) {
29
+ this.configurationOptions = faasConfig;
30
+ }
31
+ else {
32
+ this.configurationOptions = options;
33
+ }
28
34
  }
29
35
  isEnable() {
30
36
  return false;
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@midwayjs/faas",
3
- "version": "3.0.0-beta.7",
3
+ "version": "3.0.0-beta.8",
4
4
  "main": "dist/index",
5
5
  "typings": "index.d.ts",
6
6
  "dependencies": {
7
- "@midwayjs/core": "^3.0.0-beta.7",
8
- "@midwayjs/faas-typings": "^3.0.0-beta.7",
9
- "@midwayjs/logger": "^3.0.0-beta.7",
7
+ "@midwayjs/core": "^3.0.0-beta.8",
8
+ "@midwayjs/faas-typings": "^3.0.0-beta.8",
9
+ "@midwayjs/logger": "^3.0.0-beta.8",
10
10
  "@midwayjs/simple-lock": "^1.1.4"
11
11
  },
12
12
  "devDependencies": {
13
- "@midwayjs/decorator": "^3.0.0-beta.7",
14
- "@midwayjs/mock": "^3.0.0-beta.7",
15
- "@midwayjs/serverless-fc-starter": "^3.0.0-beta.7",
16
- "@midwayjs/serverless-scf-starter": "^3.0.0-beta.7",
13
+ "@midwayjs/decorator": "^3.0.0-beta.8",
14
+ "@midwayjs/mock": "^3.0.0-beta.8",
15
+ "@midwayjs/serverless-fc-starter": "^3.0.0-beta.8",
16
+ "@midwayjs/serverless-scf-starter": "^3.0.0-beta.8",
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": "24590729121d9110e2d960db5b5e587cf55a1efc"
48
+ "gitHead": "bfafbdf8798f48d4daac5dd88ad53c6b2f33c110"
49
49
  }