refactor(shared): improve logger injection, env validation, and PII masking
Enhance shared infrastructure services with proper dependency injection, stricter environment variable validation, and improved PII data masking. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -15,6 +15,7 @@ const REQUIRED_IN_PRODUCTION: readonly string[] = [
|
||||
'DATABASE_URL',
|
||||
'CORS_ORIGINS',
|
||||
'REDIS_HOST',
|
||||
'KYC_ENCRYPTION_KEY',
|
||||
];
|
||||
|
||||
const REQUIRED_WHEN_USED: ReadonlyMap<string, string> = new Map([
|
||||
|
||||
Reference in New Issue
Block a user