Skip to content

Commit e883ea8

Browse files
committed
feat(instrumentation): re-export initialize from import-in-the-middle
Signed-off-by: Connor Pearson <[email protected]>
1 parent 72c9af9 commit e883ea8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

experimental/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ All notable changes to experimental packages in this project will be documented
99

1010
### :rocket: (Enhancement)
1111

12+
* feat(instrumentation): re-export initialize function from import-in-the-middle [#5123](https://github.com/open-telemetry/opentelemetry-js/pull/5123)
13+
1214
### :bug: (Bug Fix)
1315

1416
### :books: (Refine Doc)

experimental/packages/opentelemetry-instrumentation/hook.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
/*!
2-
* Copyright 2021 Datadog, Inc.
1+
/*
32
* Copyright The OpenTelemetry Authors
43
*
54
* Licensed under the Apache License, Version 2.0 (the "License");
65
* you may not use this file except in compliance with the License.
76
* You may obtain a copy of the License at
87
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
109
*
1110
* Unless required by applicable law or agreed to in writing, software
1211
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -20,9 +19,10 @@
2019
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2021 Datadog, Inc.
2120

2221
import {
22+
initialize,
2323
load,
2424
resolve,
2525
getFormat,
2626
getSource,
2727
} from 'import-in-the-middle/hook.mjs';
28-
export { load, resolve, getFormat, getSource };
28+
export { initialize, load, resolve, getFormat, getSource };

0 commit comments

Comments
 (0)