@friggframework/core 2.0.0--canary.461.dc1758e.0 → 2.0.0--canary.461.02fc54a.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.
@@ -1,5 +1,4 @@
1
1
  const { Router } = require('express');
2
- const { moduleFactory, integrationFactory } = require('./../backend-utils');
3
2
  const { createAppHandler } = require('./../app-handler-helpers');
4
3
  const {
5
4
  createHealthCheckRepository,
@@ -22,6 +21,7 @@ const {
22
21
 
23
22
  const router = Router();
24
23
  const healthCheckRepository = createHealthCheckRepository();
24
+
25
25
  const testEncryptionUseCase = new TestEncryptionUseCase({
26
26
  healthCheckRepository,
27
27
  });
@@ -32,9 +32,11 @@ const checkEncryptionHealthUseCase = new CheckEncryptionHealthUseCase({
32
32
  testEncryptionUseCase,
33
33
  });
34
34
  const checkExternalApisHealthUseCase = new CheckExternalApisHealthUseCase();
35
+ // Module/Integration factories not available in health check context
36
+ // Pass undefined - the use case will handle gracefully
35
37
  const checkIntegrationsHealthUseCase = new CheckIntegrationsHealthUseCase({
36
- moduleFactory,
37
- integrationFactory,
38
+ moduleFactory: undefined,
39
+ integrationFactory: undefined,
38
40
  });
39
41
 
40
42
  const validateApiKey = (req, res, next) => {
@@ -142,10 +144,10 @@ const detectVpcConfiguration = async () => {
142
144
  }
143
145
 
144
146
  // Check if Lambda is in VPC using VPC_ENABLED env var set by infrastructure
145
- results.isInVpc = process.env.VPC_ENABLED === 'true' ||
146
- (!results.hasInternetAccess && results.canResolvePublicDns) ||
147
+ results.isInVpc = process.env.VPC_ENABLED === 'true' ||
148
+ (!results.hasInternetAccess && results.canResolvePublicDns) ||
147
149
  results.vpcEndpoints.length > 0;
148
-
150
+
149
151
  results.canConnectToAws =
150
152
  results.hasInternetAccess || results.vpcEndpoints.length > 0;
151
153
  } catch (error) {
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.dc1758e.0",
4
+ "version": "2.0.0--canary.461.02fc54a.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.dc1758e.0",
41
- "@friggframework/prettier-config": "2.0.0--canary.461.dc1758e.0",
42
- "@friggframework/test": "2.0.0--canary.461.dc1758e.0",
40
+ "@friggframework/eslint-config": "2.0.0--canary.461.02fc54a.0",
41
+ "@friggframework/prettier-config": "2.0.0--canary.461.02fc54a.0",
42
+ "@friggframework/test": "2.0.0--canary.461.02fc54a.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": "dc1758e91e27ea006df8936d372f468f029ec646"
82
+ "gitHead": "02fc54ae7404113a9cb68b70437ce2879a7d7e5f"
83
83
  }