ldap-ts-client
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -30,3 +30,3 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
bind(): Promise<ldap.Client>; | ||
unbind(): Promise<unknown>; | ||
unbind(): Promise<void>; | ||
private connect; | ||
@@ -33,0 +33,0 @@ /** @description raw search to provided full flexibility */ |
@@ -17,3 +17,2 @@ "use strict"; | ||
this.client = ldapjs_1.default.createClient(Object.assign(Object.assign({}, this.config), { log: this.config.logger })); | ||
this.bind(); | ||
} | ||
@@ -20,0 +19,0 @@ /** @return a connected ldap client that is useful for use flexibility of [ldap.js](http://ldapjs.org/) directly. */ |
{ | ||
"name": "ldap-ts-client", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Type-safe LDAP client written in typescript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -38,3 +38,2 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
}); | ||
this.bind(); | ||
} | ||
@@ -60,3 +59,3 @@ | ||
public async unbind() { | ||
public async unbind(): Promise<void> { | ||
this.logger?.trace("unbind()"); | ||
@@ -63,0 +62,0 @@ return new Promise((resolve, reject) => { |
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
31667
524