@friggframework/core 2.0.0--canary.461.ba2dc6d.0 → 2.0.0--canary.461.e85a4f6.0
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.
|
@@ -24,6 +24,6 @@ app.use((err, req, res, next) => {
|
|
|
24
24
|
res.status(500).json({ message: 'Internal Server Error' });
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
// Export
|
|
28
|
-
module.exports = serverlessHttp(app);
|
|
27
|
+
// Export as .handler property (Lambda config: db-migration.handler)
|
|
28
|
+
module.exports.handler = serverlessHttp(app);
|
|
29
29
|
|
|
@@ -39,7 +39,7 @@ describe('Database Migration Router - Adapter Layer', () => {
|
|
|
39
39
|
expect(typeof router).toBe('function');
|
|
40
40
|
expect(router.stack).toBeDefined();
|
|
41
41
|
});
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
it('should have separate handler file for Lambda', () => {
|
|
44
44
|
// db-migration.handler.js wraps router with createAppHandler
|
|
45
45
|
// This keeps db-migration.js free of app-handler-helpers dependency
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/core",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.461.
|
|
4
|
+
"version": "2.0.0--canary.461.e85a4f6.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-apigatewaymanagementapi": "^3.588.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.588.0",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@friggframework/eslint-config": "2.0.0--canary.461.
|
|
41
|
-
"@friggframework/prettier-config": "2.0.0--canary.461.
|
|
42
|
-
"@friggframework/test": "2.0.0--canary.461.
|
|
40
|
+
"@friggframework/eslint-config": "2.0.0--canary.461.e85a4f6.0",
|
|
41
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.e85a4f6.0",
|
|
42
|
+
"@friggframework/test": "2.0.0--canary.461.e85a4f6.0",
|
|
43
43
|
"@prisma/client": "^6.17.0",
|
|
44
44
|
"@types/lodash": "4.17.15",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "e85a4f699f625a261b925af41d7d056476e504ef"
|
|
83
83
|
}
|