@friggframework/core 2.0.0--canary.461.0b53aff.0 → 2.0.0--canary.461.d74bc46.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.
@@ -22,7 +22,7 @@ function getEncryptionConfig() {
22
22
  if (!hasKMS && !hasAES) {
23
23
  logger.warn(
24
24
  'No encryption keys configured (KMS_KEY_ARN or AES_KEY_ID). ' +
25
- 'Field-level encryption disabled. Set STAGE=production and configure keys to enable.'
25
+ 'Field-level encryption disabled. Set STAGE=production and configure keys to enable.'
26
26
  );
27
27
  return { enabled: false };
28
28
  }
@@ -75,7 +75,7 @@ function loadCustomEncryptionSchema() {
75
75
 
76
76
  const prismaClientSingleton = () => {
77
77
  let PrismaClient;
78
-
78
+
79
79
  // Helper to try loading Prisma client from multiple locations
80
80
  const loadPrismaClient = (dbType) => {
81
81
  const paths = [
@@ -84,7 +84,7 @@ const prismaClientSingleton = () => {
84
84
  // Local development location (relative to core package)
85
85
  `../generated/prisma-${dbType}`,
86
86
  ];
87
-
87
+
88
88
  for (const path of paths) {
89
89
  try {
90
90
  return require(path).PrismaClient;
@@ -92,7 +92,7 @@ const prismaClientSingleton = () => {
92
92
  // Continue to next path
93
93
  }
94
94
  }
95
-
95
+
96
96
  throw new Error(
97
97
  `Cannot find Prisma client for ${dbType}. Tried paths: ${paths.join(', ')}`
98
98
  );
@@ -39,10 +39,10 @@ let moduleFactory, integrationClasses;
39
39
  try {
40
40
  const appDef = loadAppDefinition();
41
41
  integrationClasses = appDef.integrations || [];
42
-
42
+
43
43
  const moduleRepository = createModuleRepository();
44
44
  const moduleDefinitions = getModulesDefinitionFromIntegrationClasses(integrationClasses);
45
-
45
+
46
46
  moduleFactory = new ModuleFactory({
47
47
  moduleRepository,
48
48
  moduleDefinitions,
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.0b53aff.0",
4
+ "version": "2.0.0--canary.461.d74bc46.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.0b53aff.0",
41
- "@friggframework/prettier-config": "2.0.0--canary.461.0b53aff.0",
42
- "@friggframework/test": "2.0.0--canary.461.0b53aff.0",
40
+ "@friggframework/eslint-config": "2.0.0--canary.461.d74bc46.0",
41
+ "@friggframework/prettier-config": "2.0.0--canary.461.d74bc46.0",
42
+ "@friggframework/test": "2.0.0--canary.461.d74bc46.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": "0b53aff86541a1114582f0448544e9ff6f0302b5"
82
+ "gitHead": "d74bc4663a37599d6f1924b84a265bf54cae948f"
83
83
  }