@ccci/micro-server 1.0.73 → 1.0.75
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 +1 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -113593,7 +113593,6 @@ class DatabaseConnector {
|
|
|
113593
113593
|
Logger.info("Connecting to:", config);
|
|
113594
113594
|
DatabaseConnector.connection = connection;
|
|
113595
113595
|
connections.push(connection);
|
|
113596
|
-
Logger.info("Connecting to database: SUCCESS!\n");
|
|
113597
113596
|
resolve(connections);
|
|
113598
113597
|
});
|
|
113599
113598
|
} catch (error) {
|
|
@@ -113628,7 +113627,7 @@ class DatabaseConnector {
|
|
|
113628
113627
|
async connect(connection) {
|
|
113629
113628
|
try {
|
|
113630
113629
|
Logger.info("Connecting to: ", connection);
|
|
113631
|
-
connection.authenticate();
|
|
113630
|
+
await connection.authenticate();
|
|
113632
113631
|
Logger.info("Connection to Database: Success!");
|
|
113633
113632
|
} catch (error) {
|
|
113634
113633
|
Logger.error(new Error("Connection to Database: ERROR!"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccci/micro-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
4
4
|
"module": "index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dist/*/*.d.ts"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"bun": "1.0
|
|
38
|
+
"bun": "1.1.0",
|
|
39
39
|
"cors": "^2.8.5",
|
|
40
40
|
"express": "^4.19.2",
|
|
41
41
|
"express-fileupload": "^1.5.0",
|