react-native-inapp-inspector 1.1.20 → 1.1.22

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.
Files changed (66) hide show
  1. package/README.md +34 -10
  2. package/dist/commonjs/components/AnalyticsDetail.js +5 -3
  3. package/dist/commonjs/components/AnalyticsEventCard.d.ts +0 -1
  4. package/dist/commonjs/components/AnalyticsEventCard.js +85 -96
  5. package/dist/commonjs/components/ConsoleLogCard.js +2 -2
  6. package/dist/commonjs/components/DiffViewer.js +2 -2
  7. package/dist/commonjs/components/HeadersSection.js +2 -2
  8. package/dist/commonjs/components/Inspector/BundleTab.js +488 -653
  9. package/dist/commonjs/components/Inspector/ConsoleTab.js +2 -2
  10. package/dist/commonjs/components/Inspector/LogDetail.js +2 -2
  11. package/dist/commonjs/components/Inspector/NetworkDetail.js +2 -2
  12. package/dist/commonjs/components/Inspector/PerformanceTab.js +185 -244
  13. package/dist/commonjs/components/Inspector/ReduxDetail.js +4 -4
  14. package/dist/commonjs/components/Inspector/ReduxTab.js +3 -3
  15. package/dist/commonjs/components/JsonViewer.js +2 -2
  16. package/dist/commonjs/components/LogCard.js +2 -2
  17. package/dist/commonjs/components/MetaAccordion.js +2 -2
  18. package/dist/commonjs/constants/version.d.ts +1 -1
  19. package/dist/commonjs/constants/version.js +1 -1
  20. package/dist/commonjs/customHooks/bundleAnalyzer.d.ts +115 -0
  21. package/dist/commonjs/customHooks/bundleAnalyzer.js +561 -0
  22. package/dist/commonjs/customHooks/performanceTracker.d.ts +84 -0
  23. package/dist/commonjs/customHooks/performanceTracker.js +541 -0
  24. package/dist/commonjs/helpers/index.d.ts +15 -0
  25. package/dist/commonjs/helpers/index.js +112 -1
  26. package/dist/commonjs/i18n/index.d.ts +27 -1
  27. package/dist/commonjs/i18n/index.js +66 -21
  28. package/dist/commonjs/i18n/locales/en.json +225 -2
  29. package/dist/commonjs/index.d.ts +2 -1
  30. package/dist/commonjs/index.js +8 -4
  31. package/dist/commonjs/styles/AppColors.d.ts +110 -0
  32. package/dist/commonjs/styles/AppColors.js +114 -0
  33. package/dist/commonjs/types/interfaces.d.ts +1 -0
  34. package/dist/esm/components/AnalyticsDetail.js +5 -3
  35. package/dist/esm/components/AnalyticsEventCard.d.ts +0 -1
  36. package/dist/esm/components/AnalyticsEventCard.js +85 -95
  37. package/dist/esm/components/ConsoleLogCard.js +1 -1
  38. package/dist/esm/components/DiffViewer.js +1 -1
  39. package/dist/esm/components/HeadersSection.js +1 -1
  40. package/dist/esm/components/Inspector/BundleTab.js +489 -654
  41. package/dist/esm/components/Inspector/ConsoleTab.js +1 -1
  42. package/dist/esm/components/Inspector/LogDetail.js +1 -1
  43. package/dist/esm/components/Inspector/NetworkDetail.js +1 -1
  44. package/dist/esm/components/Inspector/PerformanceTab.js +185 -244
  45. package/dist/esm/components/Inspector/ReduxDetail.js +3 -3
  46. package/dist/esm/components/Inspector/ReduxTab.js +3 -3
  47. package/dist/esm/components/JsonViewer.js +1 -1
  48. package/dist/esm/components/LogCard.js +1 -1
  49. package/dist/esm/components/MetaAccordion.js +1 -1
  50. package/dist/esm/constants/version.d.ts +1 -1
  51. package/dist/esm/constants/version.js +1 -1
  52. package/dist/esm/customHooks/bundleAnalyzer.d.ts +115 -0
  53. package/dist/esm/customHooks/bundleAnalyzer.js +554 -0
  54. package/dist/esm/customHooks/performanceTracker.d.ts +84 -0
  55. package/dist/esm/customHooks/performanceTracker.js +537 -0
  56. package/dist/esm/helpers/index.d.ts +15 -0
  57. package/dist/esm/helpers/index.js +107 -0
  58. package/dist/esm/i18n/index.d.ts +27 -1
  59. package/dist/esm/i18n/index.js +61 -20
  60. package/dist/esm/i18n/locales/en.json +225 -2
  61. package/dist/esm/index.d.ts +2 -1
  62. package/dist/esm/index.js +6 -2
  63. package/dist/esm/styles/AppColors.d.ts +110 -0
  64. package/dist/esm/styles/AppColors.js +114 -0
  65. package/dist/esm/types/interfaces.d.ts +1 -0
  66. package/package.json +35 -13
@@ -1,7 +1,7 @@
1
1
  import React, { useCallback, useMemo } from 'react';
2
2
  import { FlatList, Pressable, ScrollView, Text, TextInput, View, } from 'react-native';
3
3
  import { useInspector } from './InspectorContext';
4
- import { useTranslation } from 'react-i18next';
4
+ import { useTranslation } from '../../i18n';
5
5
  import TouchableScale from '../TouchableScale';
6
6
  import AnimatedEntrance from '../AnimatedEntrance';
7
7
  import { ConsoleLogCard } from '../ConsoleLogCard';
@@ -1,5 +1,5 @@
1
1
  import React, { useMemo, useState } from 'react';
2
- import { useTranslation } from 'react-i18next';
2
+ import { useTranslation } from '../../i18n';
3
3
  import { Pressable, ScrollView, StyleSheet, Text, TextInput, View, } from 'react-native';
4
4
  import { useInspector } from './InspectorContext';
5
5
  import HighlightText from '../HighlightText';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useTranslation } from 'react-i18next';
2
+ import { useTranslation } from '../../i18n';
3
3
  import { Image, Linking, Pressable, ScrollView, Text, TextInput, View, } from 'react-native';
4
4
  import Svg, { Circle } from 'react-native-svg';
5
5
  import { animateNextLayout, useInspector } from './InspectorContext';