Skip to content

Commit

Permalink
[Backport 8.1] Export SniffingTransport (#1653)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and delvedor committed Mar 3, 2022
1 parent c51560e commit 64ed0ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
*/

import Client from './lib/client'
import SniffingTransport from './lib/sniffingTransport'

export * from '@elastic/transport'
export { Client }
export { Client, SniffingTransport }
export type { ClientOptions, NodeOptions } from './lib/client'
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ const {
} = require('@elastic/transport')

const { default: Client } = require('./lib/client')
const { default: SniffingTransport } = require('./lib/sniffingTransport')

module.exports = {
Client,
SniffingTransport,
Diagnostic,
Transport,
WeightedConnectionPool,
Expand Down

0 comments on commit 64ed0ec

Please sign in to comment.