Skip to content

Commit 7fa4906

Browse files
committed
comments in RUM
1 parent a9c15e5 commit 7fa4906

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

sdk/src/RealUserMonitor.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
// TODO: Revert imports to named exports instead of default exports
2-
// import Types from './Types';
3-
// const { RealUserMonitoringEvents, RealUserMonitoringTimings, RealUserMonitorPayload, RequestMeta } from Types;
41
import { RealUserMonitoringEvents, RealUserMonitoringTimings, RealUserMonitorPayload, RequestMeta } from './Types';
5-
6-
// import Utils from './Utils';
7-
// const { getCurrentUser, getCurrentTags, getRandomGUID } = Utils;
82
import { getCurrentUser, getCurrentTags, getRandomGUID } from './Utils';
9-
10-
113
import { v4 as uuidv4 } from 'uuid';
124
import { NativeEventEmitter, NativeModules, Platform } from 'react-native';
135
import RaygunLogger from './RaygunLogger';
@@ -17,6 +9,7 @@ const { osVersion, platform } = RaygunNativeBridge;
179

1810
// Attempt to require XHRInterceptor using dynamic paths
1911
let XHRInterceptorModule: any;
12+
// TODO: Uncomment when RN 0.81 is released
2013
// try {
2114
// // Try the new path first (for RN >= 0.79)
2215
// // https://github.com/facebook/react-native/releases/tag/v0.79.0#:~:text=APIs%3A%20Move-,XHRInterceptor,-API%20to%20src
@@ -32,6 +25,7 @@ let XHRInterceptorModule: any;
3225
// }
3326

3427
let XHRInterceptor: any;
28+
// TODO: Uncomment when RN 0.81 is released
3529
// if (XHRInterceptorModule) {
3630
// // Check if methods are directly on the module
3731
// if (

0 commit comments

Comments
 (0)