Skip to content

Commit b2e191f

Browse files
authored
feat: Export addExtensionMethods for SDKs to use (getsentry#2805)
1 parent 13b800e commit b2e191f

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

packages/apm/src/index.bundle.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ export { INTEGRATIONS as Integrations };
7878

7979
// We are patching the global object with our hub extension methods
8080
addExtensionMethods();
81+
82+
export { addExtensionMethods };

packages/apm/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ export { SpanStatus } from './spanstatus';
99

1010
// We are patching the global object with our hub extension methods
1111
addExtensionMethods();
12+
13+
export { addExtensionMethods };

packages/tracing/src/index.bundle.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ export { INTEGRATIONS as Integrations };
7878

7979
// We are patching the global object with our hub extension methods
8080
addExtensionMethods();
81+
82+
export { addExtensionMethods };

packages/tracing/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ export { SpanStatus } from './spanstatus';
1313

1414
// We are patching the global object with our hub extension methods
1515
addExtensionMethods();
16+
17+
export { addExtensionMethods };

0 commit comments

Comments
 (0)