We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb766f4 commit 7ef2b15Copy full SHA for 7ef2b15
index.js
@@ -19,6 +19,9 @@ module.exports = function(options) {
19
for (let funcId in slsConf.functions) {
20
const funcConf = slsConf.functions[funcId];
21
let func = getObjectPath(funcConf.handler, slsHandlers);
22
+ if (options.wrapLambda) {
23
+ func = options.wrapLambda(func);
24
+ }
25
service[funcId] = func;
26
// http
27
const events = (funcConf.events || []).map(e => e.http).filter(e => !!e);
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "serverlessify",
3
- "version": "0.2.0",
+ "version": "0.2.1",
4
"description": "Utility to simulate AWS Lambda event sources and write a server for Serverless functions",
5
"main": "index.js",
6
"engines": {
0 commit comments