@ccci/micro-server 1.0.61 → 1.0.63

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.js CHANGED
@@ -119180,8 +119180,8 @@ class ApplicationServer {
119180
119180
  mailer.connect(options);
119181
119181
  }
119182
119182
  if (sync) {
119183
- sync.forEach((model) => {
119184
- DatabaseConnector.sync(model, true);
119183
+ sync.forEach(async (model) => {
119184
+ await DatabaseConnector.sync(model, true);
119185
119185
  });
119186
119186
  }
119187
119187
  });
@@ -10,6 +10,7 @@ export default class ApplicationServer {
10
10
  * @param {number} port port for the micro service
11
11
  * @param {ApplicationOptionType} options additional server configuration
12
12
  * @param {Array<String>} sync models to be sync to the database
13
+ *
13
14
  */
14
15
  static bootstrap(port: number, options?: ApplicationOptionType, sync?: Array<string>): Promise<void>;
15
16
  getInstance(): express.Application;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",