react-native-inapp-inspector 2.3.12 → 2.3.14

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 (232) hide show
  1. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +1 -0
  2. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
  3. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +1 -0
  4. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
  5. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
  6. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
  7. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
  8. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
  9. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
  10. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
  11. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
  12. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
  13. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  14. package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +10 -0
  15. package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +104 -0
  16. package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
  17. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +128 -0
  18. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +31 -0
  19. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +22 -0
  20. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +24 -0
  21. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +16 -0
  22. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +17 -0
  23. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +19 -0
  24. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +18 -0
  25. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +177 -0
  26. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +17 -0
  27. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +23 -0
  28. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +16 -0
  29. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +20 -0
  30. package/android/build/generated/source/codegen/schema.json +1 -0
  31. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
  32. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  33. package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
  34. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  35. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  36. package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
  37. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  38. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  39. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  40. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  41. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  42. package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
  43. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  44. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  45. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  46. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  47. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
  48. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  49. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  50. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
  51. package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
  52. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
  53. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  54. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  55. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  56. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
  57. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  58. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  59. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  60. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  61. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  62. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  63. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
  64. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  65. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  66. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  153. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  154. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  155. package/android/build/outputs/aar/react-native-inapp-inspector-debug.aar +0 -0
  156. package/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  157. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  158. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  159. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  160. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  161. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  162. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  163. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  164. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
  165. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  166. package/bin/cli.js +6 -0
  167. package/dist/commonjs/components/HeadersSection.js +3 -2
  168. package/dist/commonjs/components/Inspector/BundleTab.js +4 -4
  169. package/dist/commonjs/components/Inspector/DebuggingTab.js +742 -427
  170. package/dist/commonjs/components/Inspector/MainScreen.js +4 -1
  171. package/dist/commonjs/components/Inspector/NetworkDetail.js +2 -2
  172. package/dist/commonjs/components/Inspector/NetworkFilterModal.js +18 -12
  173. package/dist/commonjs/components/Inspector/SettingsPanel.js +6 -4
  174. package/dist/commonjs/components/Inspector/StorageTab.js +10 -4
  175. package/dist/commonjs/components/Inspector/TabBar.js +6 -2
  176. package/dist/commonjs/components/JsonViewer.js +3 -2
  177. package/dist/commonjs/components/NetworkIcons.d.ts +4 -1
  178. package/dist/commonjs/components/NetworkIcons.js +26 -3
  179. package/dist/commonjs/components/QRCodeView.js +1 -1
  180. package/dist/commonjs/constants/version.d.ts +1 -1
  181. package/dist/commonjs/constants/version.js +1 -1
  182. package/dist/commonjs/helpers/index.d.ts +1 -0
  183. package/dist/commonjs/helpers/index.js +11 -1
  184. package/dist/commonjs/helpers/qrGenerator.d.ts +1 -0
  185. package/dist/commonjs/helpers/qrGenerator.js +356 -33
  186. package/dist/commonjs/index.d.ts +1 -0
  187. package/dist/commonjs/index.js +5 -3
  188. package/dist/commonjs/metro.d.ts +25 -0
  189. package/dist/commonjs/metro.js +478 -0
  190. package/dist/esm/components/HeadersSection.js +3 -2
  191. package/dist/esm/components/Inspector/BundleTab.js +5 -5
  192. package/dist/esm/components/Inspector/DebuggingTab.js +745 -430
  193. package/dist/esm/components/Inspector/MainScreen.js +4 -1
  194. package/dist/esm/components/Inspector/NetworkDetail.js +2 -2
  195. package/dist/esm/components/Inspector/NetworkFilterModal.js +19 -13
  196. package/dist/esm/components/Inspector/SettingsPanel.js +7 -5
  197. package/dist/esm/components/Inspector/StorageTab.js +11 -5
  198. package/dist/esm/components/Inspector/TabBar.js +7 -3
  199. package/dist/esm/components/JsonViewer.js +4 -3
  200. package/dist/esm/components/NetworkIcons.d.ts +4 -1
  201. package/dist/esm/components/NetworkIcons.js +22 -2
  202. package/dist/esm/components/QRCodeView.js +1 -1
  203. package/dist/esm/constants/version.d.ts +1 -1
  204. package/dist/esm/constants/version.js +1 -1
  205. package/dist/esm/helpers/index.d.ts +1 -0
  206. package/dist/esm/helpers/index.js +9 -0
  207. package/dist/esm/helpers/qrGenerator.d.ts +1 -0
  208. package/dist/esm/helpers/qrGenerator.js +356 -30
  209. package/dist/esm/index.d.ts +1 -0
  210. package/dist/esm/index.js +3 -2
  211. package/dist/esm/metro.d.ts +25 -0
  212. package/dist/esm/metro.js +469 -0
  213. package/metro.d.ts +1 -0
  214. package/metro.js +1 -0
  215. package/package.json +16 -5
  216. package/src/components/HeadersSection.tsx +7 -2
  217. package/src/components/Inspector/BundleTab.tsx +9 -4
  218. package/src/components/Inspector/DebuggingTab.tsx +845 -498
  219. package/src/components/Inspector/MainScreen.tsx +4 -1
  220. package/src/components/Inspector/NetworkDetail.tsx +2 -2
  221. package/src/components/Inspector/NetworkFilterModal.tsx +32 -12
  222. package/src/components/Inspector/SettingsPanel.tsx +85 -75
  223. package/src/components/Inspector/StorageTab.tsx +15 -4
  224. package/src/components/Inspector/TabBar.tsx +16 -2
  225. package/src/components/JsonViewer.tsx +8 -3
  226. package/src/components/NetworkIcons.tsx +71 -1
  227. package/src/components/QRCodeView.tsx +2 -2
  228. package/src/constants/version.ts +1 -1
  229. package/src/helpers/index.ts +15 -0
  230. package/src/helpers/qrGenerator.ts +418 -37
  231. package/src/index.tsx +5 -3
  232. package/src/metro.ts +598 -0
@@ -1,38 +1,364 @@
1
- import qrcode from 'qrcode-generator';
1
+ const QR_ECC_LEVEL = {
2
+ L: 1,
3
+ M: 0,
4
+ Q: 3,
5
+ H: 2,
6
+ };
7
+ const EXP_TABLE = new Uint8Array(256);
8
+ const LOG_TABLE = new Uint8Array(256);
9
+ (function initGaloisField() {
10
+ let x = 1;
11
+ for (let i = 0; i < 255; i++) {
12
+ EXP_TABLE[i] = x;
13
+ LOG_TABLE[x] = i;
14
+ x <<= 1;
15
+ if (x & 0x100) {
16
+ x ^= 0x11d;
17
+ }
18
+ }
19
+ EXP_TABLE[255] = EXP_TABLE[0];
20
+ })();
21
+ function glog(n) {
22
+ if (n < 1)
23
+ throw new Error(`glog(${n})`);
24
+ return LOG_TABLE[n];
25
+ }
26
+ function gexp(n) {
27
+ while (n < 0)
28
+ n += 255;
29
+ while (n >= 256)
30
+ n -= 255;
31
+ return EXP_TABLE[n];
32
+ }
33
+ class Polynomial {
34
+ constructor(num, shift = 0) {
35
+ let offset = 0;
36
+ while (offset < num.length && num[offset] === 0) {
37
+ offset++;
38
+ }
39
+ this.num = new Array(num.length - offset + shift);
40
+ for (let i = 0; i < num.length - offset; i++) {
41
+ this.num[i] = num[i + offset];
42
+ }
43
+ for (let i = num.length - offset; i < this.num.length; i++) {
44
+ this.num[i] = 0;
45
+ }
46
+ }
47
+ get(index) {
48
+ return this.num[index] || 0;
49
+ }
50
+ getLength() {
51
+ return this.num.length;
52
+ }
53
+ multiply(e) {
54
+ const num = new Array(this.getLength() + e.getLength() - 1).fill(0);
55
+ for (let i = 0; i < this.getLength(); i++) {
56
+ for (let j = 0; j < e.getLength(); j++) {
57
+ num[i + j] ^= gexp(glog(this.get(i)) + glog(e.get(j)));
58
+ }
59
+ }
60
+ return new Polynomial(num);
61
+ }
62
+ mod(e) {
63
+ if (this.getLength() - e.getLength() < 0) {
64
+ return this;
65
+ }
66
+ const ratio = glog(this.get(0)) - glog(e.get(0));
67
+ const num = new Array(this.getLength());
68
+ for (let i = 0; i < this.getLength(); i++) {
69
+ num[i] = this.get(i);
70
+ }
71
+ for (let i = 0; i < e.getLength(); i++) {
72
+ num[i] ^= gexp(glog(e.get(i)) + ratio);
73
+ }
74
+ return new Polynomial(num).mod(e);
75
+ }
76
+ }
77
+ const RS_BLOCK_TABLE = [
78
+ [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9]],
79
+ [[1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16]],
80
+ [[1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13]],
81
+ [[1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9]],
82
+ [[1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12]],
83
+ [[2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15]],
84
+ [[2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14]],
85
+ [[2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15]],
86
+ [[2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13]],
87
+ [[2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16]],
88
+ ];
89
+ const PATTERN_POSITION_TABLE = [
90
+ [],
91
+ [6, 18],
92
+ [6, 22],
93
+ [6, 26],
94
+ [6, 30],
95
+ [6, 34],
96
+ [6, 22, 38],
97
+ [6, 24, 42],
98
+ [6, 26, 46],
99
+ [6, 28, 50],
100
+ ];
101
+ const G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
102
+ const G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1);
103
+ function getBCHTypeInfo(data) {
104
+ let d = data << 10;
105
+ while (getBCHDigit(d) - getBCHDigit(G15) >= 0) {
106
+ d ^= G15 << (getBCHDigit(d) - getBCHDigit(G15));
107
+ }
108
+ return ((data << 10) | d) ^ G15_MASK;
109
+ }
110
+ function getBCHDigit(data) {
111
+ let digit = 0;
112
+ while (data !== 0) {
113
+ digit++;
114
+ data >>>= 1;
115
+ }
116
+ return digit;
117
+ }
118
+ function getMask(maskPattern, i, j) {
119
+ switch (maskPattern) {
120
+ case 0: return (i + j) % 2 === 0;
121
+ case 1: return i % 2 === 0;
122
+ case 2: return j % 3 === 0;
123
+ case 3: return (i + j) % 3 === 0;
124
+ case 4: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0;
125
+ case 5: return ((i * j) % 2) + ((i * j) % 3) === 0;
126
+ case 6: return (((i * j) % 2) + ((i * j) % 3)) % 2 === 0;
127
+ case 7: return (((i * j) % 3) + ((i + j) % 2)) % 2 === 0;
128
+ default: return false;
129
+ }
130
+ }
131
+ class BitBuffer {
132
+ constructor() {
133
+ this.buffer = [];
134
+ this.length = 0;
135
+ }
136
+ get(index) {
137
+ const bufIndex = Math.floor(index / 8);
138
+ return ((this.buffer[bufIndex] >>> (7 - (index % 8))) & 1) === 1;
139
+ }
140
+ put(num, length) {
141
+ for (let i = 0; i < length; i++) {
142
+ this.putBit(((num >>> (length - i - 1)) & 1) === 1);
143
+ }
144
+ }
145
+ putBit(bit) {
146
+ const bufIndex = Math.floor(this.length / 8);
147
+ if (this.buffer.length <= bufIndex) {
148
+ this.buffer.push(0);
149
+ }
150
+ if (bit) {
151
+ this.buffer[bufIndex] |= 0x80 >>> (this.length % 8);
152
+ }
153
+ this.length++;
154
+ }
155
+ }
156
+ function getErrorCorrectionPolynomial(errorCorrectionLength) {
157
+ let a = new Polynomial([1], 0);
158
+ for (let i = 0; i < errorCorrectionLength; i++) {
159
+ a = a.multiply(new Polynomial([1, gexp(i)], 0));
160
+ }
161
+ return a;
162
+ }
2
163
  export function generateQRMatrix(text, ecc = 'M') {
3
- try {
4
- const qr = qrcode(0, ecc);
5
- qr.addData(text);
6
- qr.make();
7
- const count = qr.getModuleCount();
8
- const matrix = [];
9
- for (let row = 0; row < count; row++) {
10
- const rowData = [];
11
- for (let col = 0; col < count; col++) {
12
- rowData.push(qr.isDark(row, col));
164
+ const eccLevel = QR_ECC_LEVEL[ecc] ?? 0;
165
+ const utf8Bytes = [];
166
+ for (let i = 0; i < text.length; i++) {
167
+ let c = text.charCodeAt(i);
168
+ if (c < 128) {
169
+ utf8Bytes.push(c);
170
+ }
171
+ else if (c < 2048) {
172
+ utf8Bytes.push((c >> 6) | 192);
173
+ utf8Bytes.push((c & 63) | 128);
174
+ }
175
+ else {
176
+ utf8Bytes.push((c >> 12) | 224);
177
+ utf8Bytes.push(((c >> 6) & 63) | 128);
178
+ utf8Bytes.push((c & 63) | 128);
179
+ }
180
+ }
181
+ let version = 1;
182
+ for (let v = 1; v <= 10; v++) {
183
+ const blockList = RS_BLOCK_TABLE[v - 1][eccLevel];
184
+ let totalDataCount = 0;
185
+ for (let i = 0; i < blockList.length; i += 3) {
186
+ totalDataCount += blockList[i] * blockList[i + 2];
187
+ }
188
+ if (utf8Bytes.length + 2 <= totalDataCount) {
189
+ version = v;
190
+ break;
191
+ }
192
+ version = v;
193
+ }
194
+ const moduleCount = version * 4 + 17;
195
+ const modules = Array.from({ length: moduleCount }, () => Array(moduleCount).fill(null));
196
+ function setupPositionProbePattern(row, col) {
197
+ for (let r = -1; r <= 7; r++) {
198
+ if (row + r <= -1 || moduleCount <= row + r)
199
+ continue;
200
+ for (let c = -1; c <= 7; c++) {
201
+ if (col + c <= -1 || moduleCount <= col + c)
202
+ continue;
203
+ if ((0 <= r && r <= 6 && (c === 0 || c === 6)) ||
204
+ (0 <= c && c <= 6 && (r === 0 || r === 6)) ||
205
+ (2 <= r && r <= 4 && 2 <= c && c <= 4)) {
206
+ modules[row + r][col + c] = true;
207
+ }
208
+ else {
209
+ modules[row + r][col + c] = false;
210
+ }
13
211
  }
14
- matrix.push(rowData);
15
- }
16
- return matrix;
17
- }
18
- catch (err) {
19
- try {
20
- const qr = qrcode(10, ecc);
21
- qr.addData(text);
22
- qr.make();
23
- const count = qr.getModuleCount();
24
- const matrix = [];
25
- for (let row = 0; row < count; row++) {
26
- const rowData = [];
27
- for (let col = 0; col < count; col++) {
28
- rowData.push(qr.isDark(row, col));
212
+ }
213
+ }
214
+ setupPositionProbePattern(0, 0);
215
+ setupPositionProbePattern(moduleCount - 7, 0);
216
+ setupPositionProbePattern(0, moduleCount - 7);
217
+ const pos = PATTERN_POSITION_TABLE[version - 1] || [];
218
+ for (let i = 0; i < pos.length; i++) {
219
+ for (let j = 0; j < pos.length; j++) {
220
+ const row = pos[i];
221
+ const col = pos[j];
222
+ if (modules[row][col] !== null)
223
+ continue;
224
+ for (let r = -2; r <= 2; r++) {
225
+ for (let c = -2; c <= 2; c++) {
226
+ if (r === -2 || r === 2 || c === -2 || c === 2 || (r === 0 && c === 0)) {
227
+ modules[row + r][col + c] = true;
228
+ }
229
+ else {
230
+ modules[row + r][col + c] = false;
231
+ }
29
232
  }
30
- matrix.push(rowData);
31
233
  }
32
- return matrix;
33
234
  }
34
- catch {
35
- return [];
235
+ }
236
+ for (let r = 8; r < moduleCount - 8; r++) {
237
+ if (modules[r][6] === null)
238
+ modules[r][6] = r % 2 === 0;
239
+ }
240
+ for (let c = 8; c < moduleCount - 8; c++) {
241
+ if (modules[6][c] === null)
242
+ modules[6][c] = c % 2 === 0;
243
+ }
244
+ const buffer = new BitBuffer();
245
+ buffer.put(4, 4);
246
+ buffer.put(utf8Bytes.length, 8);
247
+ for (let i = 0; i < utf8Bytes.length; i++) {
248
+ buffer.put(utf8Bytes[i], 8);
249
+ }
250
+ const rsBlocks = RS_BLOCK_TABLE[version - 1][eccLevel];
251
+ let totalDataCount = 0;
252
+ for (let i = 0; i < rsBlocks.length; i += 3) {
253
+ totalDataCount += rsBlocks[i] * rsBlocks[i + 2];
254
+ }
255
+ if (buffer.length + 4 <= totalDataCount * 8) {
256
+ buffer.put(0, 4);
257
+ }
258
+ while (buffer.length % 8 !== 0) {
259
+ buffer.putBit(false);
260
+ }
261
+ while (buffer.length < totalDataCount * 8) {
262
+ buffer.put(0xec, 8);
263
+ if (buffer.length < totalDataCount * 8) {
264
+ buffer.put(0x11, 8);
265
+ }
266
+ }
267
+ const dataBytes = buffer.buffer;
268
+ let offset = 0;
269
+ const dcData = [];
270
+ const ecData = [];
271
+ for (let i = 0; i < rsBlocks.length; i += 3) {
272
+ const numBlocks = rsBlocks[i];
273
+ const totalCount = rsBlocks[i + 1];
274
+ const dataCount = rsBlocks[i + 2];
275
+ const ecCount = totalCount - dataCount;
276
+ const rsPoly = getErrorCorrectionPolynomial(ecCount);
277
+ for (let b = 0; b < numBlocks; b++) {
278
+ const rawDc = dataBytes.slice(offset, offset + dataCount);
279
+ offset += dataCount;
280
+ dcData.push(rawDc);
281
+ const rawPoly = new Polynomial(rawDc, rsPoly.getLength() - 1);
282
+ const modPoly = rawPoly.mod(rsPoly);
283
+ const ec = new Array(rsPoly.getLength() - 1).fill(0);
284
+ for (let k = 0; k < ec.length; k++) {
285
+ const modIndex = k + modPoly.getLength() - ec.length;
286
+ ec[k] = modIndex >= 0 ? modPoly.get(modIndex) : 0;
287
+ }
288
+ ecData.push(ec);
289
+ }
290
+ }
291
+ const finalCodewords = [];
292
+ let maxDcCount = 0;
293
+ for (const block of dcData)
294
+ maxDcCount = Math.max(maxDcCount, block.length);
295
+ for (let i = 0; i < maxDcCount; i++) {
296
+ for (const block of dcData) {
297
+ if (i < block.length)
298
+ finalCodewords.push(block[i]);
299
+ }
300
+ }
301
+ let maxEcCount = 0;
302
+ for (const block of ecData)
303
+ maxEcCount = Math.max(maxEcCount, block.length);
304
+ for (let i = 0; i < maxEcCount; i++) {
305
+ for (const block of ecData) {
306
+ if (i < block.length)
307
+ finalCodewords.push(block[i]);
308
+ }
309
+ }
310
+ let inc = -1;
311
+ let row = moduleCount - 1;
312
+ let bitIndex = 0;
313
+ const maskPattern = 0;
314
+ for (let col = moduleCount - 1; col > 0; col -= 2) {
315
+ if (col === 6)
316
+ col--;
317
+ while (true) {
318
+ for (let c = 0; c < 2; c++) {
319
+ if (modules[row][col - c] === null) {
320
+ let dark = false;
321
+ if (bitIndex < finalCodewords.length * 8) {
322
+ const byte = finalCodewords[Math.floor(bitIndex / 8)];
323
+ dark = ((byte >>> (7 - (bitIndex % 8))) & 1) === 1;
324
+ bitIndex++;
325
+ }
326
+ const mask = getMask(maskPattern, row, col - c);
327
+ modules[row][col - c] = mask ? !dark : dark;
328
+ }
329
+ }
330
+ row += inc;
331
+ if (row < 0 || moduleCount <= row) {
332
+ row -= inc;
333
+ inc = -inc;
334
+ break;
335
+ }
336
+ }
337
+ }
338
+ const typeData = (eccLevel << 3) | maskPattern;
339
+ const bits = getBCHTypeInfo(typeData);
340
+ for (let i = 0; i < 15; i++) {
341
+ const mod = ((bits >> i) & 1) === 1;
342
+ if (i < 6) {
343
+ modules[i][8] = mod;
344
+ }
345
+ else if (i < 8) {
346
+ modules[i + 1][8] = mod;
347
+ }
348
+ else {
349
+ modules[moduleCount - 15 + i][8] = mod;
350
+ }
351
+ if (i < 8) {
352
+ modules[8][moduleCount - i - 1] = mod;
353
+ }
354
+ else if (i < 9) {
355
+ modules[8][15 - i - 1 + 1] = mod;
356
+ }
357
+ else {
358
+ modules[8][15 - i - 1] = mod;
36
359
  }
37
360
  }
361
+ modules[moduleCount - 8][8] = true;
362
+ return modules.map(r => r.map(cell => cell === true));
38
363
  }
364
+ export default generateQRMatrix;
@@ -26,3 +26,4 @@ export { ActiveTab, Method, StatusFilter, SortOrder, LocalFilter, ModalAnimation
26
26
  export { AppFonts, setAppFonts, type AppFontConfig, } from './styles/AppFonts';
27
27
  export { AppColors, setAppColors, getThemeColors, updateAppColorsTheme, } from './styles/AppColors';
28
28
  export { t, i18n, useTranslation, setLanguage, addTranslations, setTranslations, I18nextProvider, } from './i18n';
29
+ export { LIB_VERSION } from './constants/version';
package/dist/esm/index.js CHANGED
@@ -168,7 +168,7 @@ const NetworkInspector = ({ enabled = true, storage, navigationRef, appIcon, env
168
168
  crash: false,
169
169
  device: false,
170
170
  storage: false,
171
- debugging: true,
171
+ debugging: false,
172
172
  });
173
173
  const [maxNetworkLogs, setMaxNetworkLogs] = useState(100);
174
174
  const [maxAnalyticsEventsLimit, setMaxAnalyticsEventsLimit] = useState(75);
@@ -222,7 +222,7 @@ const NetworkInspector = ({ enabled = true, storage, navigationRef, appIcon, env
222
222
  crash: false,
223
223
  device: false,
224
224
  storage: false,
225
- debugging: true,
225
+ debugging: false,
226
226
  });
227
227
  setDefaultTab('apis');
228
228
  setIsAutoRamLimitEnabled(true);
@@ -1807,3 +1807,4 @@ export { ActiveTab, Method, StatusFilter, SortOrder, LocalFilter, ModalAnimation
1807
1807
  export { AppFonts, setAppFonts, } from './styles/AppFonts';
1808
1808
  export { AppColors, setAppColors, getThemeColors, updateAppColorsTheme, } from './styles/AppColors';
1809
1809
  export { t, i18n, useTranslation, setLanguage, addTranslations, setTranslations, I18nextProvider, } from './i18n';
1810
+ export { LIB_VERSION } from './constants/version';
@@ -0,0 +1,25 @@
1
+ export interface InAppInspectorMetroOptions {
2
+ apkPath?: string;
3
+ endpoint?: string;
4
+ }
5
+ export interface BuildJob {
6
+ status: 'idle' | 'running' | 'completed' | 'failed';
7
+ scheme: string;
8
+ clean: boolean;
9
+ progress: number;
10
+ currentTask: string;
11
+ logs: string[];
12
+ error: string | null;
13
+ startedAt: string | null;
14
+ completedAt: string | null;
15
+ apkName: string | null;
16
+ apkSize: number | null;
17
+ }
18
+ export declare function getLanIpAddresses(): {
19
+ primary: string;
20
+ all: string[];
21
+ };
22
+ export declare function stopGradleBuild(): BuildJob;
23
+ export declare function withInAppInspector(metroConfig?: any, options?: InAppInspectorMetroOptions): any;
24
+ export declare function startStandaloneServer(port?: number): any;
25
+ export default withInAppInspector;