ldap-ts-client
Advanced tools
Comparing version 0.9.1-beta5 to 0.9.1-beta6
@@ -30,2 +30,3 @@ "use strict"; | ||
if (this.client) { | ||
console.log(`File: index.ts,`, `Line: 104 => destroy`); | ||
this.client.destroy((err) => { | ||
@@ -39,2 +40,6 @@ reject(err); | ||
}); | ||
this.client.on("connectError", (err) => { | ||
console.log(`File: index.ts,`, `Line: 118 => `, err); | ||
reject(err); | ||
}); | ||
this.client.bind(this.config.user, this.config.pass, (err, result) => { | ||
@@ -41,0 +46,0 @@ if (err) { |
{ | ||
"name": "ldap-ts-client", | ||
"version": "0.9.1-beta5", | ||
"version": "0.9.1-beta6", | ||
"description": "Type-safe LDAP client written in typescript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -104,2 +104,4 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
if (this.client) { | ||
console.log(`File: index.ts,`, `Line: 104 => destroy`); | ||
this.client.destroy((err: any) => { | ||
@@ -115,2 +117,8 @@ reject(err); | ||
this.client.on("connectError", (err) => { | ||
console.log(`File: index.ts,`, `Line: 118 => `, err); | ||
reject(err); | ||
}); | ||
this.client.bind(this.config.user, this.config.pass, (err, result) => { | ||
@@ -117,0 +125,0 @@ if (err) { |
Sorry, the diff of this file is not supported yet
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
59809
1147