Skip to content

Commit a81ef5f

Browse files
authored
fix: incorrect export of enums (#2876)
1 parent 8820f65 commit a81ef5f

File tree

3 files changed

+3
-3
lines changed
  • plugins/node
    • opentelemetry-instrumentation-mongodb/src
    • opentelemetry-instrumentation-net/src
    • opentelemetry-instrumentation-restify/src

3 files changed

+3
-3
lines changed

plugins/node/opentelemetry-instrumentation-mongodb/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
*/
1616

1717
export { MongoDBInstrumentation } from './instrumentation';
18+
export { MongodbCommandType } from './types';
1819
export type {
1920
CommandResult,
2021
DbStatementSerializer,
2122
MongoDBInstrumentationConfig,
2223
MongoDBInstrumentationExecutionResponseHook,
2324
MongoResponseHookInformation,
24-
MongodbCommandType,
2525
} from './types';

plugins/node/opentelemetry-instrumentation-net/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
*/
1616

1717
export { NetInstrumentation } from './instrumentation';
18-
export type { TLSAttributes } from './types';
18+
export { TLSAttributes } from './types';

plugins/node/opentelemetry-instrumentation-restify/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
export { RestifyInstrumentation } from './instrumentation';
1818
export { AttributeNames } from './enums/AttributeNames';
19+
export { LayerType } from './types';
1920
export type {
20-
LayerType,
2121
RestifyCustomAttributeFunction,
2222
RestifyInstrumentationConfig,
2323
RestifyRequestInfo,

0 commit comments

Comments
 (0)