Skip to content

Commit

Permalink
Export NodeClickHouseClient and WebClickHouseClient as a value (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
matbour authored Aug 7, 2024
1 parent a332672 commit 899b34a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.5.0 (Node.js, Web)

## New features

- `ClickHouseClient` is now exported as a value from packages, allowing to a better integration in dependency injection frameworks which rely on IoC.

# 1.4.0 (Node.js)

## New features
Expand Down
4 changes: 2 additions & 2 deletions packages/client-node/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type {
export {
NodeClickHouseClient as ClickHouseClient,
QueryResult,
type QueryResult,
} from './client'
export { createClient } from './client'
export { type NodeClickHouseClientConfigOptions as ClickHouseClientConfigOptions } from './config'
Expand Down
4 changes: 2 additions & 2 deletions packages/client-web/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type {
export {
WebClickHouseClient as ClickHouseClient,
QueryResult,
type QueryResult,
} from './client'
export { createClient } from './client'
export { type WebClickHouseClientConfigOptions as ClickHouseClientConfigOptions } from './config'
Expand Down

0 comments on commit 899b34a

Please sign in to comment.