Skip to content

Commit af97ece

Browse files
authored
Export SniffingTransport (#1648)
1 parent 46b2c99 commit af97ece

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
*/
1919

2020
import Client from './lib/client'
21+
import SniffingTransport from './lib/sniffingTransport'
2122

2223
export * from '@elastic/transport'
23-
export { Client }
24+
export { Client, SniffingTransport }
2425
export type { ClientOptions, NodeOptions } from './lib/client'

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ const {
3535
} = require('@elastic/transport')
3636

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

3940
module.exports = {
4041
Client,
42+
SniffingTransport,
4143
Diagnostic,
4244
Transport,
4345
WeightedConnectionPool,

0 commit comments

Comments
 (0)