react-native-inapp-inspector 1.1.21 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/components/AnalyticsDetail.js +5 -3
- package/dist/commonjs/components/AnalyticsEventCard.d.ts +0 -1
- package/dist/commonjs/components/AnalyticsEventCard.js +89 -97
- package/dist/commonjs/components/ErrorBoundary.js +17 -8
- package/dist/commonjs/components/Inspector/BundleTab.d.ts +1 -0
- package/dist/commonjs/components/Inspector/BundleTab.js +607 -685
- package/dist/commonjs/components/Inspector/LogDetail.js +12 -6
- package/dist/commonjs/components/Inspector/PerformanceTab.js +195 -254
- package/dist/commonjs/components/Inspector/ReduxDetail.js +2 -2
- package/dist/commonjs/components/Inspector/ReduxTab.js +9 -6
- package/dist/commonjs/components/NetworkIcons.d.ts +12 -0
- package/dist/commonjs/components/NetworkIcons.js +92 -1
- package/dist/commonjs/components/TreeNode.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/bundleAnalyzer.d.ts +115 -0
- package/dist/commonjs/customHooks/bundleAnalyzer.js +561 -0
- package/dist/commonjs/customHooks/performanceTracker.d.ts +84 -0
- package/dist/commonjs/customHooks/performanceTracker.js +541 -0
- package/dist/commonjs/helpers/index.d.ts +15 -0
- package/dist/commonjs/helpers/index.js +112 -1
- package/dist/commonjs/i18n/locales/en.json +225 -2
- package/dist/commonjs/styles/AppColors.d.ts +110 -0
- package/dist/commonjs/styles/AppColors.js +114 -0
- package/dist/esm/components/AnalyticsDetail.js +5 -3
- package/dist/esm/components/AnalyticsEventCard.d.ts +0 -1
- package/dist/esm/components/AnalyticsEventCard.js +89 -96
- package/dist/esm/components/ErrorBoundary.js +17 -8
- package/dist/esm/components/Inspector/BundleTab.d.ts +1 -0
- package/dist/esm/components/Inspector/BundleTab.js +612 -690
- package/dist/esm/components/Inspector/LogDetail.js +13 -7
- package/dist/esm/components/Inspector/PerformanceTab.js +196 -255
- package/dist/esm/components/Inspector/ReduxDetail.js +2 -2
- package/dist/esm/components/Inspector/ReduxTab.js +10 -7
- package/dist/esm/components/NetworkIcons.d.ts +12 -0
- package/dist/esm/components/NetworkIcons.js +79 -0
- package/dist/esm/components/TreeNode.js +2 -2
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/bundleAnalyzer.d.ts +115 -0
- package/dist/esm/customHooks/bundleAnalyzer.js +554 -0
- package/dist/esm/customHooks/performanceTracker.d.ts +84 -0
- package/dist/esm/customHooks/performanceTracker.js +537 -0
- package/dist/esm/helpers/index.d.ts +15 -0
- package/dist/esm/helpers/index.js +107 -0
- package/dist/esm/i18n/locales/en.json +225 -2
- package/dist/esm/styles/AppColors.d.ts +110 -0
- package/dist/esm/styles/AppColors.js +114 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import HighlightText from '../HighlightText';
|
|
|
6
6
|
import JsonViewer from '../JsonViewer';
|
|
7
7
|
import CopyButton from '../CopyButton';
|
|
8
8
|
import SegmentedTabs from '../SegmentedTabs';
|
|
9
|
-
import { ClearIcon, SearchIcon, PrettyIcon, RawIcon, TableIcon, LayersIcon, TerminalIcon, RequestIcon, InfoCircleIcon, } from '../NetworkIcons';
|
|
9
|
+
import { ClearIcon, SearchIcon, PrettyIcon, RawIcon, TableIcon, LayersIcon, TerminalIcon, RequestIcon, InfoCircleIcon, DocIcon, } from '../NetworkIcons';
|
|
10
10
|
import { AppColors } from '../../styles/AppColors';
|
|
11
11
|
import { AppFonts } from '../../styles/AppFonts';
|
|
12
12
|
import styles from '../../styles';
|
|
@@ -268,14 +268,17 @@ const LogDetail = React.memo(() => {
|
|
|
268
268
|
paddingVertical: 2,
|
|
269
269
|
},
|
|
270
270
|
]}>
|
|
271
|
-
<
|
|
271
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 3 }}>
|
|
272
|
+
<DocIcon color={AppColors.brandPurple} size={10}/>
|
|
273
|
+
<Text style={[
|
|
272
274
|
styles.metaChipText,
|
|
273
275
|
{ color: AppColors.brandPurple, fontSize: 10, fontFamily: AppFonts.interBold },
|
|
274
276
|
]}>
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
{originFrame.fileName}
|
|
278
|
+
{originFrame.lineNumber ? `:${originFrame.lineNumber}` : ''}
|
|
279
|
+
{originFrame.columnNumber ? `:${originFrame.columnNumber}` : ''}
|
|
280
|
+
</Text>
|
|
281
|
+
</View>
|
|
279
282
|
</View>)}
|
|
280
283
|
</View>
|
|
281
284
|
|
|
@@ -711,6 +714,8 @@ const LogDetail = React.memo(() => {
|
|
|
711
714
|
{frame.fileExt.toUpperCase()}
|
|
712
715
|
</Text>
|
|
713
716
|
</View>)}
|
|
717
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 3 }}>
|
|
718
|
+
<DocIcon color={isTopFrame ? AppColors.brandPurple : AppColors.grayTextWeak} size={10}/>
|
|
714
719
|
<Text style={{
|
|
715
720
|
fontFamily: AppFonts.interMedium,
|
|
716
721
|
fontSize: 10.5,
|
|
@@ -718,9 +723,10 @@ const LogDetail = React.memo(() => {
|
|
|
718
723
|
? AppColors.brandPurple
|
|
719
724
|
: AppColors.grayTextWeak,
|
|
720
725
|
}}>
|
|
721
|
-
|
|
726
|
+
{frame.fileName}
|
|
722
727
|
</Text>
|
|
723
728
|
</View>
|
|
729
|
+
</View>
|
|
724
730
|
|
|
725
731
|
{/* Full path */}
|
|
726
732
|
{frame.fullPath && frame.fullPath !== frame.fileName && (<Text selectable style={{
|