ldap-ts-client
Advanced tools
Comparing version 0.9.1 to 0.10.0
@@ -28,3 +28,3 @@ "use strict"; | ||
const data2 = await client2.queryAttributes({ | ||
attributes: ["cn"], | ||
attributes: ["*"], | ||
options: { | ||
@@ -31,0 +31,0 @@ filter: "(&(objectClass=user)(cn=*))", |
@@ -34,4 +34,8 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
options?: Omit<SearchOptions, "attributes">; | ||
attributes?: Array<keyof Partial<T>> | "*"; | ||
/** select return attributes | ||
* - ["*"] for all available fields | ||
*/ | ||
attributes?: Array<keyof Partial<T>> | ["*"]; | ||
controls?: Control | Control[]; | ||
/** base dn to search */ | ||
base?: string; | ||
@@ -38,0 +42,0 @@ } |
{ | ||
"name": "ldap-ts-client", | ||
"version": "0.9.1", | ||
"version": "0.10.0", | ||
"description": "Type-safe LDAP client written in typescript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -28,3 +28,3 @@ import { config } from "dotenv"; | ||
const data2 = await client2.queryAttributes<User>({ | ||
attributes: ["cn"], | ||
attributes: ["*"], | ||
options: { | ||
@@ -31,0 +31,0 @@ filter: "(&(objectClass=user)(cn=*))", |
@@ -38,4 +38,8 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
options?: Omit<SearchOptions, "attributes">; | ||
attributes?: Array<keyof Partial<T>> | "*"; | ||
/** select return attributes | ||
* - ["*"] for all available fields | ||
*/ | ||
attributes?: Array<keyof Partial<T>> | ["*"]; | ||
controls?: Control | Control[]; | ||
/** base dn to search */ | ||
base?: string; | ||
@@ -42,0 +46,0 @@ } |
Sorry, the diff of this file is not supported yet
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
60631
1181