@twin.org/entity-storage-connector-mysql 0.0.1-next.19 → 0.0.1-next.20
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/cjs/index.cjs +2 -4
- package/dist/esm/index.mjs +2 -4
- package/docs/changelog.md +1 -1
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -92,8 +92,6 @@ class MySqlEntityStorageConnector {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
catch (error) {
|
|
95
|
-
// eslint-disable-next-line no-console
|
|
96
|
-
console.log("error", error);
|
|
97
95
|
const errors = error instanceof AggregateError ? error.errors : [error];
|
|
98
96
|
for (const err of errors) {
|
|
99
97
|
await nodeLogging?.log({
|
|
@@ -280,7 +278,7 @@ class MySqlEntityStorageConnector {
|
|
|
280
278
|
}
|
|
281
279
|
/**
|
|
282
280
|
* Create a new DB connection.
|
|
283
|
-
* @returns The
|
|
281
|
+
* @returns The MySql connection.
|
|
284
282
|
* @internal
|
|
285
283
|
*/
|
|
286
284
|
async createConnection() {
|
|
@@ -293,7 +291,7 @@ class MySqlEntityStorageConnector {
|
|
|
293
291
|
}
|
|
294
292
|
/**
|
|
295
293
|
* Create a new DB connection configuration.
|
|
296
|
-
* @returns The
|
|
294
|
+
* @returns The MySql connection configuration.
|
|
297
295
|
* @internal
|
|
298
296
|
*/
|
|
299
297
|
createConnectionConfig() {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -90,8 +90,6 @@ class MySqlEntityStorageConnector {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
catch (error) {
|
|
93
|
-
// eslint-disable-next-line no-console
|
|
94
|
-
console.log("error", error);
|
|
95
93
|
const errors = error instanceof AggregateError ? error.errors : [error];
|
|
96
94
|
for (const err of errors) {
|
|
97
95
|
await nodeLogging?.log({
|
|
@@ -278,7 +276,7 @@ class MySqlEntityStorageConnector {
|
|
|
278
276
|
}
|
|
279
277
|
/**
|
|
280
278
|
* Create a new DB connection.
|
|
281
|
-
* @returns The
|
|
279
|
+
* @returns The MySql connection.
|
|
282
280
|
* @internal
|
|
283
281
|
*/
|
|
284
282
|
async createConnection() {
|
|
@@ -291,7 +289,7 @@ class MySqlEntityStorageConnector {
|
|
|
291
289
|
}
|
|
292
290
|
/**
|
|
293
291
|
* Create a new DB connection configuration.
|
|
294
|
-
* @returns The
|
|
292
|
+
* @returns The MySql connection configuration.
|
|
295
293
|
* @internal
|
|
296
294
|
*/
|
|
297
295
|
createConnectionConfig() {
|
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/entity-storage-connector-mysql",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.20",
|
|
4
4
|
"description": "Entity Storage connector implementation using MySQL storage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/entity": "next",
|
|
19
|
-
"@twin.org/entity-storage-models": "0.0.1-next.
|
|
19
|
+
"@twin.org/entity-storage-models": "0.0.1-next.20",
|
|
20
20
|
"@twin.org/logging-models": "next",
|
|
21
21
|
"@twin.org/nameof": "next",
|
|
22
22
|
"mysql2": "^3.12.0"
|