vona-module-a-version 5.0.30 → 5.0.32

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -209,7 +209,7 @@ let ServiceDatabase = (_dec$7 = Service(), _dec2$7 = BeanInfo({
209
209
  databaseName = dbs[0].name;
210
210
  }
211
211
  // set config and reload client
212
- await client.changeConfigAndReload(databaseName);
212
+ await client.changeConfigConnectionAndReloadWorker(databaseName);
213
213
  this.$logger.silly(chalk.cyan(`dialect: ${client.db.dialectName}`));
214
214
  this.$logger.silly(chalk.cyan(`database: ${databaseName}, pid: ${process.pid}`));
215
215
  }
@@ -228,7 +228,7 @@ let ServiceDatabase = (_dec$7 = Service(), _dec2$7 = BeanInfo({
228
228
  // create database
229
229
  const databaseName = await this.__createDatabase(client, configInstanceBase);
230
230
  // set config and reload client
231
- await client.changeConfigAndReload(databaseName);
231
+ await client.changeConfigConnectionAndReloadWorker(databaseName);
232
232
  // database ready
233
233
  this.$logger.silly(chalk.cyan(`dialect: ${client.db.dialectName}`));
234
234
  this.$logger.silly(chalk.cyan(`database: ${databaseName}, pid: ${process.pid}`));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-version",
3
3
  "type": "module",
4
- "version": "5.0.30",
4
+ "version": "5.0.32",
5
5
  "vonaModule": {
6
6
  "fileVersion": 1,
7
7
  "dependencies": {},