ldap-ts-client
Advanced tools
Comparing version 0.9.1-beta1 to 0.9.1-beta2
@@ -51,2 +51,3 @@ "use strict"; | ||
var _a, _b; | ||
console.log(`File: index.ts,`, `Line: 126 connect `); | ||
(_a = this.logger) === null || _a === void 0 ? void 0 : _a.trace("connect()"); | ||
@@ -78,2 +79,3 @@ if ((_b = this.client) === null || _b === void 0 ? void 0 : _b.connected) { | ||
var _a; | ||
console.log(`File: index.ts,`, `Line: 166 => queryAttributes`); | ||
(_a = this.logger) === null || _a === void 0 ? void 0 : _a.trace("queryAttributes()"); | ||
@@ -80,0 +82,0 @@ await this.connect(); |
{ | ||
"name": "ldap-ts-client", | ||
"version": "0.9.1-beta1", | ||
"version": "0.9.1-beta2", | ||
"description": "Type-safe LDAP client written in typescript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -36,3 +36,2 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
} | ||
interface QueryFnInput<T> { | ||
@@ -128,2 +127,4 @@ options?: Omit<SearchOptions, "attributes">; | ||
private async connect() { | ||
console.log(`File: index.ts,`, `Line: 126 connect `); | ||
this.logger?.trace("connect()"); | ||
@@ -169,2 +170,4 @@ if (this.client?.connected) { | ||
}: QueryFnInput<T>): Promise<SearchEntryObject[]> { | ||
console.log(`File: index.ts,`, `Line: 166 => queryAttributes`); | ||
this.logger?.trace("queryAttributes()"); | ||
@@ -171,0 +174,0 @@ await this.connect(); |
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
57683
1113