@midwayjs/fc-starter 3.6.0 → 3.7.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +5 -6
package/dist/index.js CHANGED
@@ -121,9 +121,8 @@ class BootstrapStarter extends faas_1.AbstractBootstrapStarter {
121
121
  handlerName = ctx.path;
122
122
  }
123
123
  }
124
- const triggerFunction = this.framework.getTriggerFunction(handlerName);
125
124
  try {
126
- const result = await triggerFunction(ctx, {
125
+ const result = await this.framework.getTriggerFunction(ctx, handlerName, {
127
126
  isHttpFunction: isHTTPMode || isApiGateway,
128
127
  originEvent: event,
129
128
  originContext: context,
package/package.json CHANGED
@@ -1,16 +1,15 @@
1
1
  {
2
2
  "name": "@midwayjs/fc-starter",
3
- "version": "3.6.0",
3
+ "version": "3.7.1",
4
4
  "main": "dist/index",
5
5
  "typings": "dist/index.d.ts",
6
6
  "dependencies": {
7
- "@midwayjs/async-hooks-context-manager": "^3.6.0",
8
- "@midwayjs/faas": "^3.6.0",
7
+ "@midwayjs/async-hooks-context-manager": "^3.7.0",
8
+ "@midwayjs/faas": "^3.7.1",
9
9
  "raw-body": "2.5.1"
10
10
  },
11
11
  "devDependencies": {
12
- "@midwayjs/core": "^3.6.0",
13
- "@midwayjs/runtime-mock": "^3.6.0",
12
+ "@midwayjs/core": "^3.7.0",
14
13
  "@midwayjs/serverless-http-parser": "^3.6.0"
15
14
  },
16
15
  "engines": {
@@ -30,5 +29,5 @@
30
29
  "url": "git@github.com:midwayjs/midway.git"
31
30
  },
32
31
  "license": "MIT",
33
- "gitHead": "22643b0e8519766bb7c68b975930199fc136336e"
32
+ "gitHead": "d41be2f6082d035ea4fb109e32b0e240c2435f9a"
34
33
  }