opticore-webapp-core 1.0.19 → 1.0.20

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.
package/dist/index.cjs CHANGED
@@ -188,7 +188,7 @@ var import_opticore_logger = require("opticore-logger");
188
188
  // src/core/config/logger/logger.config.ts
189
189
  var import_opticore_env_access = require("opticore-env-access");
190
190
  var loggerConfig = (envDir) => {
191
- const getEnvAccess = (0, import_opticore_env_access.getEnvironnementValue)(envDir);
191
+ const getEnvAccess = (0, import_opticore_env_access.getEnvironmentValue)(envDir);
192
192
  return {
193
193
  logLevels: [
194
194
  getEnvAccess.logLevelInfo,
@@ -215,8 +215,8 @@ var loggerConfig = (envDir) => {
215
215
  };
216
216
 
217
217
  // src/application/services/loggerFileConfiguration.service.ts
218
- var SLoggerFileConfiguration = (environnementPath) => {
219
- return new import_opticore_logger.LoggerCore(loggerConfig(environnementPath));
218
+ var SLoggerFileConfiguration = (environmentPath) => {
219
+ return new import_opticore_logger.LoggerCore(loggerConfig(environmentPath));
220
220
  };
221
221
 
222
222
  // src/application/services/asymmetricCryptionDataWithPrivateRSAKey.service.ts
@@ -556,14 +556,14 @@ var import_path = __toESM(require("path"), 1);
556
556
  var import_module = require("module");
557
557
  var import_opticore_translator3 = require("opticore-translator");
558
558
  var import_opticore_http_response3 = require("opticore-http-response");
559
- var translateWebAppCoreLanguageLoader = (environnementPath, localLang) => {
559
+ var translateWebAppCoreLanguageLoader = (environmentPath, localLang) => {
560
560
  try {
561
561
  const require2 = (0, import_module.createRequire)(importMetaUrl);
562
562
  const packagePath = import_path.default.dirname(require2.resolve("opticore-webapp-core"));
563
563
  const translateMsgJsonFilePath = import_path.default.join(packagePath, "utils", "translations");
564
564
  import_opticore_translator3.TranslationLoader.loadTranslations(translateMsgJsonFilePath);
565
565
  } catch (err) {
566
- SLoggerFileConfiguration(environnementPath).error({
566
+ SLoggerFileConfiguration(environmentPath).error({
567
567
  message: import_opticore_translator3.TranslationLoader.t(err.message, localLang),
568
568
  title: err.code,
569
569
  errorType: err.code,
@@ -792,9 +792,9 @@ var import_opticore_translator6 = require("opticore-translator");
792
792
  var PathModuleVerifier = class {
793
793
  log;
794
794
  localeLanguage;
795
- constructor(localeLanguage, environnementPath) {
795
+ constructor(localeLanguage, environmentPath) {
796
796
  this.localeLanguage = localeLanguage;
797
- this.log = SLoggerFileConfiguration(environnementPath);
797
+ this.log = SLoggerFileConfiguration(environmentPath);
798
798
  }
799
799
  /**
800
800
  * Verifies if modules at specific paths are loaded.
@@ -840,17 +840,17 @@ var import_opticore_translator7 = require("opticore-translator");
840
840
  var import_opticore_http_response6 = require("opticore-http-response");
841
841
  var LocalLanguageLoader = class {
842
842
  localeLanguage;
843
- environnementPath;
844
- constructor(localeLanguage, environnementPath) {
843
+ environmentPath;
844
+ constructor(localeLanguage, environmentPath) {
845
845
  this.localeLanguage = localeLanguage;
846
- this.environnementPath = environnementPath;
846
+ this.environmentPath = environmentPath;
847
847
  }
848
848
  load() {
849
849
  try {
850
850
  const translateMsgJsonFilePath = import_path5.default.join(process.cwd(), "src", "utils", "translations");
851
851
  import_opticore_translator7.TranslationLoader.loadTranslations(translateMsgJsonFilePath);
852
852
  } catch (err) {
853
- SLoggerFileConfiguration(this.environnementPath).error({
853
+ SLoggerFileConfiguration(this.environmentPath).error({
854
854
  message: err.message,
855
855
  title: err.code,
856
856
  errorType: err.code,
package/dist/index.d.cts CHANGED
@@ -313,7 +313,7 @@ declare class Utility {
313
313
  declare class PathModuleVerifier {
314
314
  private log;
315
315
  private readonly localeLanguage;
316
- constructor(localeLanguage: string, environnementPath: any);
316
+ constructor(localeLanguage: string, environmentPath: any);
317
317
  /**
318
318
  * Verifies if modules at specific paths are loaded.
319
319
  * If any module is not loaded, it throws an error.
@@ -330,8 +330,8 @@ declare class PathModuleVerifier {
330
330
 
331
331
  declare class LocalLanguageLoader {
332
332
  private readonly localeLanguage;
333
- private readonly environnementPath;
334
- constructor(localeLanguage: string, environnementPath: any);
333
+ private readonly environmentPath;
334
+ constructor(localeLanguage: string, environmentPath: any);
335
335
  load(): void;
336
336
  }
337
337
 
@@ -391,26 +391,26 @@ declare function TRawBodyParser(options: IBodyParserOptions, localLanguage: stri
391
391
  *
392
392
  * @param options
393
393
  * @param localLanguage
394
- * @param environnementPath
394
+ * @param environmentPath
395
395
  *
396
396
  * Use by this: textBodyParserType({ type: 'text/html' })
397
397
  *
398
398
  * in express, it can be used like this: app.use(textBodyParserType({ type: 'text/html' }));
399
399
  *
400
400
  */
401
- declare function TTextBodyParser(options: IBodyParserOptions, localLanguage: string, environnementPath: any): void;
401
+ declare function TTextBodyParser(options: IBodyParserOptions, localLanguage: string, environmentPath: any): void;
402
402
 
403
403
  /**
404
404
  *
405
405
  * @param options
406
406
  * @param localLanguage
407
- * @param environnementPath
407
+ * @param environmentPath
408
408
  *
409
409
  * Use by this: urlencodedBodyParserType({ type: 'application/x-www-form-urlencoded' })
410
410
  *
411
411
  * in express, it can be used like this: app.use(urlencodedBodyParserType({ type: 'application/x-www-form-urlencoded' }));
412
412
  *
413
413
  */
414
- declare function TUrlencodedBodyParser(options: IBodyParserOptions, localLanguage: string, environnementPath: any): void;
414
+ declare function TUrlencodedBodyParser(options: IBodyParserOptions, localLanguage: string, environmentPath: any): void;
415
415
 
416
416
  export { CLogLevel, CSignRSAKeyComponent, Environment, type IBodyParserOptions, type IResponseBodyEndFromResponseEvent, type IResponseBodyWriteFromResponseEvent, type IWrappingBodyResponse, LocalLanguageLoader, PathModuleVerifier, RSAKeyDecryption, RSAKeyEncryption, SAsymmetricCryptionDataWithPrivateRSAKey, SAsymmetricCryptionDataWithPublicRSAKey, TJSONBodyParser, type TLogLevel, type TOriginalWriteEncoding, type TParseFunction, TRawBodyParser, TTextBodyParser, TUrlencodedBodyParser, Utility, YamlParsing, dateTimeFormatted, loggerConfig };
package/dist/index.d.ts CHANGED
@@ -313,7 +313,7 @@ declare class Utility {
313
313
  declare class PathModuleVerifier {
314
314
  private log;
315
315
  private readonly localeLanguage;
316
- constructor(localeLanguage: string, environnementPath: any);
316
+ constructor(localeLanguage: string, environmentPath: any);
317
317
  /**
318
318
  * Verifies if modules at specific paths are loaded.
319
319
  * If any module is not loaded, it throws an error.
@@ -330,8 +330,8 @@ declare class PathModuleVerifier {
330
330
 
331
331
  declare class LocalLanguageLoader {
332
332
  private readonly localeLanguage;
333
- private readonly environnementPath;
334
- constructor(localeLanguage: string, environnementPath: any);
333
+ private readonly environmentPath;
334
+ constructor(localeLanguage: string, environmentPath: any);
335
335
  load(): void;
336
336
  }
337
337
 
@@ -391,26 +391,26 @@ declare function TRawBodyParser(options: IBodyParserOptions, localLanguage: stri
391
391
  *
392
392
  * @param options
393
393
  * @param localLanguage
394
- * @param environnementPath
394
+ * @param environmentPath
395
395
  *
396
396
  * Use by this: textBodyParserType({ type: 'text/html' })
397
397
  *
398
398
  * in express, it can be used like this: app.use(textBodyParserType({ type: 'text/html' }));
399
399
  *
400
400
  */
401
- declare function TTextBodyParser(options: IBodyParserOptions, localLanguage: string, environnementPath: any): void;
401
+ declare function TTextBodyParser(options: IBodyParserOptions, localLanguage: string, environmentPath: any): void;
402
402
 
403
403
  /**
404
404
  *
405
405
  * @param options
406
406
  * @param localLanguage
407
- * @param environnementPath
407
+ * @param environmentPath
408
408
  *
409
409
  * Use by this: urlencodedBodyParserType({ type: 'application/x-www-form-urlencoded' })
410
410
  *
411
411
  * in express, it can be used like this: app.use(urlencodedBodyParserType({ type: 'application/x-www-form-urlencoded' }));
412
412
  *
413
413
  */
414
- declare function TUrlencodedBodyParser(options: IBodyParserOptions, localLanguage: string, environnementPath: any): void;
414
+ declare function TUrlencodedBodyParser(options: IBodyParserOptions, localLanguage: string, environmentPath: any): void;
415
415
 
416
416
  export { CLogLevel, CSignRSAKeyComponent, Environment, type IBodyParserOptions, type IResponseBodyEndFromResponseEvent, type IResponseBodyWriteFromResponseEvent, type IWrappingBodyResponse, LocalLanguageLoader, PathModuleVerifier, RSAKeyDecryption, RSAKeyEncryption, SAsymmetricCryptionDataWithPrivateRSAKey, SAsymmetricCryptionDataWithPublicRSAKey, TJSONBodyParser, type TLogLevel, type TOriginalWriteEncoding, type TParseFunction, TRawBodyParser, TTextBodyParser, TUrlencodedBodyParser, Utility, YamlParsing, dateTimeFormatted, loggerConfig };
package/dist/index.js CHANGED
@@ -141,9 +141,9 @@ var RSAKeyDecryption = class {
141
141
  import { LoggerCore } from "opticore-logger";
142
142
 
143
143
  // src/core/config/logger/logger.config.ts
144
- import { getEnvironnementValue } from "opticore-env-access";
144
+ import { getEnvironmentValue } from "opticore-env-access";
145
145
  var loggerConfig = (envDir) => {
146
- const getEnvAccess = getEnvironnementValue(envDir);
146
+ const getEnvAccess = getEnvironmentValue(envDir);
147
147
  return {
148
148
  logLevels: [
149
149
  getEnvAccess.logLevelInfo,
@@ -170,8 +170,8 @@ var loggerConfig = (envDir) => {
170
170
  };
171
171
 
172
172
  // src/application/services/loggerFileConfiguration.service.ts
173
- var SLoggerFileConfiguration = (environnementPath) => {
174
- return new LoggerCore(loggerConfig(environnementPath));
173
+ var SLoggerFileConfiguration = (environmentPath) => {
174
+ return new LoggerCore(loggerConfig(environmentPath));
175
175
  };
176
176
 
177
177
  // src/application/services/asymmetricCryptionDataWithPrivateRSAKey.service.ts
@@ -511,14 +511,14 @@ import path from "path";
511
511
  import { createRequire } from "module";
512
512
  import { TranslationLoader as TranslationLoader3 } from "opticore-translator";
513
513
  import { HttpStatusCode as HttpStatusCode2 } from "opticore-http-response";
514
- var translateWebAppCoreLanguageLoader = (environnementPath, localLang) => {
514
+ var translateWebAppCoreLanguageLoader = (environmentPath, localLang) => {
515
515
  try {
516
516
  const require2 = createRequire(import.meta.url);
517
517
  const packagePath = path.dirname(require2.resolve("opticore-webapp-core"));
518
518
  const translateMsgJsonFilePath = path.join(packagePath, "utils", "translations");
519
519
  TranslationLoader3.loadTranslations(translateMsgJsonFilePath);
520
520
  } catch (err) {
521
- SLoggerFileConfiguration(environnementPath).error({
521
+ SLoggerFileConfiguration(environmentPath).error({
522
522
  message: TranslationLoader3.t(err.message, localLang),
523
523
  title: err.code,
524
524
  errorType: err.code,
@@ -747,9 +747,9 @@ import { TranslationLoader as TranslationLoader6 } from "opticore-translator";
747
747
  var PathModuleVerifier = class {
748
748
  log;
749
749
  localeLanguage;
750
- constructor(localeLanguage, environnementPath) {
750
+ constructor(localeLanguage, environmentPath) {
751
751
  this.localeLanguage = localeLanguage;
752
- this.log = SLoggerFileConfiguration(environnementPath);
752
+ this.log = SLoggerFileConfiguration(environmentPath);
753
753
  }
754
754
  /**
755
755
  * Verifies if modules at specific paths are loaded.
@@ -795,17 +795,17 @@ import { TranslationLoader as TranslationLoader7 } from "opticore-translator";
795
795
  import { HttpStatusCode as HttpStatusCode5 } from "opticore-http-response";
796
796
  var LocalLanguageLoader = class {
797
797
  localeLanguage;
798
- environnementPath;
799
- constructor(localeLanguage, environnementPath) {
798
+ environmentPath;
799
+ constructor(localeLanguage, environmentPath) {
800
800
  this.localeLanguage = localeLanguage;
801
- this.environnementPath = environnementPath;
801
+ this.environmentPath = environmentPath;
802
802
  }
803
803
  load() {
804
804
  try {
805
805
  const translateMsgJsonFilePath = path4.join(process.cwd(), "src", "utils", "translations");
806
806
  TranslationLoader7.loadTranslations(translateMsgJsonFilePath);
807
807
  } catch (err) {
808
- SLoggerFileConfiguration(this.environnementPath).error({
808
+ SLoggerFileConfiguration(this.environmentPath).error({
809
809
  message: err.message,
810
810
  title: err.code,
811
811
  errorType: err.code,
@@ -0,0 +1,130 @@
1
+ {
2
+ "erBadDbError": "ER_BAD_DB_ERROR",
3
+ "erAccessDeniedError": "ER_ACCESS_DENIED_ERROR",
4
+ "erNotSupportedAuthMode": "ER_NOT_SUPPORTED_AUTH_MODE",
5
+ "eAiAgain": "EAI_AGAIN",
6
+ "dbConnection": "Database connection",
7
+ "dbConnectionClosed": "MySQL connection is closed",
8
+ "mysqlErrorCon": "MysqlError connection",
9
+ "mySQLError": "MysqlError",
10
+ "mySqlCloseConnection": "MySql close connection",
11
+ "dbConnexionSuccess": "The database connection was successful 🚀",
12
+ "mongoConnectionSuccess": "Connection to database is successfully.",
13
+ "connSuccess": "success connection",
14
+ "mongoDBConnectionChecker": "MongoDB Connection Checker",
15
+ "mongoConnection": "connection",
16
+ "mongoDBAuthentication": "authentication",
17
+ "mongoDBConnection": "MongoDB connection : {err}",
18
+ "mongoDBAuthenticationFailed": "failed",
19
+ "mongoDBUnableParsingUrl": "unable to parse",
20
+ "mongoDBConnectionUrl": "url",
21
+ "mongoDBServerSelection": "MongoServer selection error",
22
+ "mongoDBServer": "MongoServer",
23
+ "mongoDBConnectionError": "connection error",
24
+ "mongoDBError": "error",
25
+ "mongoDBAuthenticationError": "Authentication failed, be sure the credentials is correct.",
26
+ "postgresDBConnectionChecker": "PostgresDB Connection Checker",
27
+ "postgresConnection": "connection",
28
+ "postgresConnectionSuccess": "Connection to database is successfully.",
29
+ "postgresSuccessConn": "Postgres client Connection",
30
+ "postgresClosingConnSuccess": "Postgres client is close connection.",
31
+ "postgresEndClientRejection": "Postgres client end rejected",
32
+ "postgresClientError": "Postgres client error",
33
+ "postgresEndRejection": "End rejected",
34
+ "postgresConnError": "Postgres connection error",
35
+ "postgresException": "Exception",
36
+ "rsaKeyNotFound": "RSA key provided is not found.",
37
+ "encryptionWithPrivateKeyFailed": "Encryption With PrivateKey",
38
+ "encryptionFailed": "Encryption failed",
39
+ "verifyExistingKey": "Verify Existing Key",
40
+ "signatureRSAKeyFailed": "Signature verification failed.",
41
+ "signatureRSAKeysError": "Signature RSA Keys Error",
42
+ "errorDecryption": "Error decryption with private key",
43
+ "errorNameNotVerifyingRSAKey": "Error Verify RSA Key",
44
+ "decryptionWithPublicKeyFailed": "Decryption With PublicKey",
45
+ "decryptionFailed": "Decryption failed",
46
+ "verifyRSAKey": "Verify RSA Keys",
47
+ "verifyRSAKeyFailed": "Verify RSA Keys Failed",
48
+ "notVerifying": "Verification failed",
49
+ "mongoServerError": "MongoServerSelectionError: getaddrinfo EAI_AGAIN ({dbHost} is not allow to database connection)",
50
+ "dbUrlParsingError": "Unable to parse {dbHost}:{dbPort} with URL",
51
+ "errorDBHost": "A database host {host} does not allow connection. Please either set the host like this: {localhost} in your .env file",
52
+ "unknownDB": "Database {database} is unknown. Please try to use Database CLI to create your database, or do it manually in your Database Management System",
53
+ "accessDeniedToDBCon": "Access denied for user {user}. Database credentials in .env file are User: {user} and Password: {password}. '{user}''{password}'@'localhost'. Try to set user and password in .env file",
54
+ "badFormat": "Unsupported YAML line format",
55
+ "parsingFailed": "YAML Parsing failed",
56
+ "unsupportedFormat": "Unsupported YAML format",
57
+ "readingError": "Error reading YAML file",
58
+ "invalidRequest": "Invalid request",
59
+ "moduleNotLoaded": "The following module paths are not loaded: {notLoadedPaths}",
60
+ "serverRouteNotExist": "This route : http://{host}:{port} do not exist.",
61
+ "webServer": "Web server",
62
+ "listening": "listening",
63
+ "webHost": "host",
64
+ "badHost": "bad host",
65
+ "hostNotFound": "not found",
66
+ "errorHostUrl": "The host and port are not define, please define them in .env",
67
+ "badPort": "bad port",
68
+ "errorPort": "The port is not correct. Please define a right port with number port.",
69
+ "errorHost": "The host can't be empty or blank. Please define a string host in .env",
70
+ "serverStart": "Server start",
71
+ "serverStartError": "Server start error",
72
+ "processExitCode": "Process will exit with code: {code}",
73
+ "beforeExit": "BeforeExit",
74
+ "processBeforeExit": "process before exit",
75
+ "childProcessDiscon": "Child process disconnected",
76
+ "processDiscon": "process disconnected",
77
+ "disconnected": "Disconnected",
78
+ "completed": "completed",
79
+ "finishingProcessWell": "The process finished as expected and everything is ok",
80
+ "serverStopped": "[OK] The server shutting down",
81
+ "somethingWentWrong": "Something went wrong",
82
+ "genErrors": "General Errors",
83
+ "exited": "Exited",
84
+ "incorrectCmd": "Incorrect using of shell commands",
85
+ "misuseShell": "Misuse of shell builtins",
86
+ "cmdNotExecutable": "The command is found but is not executable (e.g., trying to execute a directory)",
87
+ "cmdNotFound": "Command not found",
88
+ "cmdNotFoundInSystemPath": "The command was not found in the system's PATH or is misspelled",
89
+ "argInvalid": "Invalid argument",
90
+ "scriptEndedManuallyByCtrlC": "Indicates that the script was manually terminated by the user using the Control-C (SIGINT) signal",
91
+ "processEndedBySIGKILL": "Indicates that the process was terminated by a SIGKILL signal, possibly due to an out-of-memory situation",
92
+ "scriptEnded": "Script terminated",
93
+ "accessProcessIllegally": "Indicates that the process accessed an illegal memory address (segfault)",
94
+ "defaultSegment": "Segmentation fault",
95
+ "processReceivedSigtermSignal": "Indicates that the process received a SIGTERM signal to terminate",
96
+ "processReceived": "process received a SIGTERM",
97
+ "exitCode": "An exit code that is outside the allowable range (0-255 for Unix-like systems)",
98
+ "outRange": "out of range",
99
+ "errorOccurring": "Error is occurring",
100
+ "errors": "errors",
101
+ "promiseRejectionHandled": "Promise rejection is handled at : {promise}",
102
+ "rejectionPromise": "rejection promise",
103
+ "uncaughtExceptionHandled": "uncaught exception handled",
104
+ "unhandledRejectionAtPromise": "Unhandled Rejection at: Promise {promise} -- reason {reason}",
105
+ "unhandledRejection": "Unhandled rejection",
106
+ "processGotMsg": "process got message {message}",
107
+ "msgException": "message exception",
108
+ "promiseReason": "{promise} -- {reason}",
109
+ "multipleResolvesDetected": "Multiple resolves detected : {type}",
110
+ "serverWebStopped": "The Web server has been stopped !",
111
+ "okSuccess": "[ OK ] Success",
112
+ "processPIDReceivedSignal": "Process ${process.pid} received a SIGTERM signal : {signal}",
113
+ "serverClosed": "Server is closed",
114
+ "allProcessStopped": "All processes are stopped",
115
+ "serverDroppedCon": "The server dropped new connections",
116
+ "serverMaxCon": "Server maxConnection",
117
+ "internalServerError": "Internal Server Error",
118
+ "resStatusNotFunc": "res.status is not a function",
119
+ "respndNotFunc": "response not Function",
120
+ "expressErrorHandlingMiddleware": "Express error-handling middleware",
121
+ "expressError": "Express error",
122
+ "serverRunning": "The server is running in",
123
+ "okServerListening": "[OK] Web server listening",
124
+ "webServerUseNodeVersion": "The Web server is using Node.js version",
125
+ "startupTime": "Startup time:",
126
+ "totalMemory": "Resident Set Size - total memory allocated for the process execution :",
127
+ "memoryUsedDuringExecution": "Actual memory used during the execution :",
128
+ "memoryUsedByUser": "Memory usage by user :",
129
+ "memoryUsedBySystem": "Memory usage by system :"
130
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "erBadDbError": "ER_BAD_DB_ERROR",
3
+ "erAccessDeniedError": "ER_ACCESS_DENIED_ERROR",
4
+ "erNotSupportedAuthMode": "ER_NOT_SUPPORTED_AUTH_MODE",
5
+ "eAiAgain": "EAI_AGAIN",
6
+ "dbConnection": "DataBase connection",
7
+ "dbConnectionClosed": "MySQL connection is closed",
8
+ "mysqlErrorCon": "MysqlError connection",
9
+ "mySQLError": "MysqlError",
10
+ "mySqlCloseConnection": "MySql close connection",
11
+ "mongoConnectionSuccess": "Connection to database is successfully.",
12
+ "mongoDBConnectionChecker": "MongoDB Connection Checker",
13
+ "mongoConnection": "connection",
14
+ "mongoDBAuthentication": "authentication",
15
+ "mongoDBConnection": "MongoDB connection",
16
+ "mongoDBAuthenticationFailed": "failed",
17
+ "mongoDBUnableParsingUrl": "unable to parse",
18
+ "mongoDBConnectionUrl": "url",
19
+ "mongoDBServerSelection": "MongoServer selection error",
20
+ "mongoDBServer": "MongoServer",
21
+ "mongoDBConnectionError": "connection error",
22
+ "mongoDBError": "error",
23
+ "mongoDBAuthenticationError": "Authentication failed, be sure the credentials is correct.",
24
+ "postgresDBConnectionChecker": "PostgresDB Connection Checker",
25
+ "postgresConnection": "connection",
26
+ "postgresConnectionSuccess": "Connection to database is successfully.",
27
+ "postgresSuccessConn": "Postgres client Connection",
28
+ "postgresClosingConnSuccess": "Postgres client is close connection.",
29
+ "postgresEndClientRejection": "Postgres client end rejected",
30
+ "postgresClientError": "Postgres client error",
31
+ "postgresEndRejection": "End rejected",
32
+ "postgresConnError": "Postgres connection error",
33
+ "postgresException": "Exception",
34
+ "rsaKeyNotFound": "RSA key provided is not found.",
35
+ "encryptionWithPrivateKeyFailed": "Encryption With PrivateKey",
36
+ "encryptionFailed": "Encryption failed",
37
+ "verifyExistingKey": "Verify Existing Key",
38
+ "signatureRSAKeyFailed": "Signature verification failed.",
39
+ "signatureRSAKeysError": "Signature RSA Keys Error",
40
+ "errorDecryption": "Error decryption with private key",
41
+ "errorNameNotVerifyingRSAKey": "Error Verify RSA Key",
42
+ "decryptionWithPublicKeyFailed": "Decryption With PublicKey",
43
+ "decryptionFailed": "Decryption failed",
44
+ "verifyRSAKey": "Verify RSA Keys",
45
+ "verifyRSAKeyFailed": "Verify RSA Keys Failed",
46
+ "notVerifying": "Verification failed",
47
+ "mongoServerError": "MongoServerSelectionError: getaddrinfo EAI_AGAIN ({dbHost} is not allow to database connection)",
48
+ "dbUrlParsingError": "Unable to parse ${dbHost}:${dbPort} with URL"
49
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticore-webapp-core",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "opticore Web Application core module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31,9 +31,9 @@
31
31
  "mongodb": "^6.6.1",
32
32
  "mysql": "^2.18.1",
33
33
  "opticore-catch-exception-error": "^1.0.25",
34
- "opticore-env-access": "^1.0.8",
35
- "opticore-express": "^1.0.3",
36
- "opticore-http-response": "^1.0.5",
34
+ "opticore-env-access": "^1.0.12",
35
+ "opticore-express": "^1.0.7",
36
+ "opticore-http-response": "^1.0.9",
37
37
  "opticore-inject-dependency": "^1.0.12",
38
38
  "opticore-logger": "^1.0.17",
39
39
  "opticore-translator": "^1.0.10",