minimonolith 0.19.0 → 0.20.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.
package/README.md CHANGED
@@ -137,6 +137,11 @@ MM_API_PROD_ENV=FALSE
137
137
  [...]
138
138
  ```
139
139
 
140
+ *NOTICE*: If this variables are not added to .env/Lambda environment it is assumed standard PROD environment (DEV=FLASE & PROD=TRUE)
141
+ - This means that sequelize will not alter automatically tables having mismatches with defined model.js files
142
+ - Database dialect/credentials detected will not be printed
143
+ - Critical errors will not make the app crash
144
+
140
145
  ## Database Authentication
141
146
 
142
147
  To set up authentication for the database, you need to provide the necessary environment variables in a `.env` file. Depending on the database dialect the required variables will differ.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "minimonolith",
3
3
  "type": "module",
4
- "version": "0.19.0",
4
+ "version": "0.20.0",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  error: (...ERROR) => { console.error(...ERROR) },
3
3
  log: (...MESSAGE) => { console.log(...MESSAGE) },
4
- qa: (...MESSAGE) => { if (process.env.MM_API_PROD_ENV!=='TRUE') console.log(...MESSAGE) }
4
+ qa: (...MESSAGE) => { if (process.env.MM_API_PROD_ENV==='FALSE') console.log(...MESSAGE) }
5
5
  };