Comparing version 0.0.10 to 0.0.11
14
index.js
@@ -72,14 +72,4 @@ const mysql = require('mysql'); | ||
}; | ||
this.connection.on("error", () => { | ||
let timeout = () => { | ||
setTimeout(async () => { | ||
try { | ||
await this.connect(); | ||
this.emit("connect"); | ||
} catch (err) { | ||
this.emit("error", err); | ||
timeout(); | ||
} | ||
}, 1000); | ||
}; | ||
this.connection.on("error", (err) => { | ||
this.emit("error", err); | ||
}); | ||
@@ -86,0 +76,0 @@ } |
{ | ||
"name": "amysql", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Useless wrapper over mysql", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12203
259