Skip to content

Commit f0762f2

Browse files
author
Mathieu Bour
committed
feat(types): export Client class
- The Client class may be used bit dependencies injectors. - Bump package version to 0.1.1
1 parent a8a2cd4 commit f0762f2

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [Version 0.1.1 - Export `Client`](https://github.com/csquare-ai/ldapjs-client/releases/tag/0.1.0)
4+
5+
- **feat**: export `Client` class
6+
37
## [Version 0.1.0 - Initial release](https://github.com/csquare-ai/ldapjs-client/releases/tag/0.1.0)
48

59
- **feat**: initial release

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@csquare/ldapjs-client",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Promisified wrapper around the ldapjs client.",
55
"keywords": [
66
"ldap",

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ConnectionOptions } from 'tls';
1414
/**
1515
* Promisified wrapper around {@see createClient}.
1616
*/
17-
class Client extends EventEmitter {
17+
export class Client extends EventEmitter {
1818
private readonly ldapjs: _Client;
1919

2020
constructor(options: ClientOptions) {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { createClient } from './client';
1+
export { createClient, Client } from './client';

0 commit comments

Comments
 (0)