Comparing version 0.0.19 to 0.0.20
@@ -79,8 +79,3 @@ "use strict"; | ||
var data = await this.get(db); | ||
if(data !== undefined) { | ||
return true; | ||
} else { | ||
return false; | ||
} | ||
return ((await this.get(db)) ? true : false) | ||
@@ -87,0 +82,0 @@ } |
@@ -144,3 +144,3 @@ const langs = ["tr", "en"]; | ||
try { | ||
return this.adapter.get(db) ? true : false; | ||
return this.adapter.has(db); | ||
} catch(err) { | ||
@@ -147,0 +147,0 @@ return false; |
@@ -40,3 +40,3 @@ { | ||
}, | ||
"version": "0.0.19" | ||
"version": "0.0.20" | ||
} |
@@ -5,4 +5,4 @@ # CroxyDB | ||
# What's new in 0.0.19? | ||
- Fixed bugs. | ||
# What's new in 0.0.20? | ||
- Fixed bugs in "db.has()" function. | ||
@@ -9,0 +9,0 @@ Examples |
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
47289
1366