v2.0.0
2.0.0 (2021-02-10)
Features
BREAKING CHANGES
- The package was renamed from
@probot/serverless-lambda
to@probot/adapter-aws-lambda-serverless
for consistency with the other adapters - Usage changed
Before
// handler.js
const { serverless } = require("@probot/serverless-lambda");
const appFn = require("./");
module.exports.probot = serverless(appFn);
After
const { createLambdaFunction, createProbot } = require("@probot/adapter-aws-lambda-serverless");
const appFn = require("./");
module.exports.webhooks = createLambdaFunction(appFn, { probot: createProbot() });