gg-mysql-connector 1.0.25 → 1.0.26

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.
@@ -216,6 +216,7 @@ class GGMySQLConnector {
216
216
  user: this.DBInfo.user,
217
217
  password: this.DBInfo.password,
218
218
  });
219
+ this.isConnected = true;
219
220
  await this.createDatabaseIfNotExist(currentConnection);
220
221
  // await currentConnection.end()
221
222
  this.connection = mysql2_1.default.createConnection(Object.assign({}, this.DBInfo));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg-mysql-connector",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -356,6 +356,7 @@ export default class GGMySQLConnector<Main> implements ClassDBInterface<Main> {
356
356
  user: this.DBInfo.user,
357
357
  password: this.DBInfo.password,
358
358
  })
359
+ this.isConnected = true
359
360
  await this.createDatabaseIfNotExist(currentConnection)
360
361
  // await currentConnection.end()
361
362