@candlerip/shared3 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -8,8 +8,9 @@ export declare const ENVIRONMENT_VARIABLES: {
8
8
  readonly LOGGER_SERVICE_PORT: "number";
9
9
  readonly RABBITMQ_MANAGEMENT_PORT: "number";
10
10
  readonly RABBITMQ_PORT: "number";
11
- readonly RABBITMQ_PWD: "number";
12
- readonly RABBITMQ_USER: "number";
11
+ readonly RABBITMQ_PWD: "string";
12
+ readonly RABBITMQ_URL: "string";
13
+ readonly RABBITMQ_USER: "string";
13
14
  readonly REDIS_PORT: "number";
14
15
  readonly REDIS_PWD: "string";
15
16
  readonly REDIS_URL: "string";
@@ -8,8 +8,9 @@ export const ENVIRONMENT_VARIABLES = {
8
8
  LOGGER_SERVICE_PORT: 'number',
9
9
  RABBITMQ_MANAGEMENT_PORT: 'number',
10
10
  RABBITMQ_PORT: 'number',
11
- RABBITMQ_PWD: 'number',
12
- RABBITMQ_USER: 'number',
11
+ RABBITMQ_PWD: 'string',
12
+ RABBITMQ_URL: 'string',
13
+ RABBITMQ_USER: 'string',
13
14
  REDIS_PORT: 'number',
14
15
  REDIS_PWD: 'string',
15
16
  REDIS_URL: 'string',
@@ -1 +1 @@
1
- export declare const NUMBER_ENVIRONMENT_VARIABLES: ("APP_NAME" | "CACHE_SERVICE_PORT" | "DATABASE_URL" | "DICTIONARY_SERVICE_PORT" | "DOMAIN_NAME" | "FRONTEND_URL" | "LOGGER_SERVICE_PORT" | "RABBITMQ_MANAGEMENT_PORT" | "RABBITMQ_PORT" | "RABBITMQ_PWD" | "RABBITMQ_USER" | "REDIS_PORT" | "REDIS_PWD" | "REDIS_URL" | "S3_IMAGES_BUCKET_NAME")[];
1
+ export declare const NUMBER_ENVIRONMENT_VARIABLES: ("APP_NAME" | "CACHE_SERVICE_PORT" | "DATABASE_URL" | "DICTIONARY_SERVICE_PORT" | "DOMAIN_NAME" | "FRONTEND_URL" | "LOGGER_SERVICE_PORT" | "RABBITMQ_MANAGEMENT_PORT" | "RABBITMQ_PORT" | "RABBITMQ_PWD" | "RABBITMQ_URL" | "RABBITMQ_USER" | "REDIS_PORT" | "REDIS_PWD" | "REDIS_URL" | "S3_IMAGES_BUCKET_NAME")[];
@@ -1,12 +1,12 @@
1
1
  export const consoleCustomError = (customError) => {
2
2
  console.error('***ERROR***:', customError.message);
3
3
  if (customError.err) {
4
- console.error('err:', JSON.stringify(customError.err));
4
+ console.error('ERR:', customError.err);
5
5
  }
6
6
  if (customError.info) {
7
- console.error('info:', customError.info);
7
+ console.error('INFO:', customError.info);
8
8
  }
9
9
  if (customError.props) {
10
- console.error('props:', customError.props);
10
+ console.error('PROPS:', customError.props);
11
11
  }
12
12
  };
@@ -18,7 +18,7 @@ export declare const PROJECT_CONFIG: {
18
18
  readonly environmentVariableNames: readonly ["FRONTEND_URL", "S3_IMAGES_BUCKET_NAME"];
19
19
  };
20
20
  readonly 'logger-service-project-config': {
21
- readonly environmentVariableNames: readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT"];
21
+ readonly environmentVariableNames: readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT", "RABBITMQ_URL"];
22
22
  };
23
23
  readonly 'rabbitmq-project-config': {
24
24
  readonly environmentVariableNames: readonly ["RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "RABBITMQ_PWD", "RABBITMQ_USER"];
@@ -18,7 +18,7 @@ export const PROJECT_CONFIG = {
18
18
  environmentVariableNames: ['FRONTEND_URL', 'S3_IMAGES_BUCKET_NAME'],
19
19
  },
20
20
  'logger-service-project-config': {
21
- environmentVariableNames: ['DATABASE_URL', 'LOGGER_SERVICE_PORT'],
21
+ environmentVariableNames: ['DATABASE_URL', 'LOGGER_SERVICE_PORT', 'RABBITMQ_URL'],
22
22
  },
23
23
  'rabbitmq-project-config': {
24
24
  environmentVariableNames: ['RABBITMQ_PORT', 'RABBITMQ_MANAGEMENT_PORT', 'RABBITMQ_PWD', 'RABBITMQ_USER'],