@ccci/micro-server 1.0.33 → 1.0.35

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -87561,7 +87561,10 @@ class DatabaseConnector {
87561
87561
  let connections = [];
87562
87562
  const configPath = `${DatabaseConnector.rootDir}/config/db.config.ts`;
87563
87563
  import(configPath).then((configs) => {
87564
- const config = configs.default()[env];
87564
+ Logger.info("configs :>> ", configs);
87565
+ Logger.info("configs.default() :>> ", configs.default);
87566
+ Logger.info("configs.default() :>> ", configs.default["development"]);
87567
+ const config = configs.default[env];
87565
87568
  Logger.info("config :>> ", config);
87566
87569
  const connection = new Sequelize(config);
87567
87570
  DatabaseConnector.connection = connection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",