@discue/mongodb-resource-client
Advanced tools
Comparing version 0.14.0 to 0.15.0
@@ -93,7 +93,3 @@ const { MongoClient, Timestamp } = require('mongodb') | ||
async _getConnectedClient() { | ||
if (this._mongoDbClient?.topology?.isConnected()) { | ||
return this._mongoDbClient | ||
} else { | ||
return this._mongoDbClient.connect() | ||
} | ||
return this._mongoDbClient | ||
} | ||
@@ -100,0 +96,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"description": "Simple wrapper around mongodb client allowing easier managing of resources", | ||
@@ -8,0 +8,0 @@ "main": "lib/index", |
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
94247
2328