* Switch to SPDX license format for all non-codegen files
* Add test to ensure all committed JS files have SPDX header
(cherry picked from commit 461f9b7f66)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
42 lines
756 B
JavaScript
42 lines
756 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and contributors
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
'use strict'
|
|
|
|
const {
|
|
Diagnostic,
|
|
Transport,
|
|
WeightedConnectionPool,
|
|
ClusterConnectionPool,
|
|
BaseConnectionPool,
|
|
CloudConnectionPool,
|
|
BaseConnection,
|
|
HttpConnection,
|
|
UndiciConnection,
|
|
Serializer,
|
|
errors,
|
|
events
|
|
} = require('@elastic/transport')
|
|
|
|
const { default: Client } = require('./lib/client')
|
|
const { default: SniffingTransport } = require('./lib/sniffingTransport')
|
|
|
|
module.exports = {
|
|
Client,
|
|
SniffingTransport,
|
|
Diagnostic,
|
|
Transport,
|
|
WeightedConnectionPool,
|
|
ClusterConnectionPool,
|
|
BaseConnectionPool,
|
|
CloudConnectionPool,
|
|
BaseConnection,
|
|
HttpConnection,
|
|
UndiciConnection,
|
|
Serializer,
|
|
errors,
|
|
events
|
|
}
|