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.
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +1 -0
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +1 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +10 -0
- package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +104 -0
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +128 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +31 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +22 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +24 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +19 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +18 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +177 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +23 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +20 -0
- package/android/build/generated/source/codegen/schema.json +1 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/aar/react-native-inapp-inspector-debug.aar +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/bin/cli.js +6 -0
- package/dist/commonjs/components/HeadersSection.js +3 -2
- package/dist/commonjs/components/Inspector/BundleTab.js +4 -4
- package/dist/commonjs/components/Inspector/DebuggingTab.js +742 -427
- package/dist/commonjs/components/Inspector/MainScreen.js +4 -1
- package/dist/commonjs/components/Inspector/NetworkDetail.js +2 -2
- package/dist/commonjs/components/Inspector/NetworkFilterModal.js +18 -12
- package/dist/commonjs/components/Inspector/SettingsPanel.js +6 -4
- package/dist/commonjs/components/Inspector/StorageTab.js +10 -4
- package/dist/commonjs/components/Inspector/TabBar.js +6 -2
- package/dist/commonjs/components/JsonViewer.js +3 -2
- package/dist/commonjs/components/NetworkIcons.d.ts +4 -1
- package/dist/commonjs/components/NetworkIcons.js +26 -3
- package/dist/commonjs/components/QRCodeView.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/helpers/index.d.ts +1 -0
- package/dist/commonjs/helpers/index.js +11 -1
- package/dist/commonjs/helpers/qrGenerator.d.ts +1 -0
- package/dist/commonjs/helpers/qrGenerator.js +356 -33
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +5 -3
- package/dist/commonjs/metro.d.ts +25 -0
- package/dist/commonjs/metro.js +478 -0
- package/dist/esm/components/HeadersSection.js +3 -2
- package/dist/esm/components/Inspector/BundleTab.js +5 -5
- package/dist/esm/components/Inspector/DebuggingTab.js +745 -430
- package/dist/esm/components/Inspector/MainScreen.js +4 -1
- package/dist/esm/components/Inspector/NetworkDetail.js +2 -2
- package/dist/esm/components/Inspector/NetworkFilterModal.js +19 -13
- package/dist/esm/components/Inspector/SettingsPanel.js +7 -5
- package/dist/esm/components/Inspector/StorageTab.js +11 -5
- package/dist/esm/components/Inspector/TabBar.js +7 -3
- package/dist/esm/components/JsonViewer.js +4 -3
- package/dist/esm/components/NetworkIcons.d.ts +4 -1
- package/dist/esm/components/NetworkIcons.js +22 -2
- package/dist/esm/components/QRCodeView.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.js +9 -0
- package/dist/esm/helpers/qrGenerator.d.ts +1 -0
- package/dist/esm/helpers/qrGenerator.js +356 -30
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/metro.d.ts +25 -0
- package/dist/esm/metro.js +469 -0
- package/metro.d.ts +1 -0
- package/metro.js +1 -0
- package/package.json +16 -5
- package/src/components/HeadersSection.tsx +7 -2
- package/src/components/Inspector/BundleTab.tsx +9 -4
- package/src/components/Inspector/DebuggingTab.tsx +845 -498
- package/src/components/Inspector/MainScreen.tsx +4 -1
- package/src/components/Inspector/NetworkDetail.tsx +2 -2
- package/src/components/Inspector/NetworkFilterModal.tsx +32 -12
- package/src/components/Inspector/SettingsPanel.tsx +85 -75
- package/src/components/Inspector/StorageTab.tsx +15 -4
- package/src/components/Inspector/TabBar.tsx +16 -2
- package/src/components/JsonViewer.tsx +8 -3
- package/src/components/NetworkIcons.tsx +71 -1
- package/src/components/QRCodeView.tsx +2 -2
- package/src/constants/version.ts +1 -1
- package/src/helpers/index.ts +15 -0
- package/src/helpers/qrGenerator.ts +418 -37
- package/src/index.tsx +5 -3
- package/src/metro.ts +598 -0
|
@@ -26,6 +26,7 @@ import Toast from '../Toast';
|
|
|
26
26
|
import styles from '../../styles';
|
|
27
27
|
import { AppColors } from '../../styles/AppColors';
|
|
28
28
|
import NavigationTracker from './NavigationTracker';
|
|
29
|
+
import { isLocalDebugEnvironment } from '../../helpers';
|
|
29
30
|
const MainScreen = () => {
|
|
30
31
|
const { visible, modalAnimationType, closeModal, modalHeightPercent, selected, selectedEvent, selectedLog, selectedReduxSlice, selectedReduxAction, selectedCrash, settingsPage, activeTab, isReady, enabled, useNativeFab, hasNavigationContext, setNavState, } = useInspector();
|
|
31
32
|
const isDetailActive = (activeTab === 'apis' && selected != null) ||
|
|
@@ -119,7 +120,9 @@ const MainScreen = () => {
|
|
|
119
120
|
{activeTab === 'crash' && <CrashTab />}
|
|
120
121
|
{activeTab === 'device' && <DeviceInfoTab />}
|
|
121
122
|
{activeTab === 'storage' && <StorageTab />}
|
|
122
|
-
{
|
|
123
|
+
{Platform.OS === 'android' &&
|
|
124
|
+
isLocalDebugEnvironment() &&
|
|
125
|
+
activeTab === 'debugging' && <DebuggingTab />}
|
|
123
126
|
</Animated.View>
|
|
124
127
|
|
|
125
128
|
|
|
@@ -298,7 +298,7 @@ const NetworkDetail = React.memo(() => {
|
|
|
298
298
|
letterSpacing: 0.4,
|
|
299
299
|
textTransform: 'uppercase',
|
|
300
300
|
}}>
|
|
301
|
-
ENDPOINT URL
|
|
301
|
+
ENDPOINT URL
|
|
302
302
|
</Text>
|
|
303
303
|
</View>
|
|
304
304
|
|
|
@@ -333,7 +333,7 @@ const NetworkDetail = React.memo(() => {
|
|
|
333
333
|
fontSize: 9,
|
|
334
334
|
color: AppColors.sky600,
|
|
335
335
|
}}>
|
|
336
|
-
Open
|
|
336
|
+
Open
|
|
337
337
|
</Text>
|
|
338
338
|
</View>
|
|
339
339
|
</View>
|
|
@@ -5,7 +5,7 @@ import { AppColors } from '../../styles/AppColors';
|
|
|
5
5
|
import { AppFonts } from '../../styles/AppFonts';
|
|
6
6
|
import { useTranslation } from '../../i18n';
|
|
7
7
|
import { METHOD_COLORS } from '../../constants';
|
|
8
|
-
import { FilterIcon, CloseWhite, CircleCheckIcon, CircleAlertIcon, CircleXIcon, LayersIcon, RepeatIcon, ShieldAlertIcon, } from '../NetworkIcons';
|
|
8
|
+
import { FilterIcon, CloseWhite, ClockIcon, CircleCheckIcon, CircleAlertIcon, CircleXIcon, LayersIcon, RepeatIcon, ShieldAlertIcon, BoltIcon, GlobeIcon, LockIcon, UnlockIcon, RocketIcon, TurtleIcon, HourglassIcon, PackageIcon, } from '../NetworkIcons';
|
|
9
9
|
import TouchableScale from '../TouchableScale';
|
|
10
10
|
export const DEFAULT_NETWORK_FILTERS = {
|
|
11
11
|
statusCodes: new Set(['all']),
|
|
@@ -330,12 +330,13 @@ export const NetworkFilterModal = ({ visible, onClose, filters, onApply, searchQ
|
|
|
330
330
|
<Text style={styles.sectionTitle}>LATENCY & SPEED</Text>
|
|
331
331
|
<View style={styles.chipsWrap}>
|
|
332
332
|
{[
|
|
333
|
-
{ key: 'all', label: 'All Speeds', color: AppColors.purple },
|
|
334
|
-
{ key: 'fast', label: '
|
|
335
|
-
{ key: 'normal', label: '
|
|
336
|
-
{ key: 'slow', label: '
|
|
333
|
+
{ key: 'all', label: 'All Speeds', color: AppColors.purple, icon: LayersIcon },
|
|
334
|
+
{ key: 'fast', label: 'Fast (<200ms)', color: AppColors.greenColor, icon: BoltIcon, count: counts.fastCount },
|
|
335
|
+
{ key: 'normal', label: 'Normal (200-500ms)', color: AppColors.skyBlue, icon: ClockIcon, count: counts.normalCount },
|
|
336
|
+
{ key: 'slow', label: 'Slow (>500ms)', color: AppColors.errorColor, icon: CircleAlertIcon, count: counts.slowCount },
|
|
337
337
|
].map(item => {
|
|
338
338
|
const isSelected = draft.latency === item.key;
|
|
339
|
+
const IconComp = item.icon;
|
|
339
340
|
return (<TouchableOpacity key={item.key} activeOpacity={0.7} onPress={() => setDraft(prev => ({ ...prev, latency: item.key }))} style={[
|
|
340
341
|
styles.chip,
|
|
341
342
|
isSelected && {
|
|
@@ -343,6 +344,7 @@ export const NetworkFilterModal = ({ visible, onClose, filters, onApply, searchQ
|
|
|
343
344
|
borderColor: item.color,
|
|
344
345
|
},
|
|
345
346
|
]}>
|
|
347
|
+
<IconComp size={13} color={isSelected ? item.color : AppColors.grayTextWeak}/>
|
|
346
348
|
<Text style={[
|
|
347
349
|
styles.chipLabel,
|
|
348
350
|
isSelected && { color: item.color, fontFamily: AppFonts.interBold },
|
|
@@ -364,11 +366,12 @@ export const NetworkFilterModal = ({ visible, onClose, filters, onApply, searchQ
|
|
|
364
366
|
<Text style={styles.sectionTitle}>PROTOCOL</Text>
|
|
365
367
|
<View style={styles.chipsWrap}>
|
|
366
368
|
{[
|
|
367
|
-
{ key: 'all', label: 'All Protocols', color: AppColors.purple },
|
|
368
|
-
{ key: 'https', label: '
|
|
369
|
-
{ key: 'http', label: '
|
|
369
|
+
{ key: 'all', label: 'All Protocols', color: AppColors.purple, icon: GlobeIcon },
|
|
370
|
+
{ key: 'https', label: 'HTTPS Secure', color: AppColors.mintGreenText, icon: LockIcon, count: counts.httpsCount },
|
|
371
|
+
{ key: 'http', label: 'HTTP Insecure', color: AppColors.amber700, icon: UnlockIcon, count: counts.httpCount },
|
|
370
372
|
].map(item => {
|
|
371
373
|
const isSelected = draft.protocol === item.key;
|
|
374
|
+
const IconComp = item.icon;
|
|
372
375
|
return (<TouchableOpacity key={item.key} activeOpacity={0.7} onPress={() => setDraft(prev => ({ ...prev, protocol: item.key }))} style={[
|
|
373
376
|
styles.chip,
|
|
374
377
|
isSelected && {
|
|
@@ -376,6 +379,7 @@ export const NetworkFilterModal = ({ visible, onClose, filters, onApply, searchQ
|
|
|
376
379
|
borderColor: item.color,
|
|
377
380
|
},
|
|
378
381
|
]}>
|
|
382
|
+
<IconComp size={13} color={isSelected ? item.color : AppColors.grayTextWeak}/>
|
|
379
383
|
<Text style={[
|
|
380
384
|
styles.chipLabel,
|
|
381
385
|
isSelected && { color: item.color, fontFamily: AppFonts.interBold },
|
|
@@ -397,13 +401,14 @@ export const NetworkFilterModal = ({ visible, onClose, filters, onApply, searchQ
|
|
|
397
401
|
<Text style={styles.sectionTitle}>SORT BY</Text>
|
|
398
402
|
<View style={styles.chipsWrap}>
|
|
399
403
|
{[
|
|
400
|
-
{ key: 'time_desc', label: '
|
|
401
|
-
{ key: 'time_asc', label: '
|
|
402
|
-
{ key: 'duration_desc', label: '
|
|
403
|
-
{ key: 'duration_asc', label: '
|
|
404
|
-
{ key: 'size_desc', label: '
|
|
404
|
+
{ key: 'time_desc', label: 'Newest First (Default)', icon: ClockIcon },
|
|
405
|
+
{ key: 'time_asc', label: 'Oldest First', icon: HourglassIcon },
|
|
406
|
+
{ key: 'duration_desc', label: 'Slowest Response', icon: TurtleIcon },
|
|
407
|
+
{ key: 'duration_asc', label: 'Fastest Response', icon: RocketIcon },
|
|
408
|
+
{ key: 'size_desc', label: 'Largest Response Size', icon: PackageIcon },
|
|
405
409
|
].map(item => {
|
|
406
410
|
const isSelected = draft.sortBy === item.key;
|
|
411
|
+
const IconComp = item.icon;
|
|
407
412
|
return (<TouchableOpacity key={item.key} activeOpacity={0.7} onPress={() => setDraft(prev => ({ ...prev, sortBy: item.key }))} style={[
|
|
408
413
|
styles.chip,
|
|
409
414
|
isSelected && {
|
|
@@ -411,6 +416,7 @@ export const NetworkFilterModal = ({ visible, onClose, filters, onApply, searchQ
|
|
|
411
416
|
borderColor: AppColors.purple,
|
|
412
417
|
},
|
|
413
418
|
]}>
|
|
419
|
+
<IconComp size={13} color={isSelected ? AppColors.purple : AppColors.grayTextWeak}/>
|
|
414
420
|
<Text style={[
|
|
415
421
|
styles.chipLabel,
|
|
416
422
|
isSelected && { color: AppColors.purple, fontFamily: AppFonts.interBold },
|
|
@@ -19,7 +19,7 @@ import { isAnalyticsConnected } from '../../customHooks/analyticsLogger';
|
|
|
19
19
|
import { useTranslation } from '../../i18n';
|
|
20
20
|
import { SignalIcon, TerminalIcon, AnalyticsIcon, SettingsIcon, SunIcon, MoonIcon, ScreenIcon, MotionIcon, LayersIcon, EyeIcon, CheckIcon, TrashIcon, PackageIcon, ReduxIcon, PerformanceIcon, CrashIcon, ShieldAlertIcon, ForwardChevronIcon, ChevronDownIcon, NpmIcon, BoltIcon, BrainIcon, SmartphoneIcon, DatabaseIcon, QrCodeIcon, } from '../NetworkIcons';
|
|
21
21
|
import { LIB_VERSION } from '../../constants';
|
|
22
|
-
import { copyToClipboard } from '../../helpers';
|
|
22
|
+
import { copyToClipboard, isLocalDebugEnvironment } from '../../helpers';
|
|
23
23
|
import { showToast } from '../../helpers/toast';
|
|
24
24
|
import { pruneAllLogs } from '../../helpers/memoryManager';
|
|
25
25
|
const SettingsPanel = () => {
|
|
@@ -33,7 +33,7 @@ const SettingsPanel = () => {
|
|
|
33
33
|
const isPersistent = isPersistentStorageAvailable();
|
|
34
34
|
const statusBarHeight = Platform.OS === 'android' ? StatusBar.currentHeight || 24 : 44;
|
|
35
35
|
const headerTopPadding = modalHeightPercent >= 95 ? statusBarHeight : 0;
|
|
36
|
-
const allModules = [
|
|
36
|
+
const allModules = useMemo(() => [
|
|
37
37
|
{
|
|
38
38
|
key: 'apis',
|
|
39
39
|
label: 'APIs (Network)',
|
|
@@ -104,7 +104,9 @@ const SettingsPanel = () => {
|
|
|
104
104
|
icon: 'debugging',
|
|
105
105
|
desc: 'QR Code bridge for direct Debug APK download & Metro live-reload sync',
|
|
106
106
|
},
|
|
107
|
-
]
|
|
107
|
+
].filter(m => m.key === 'debugging'
|
|
108
|
+
? Platform.OS === 'android' && isLocalDebugEnvironment()
|
|
109
|
+
: true), []);
|
|
108
110
|
const [stagedTabVisibility, setStagedTabVisibility] = useState(() => ({
|
|
109
111
|
apis: true,
|
|
110
112
|
logs: Boolean(tabVisibility?.logs),
|
|
@@ -115,7 +117,7 @@ const SettingsPanel = () => {
|
|
|
115
117
|
crash: Boolean(tabVisibility?.crash),
|
|
116
118
|
device: Boolean(tabVisibility?.device),
|
|
117
119
|
storage: Boolean(tabVisibility?.storage),
|
|
118
|
-
debugging: Boolean(tabVisibility?.debugging
|
|
120
|
+
debugging: Boolean(tabVisibility?.debugging),
|
|
119
121
|
}));
|
|
120
122
|
useEffect(() => {
|
|
121
123
|
setStagedTabVisibility({
|
|
@@ -128,7 +130,7 @@ const SettingsPanel = () => {
|
|
|
128
130
|
crash: Boolean(tabVisibility?.crash),
|
|
129
131
|
device: Boolean(tabVisibility?.device),
|
|
130
132
|
storage: Boolean(tabVisibility?.storage),
|
|
131
|
-
debugging: Boolean(tabVisibility?.debugging
|
|
133
|
+
debugging: Boolean(tabVisibility?.debugging),
|
|
132
134
|
});
|
|
133
135
|
}, [tabVisibility]);
|
|
134
136
|
const hasUnsavedChanges = useMemo(() => {
|
|
@@ -5,7 +5,7 @@ import globalStyles from '../../styles';
|
|
|
5
5
|
import { AppColors } from '../../styles/AppColors';
|
|
6
6
|
import { AppFonts } from '../../styles/AppFonts';
|
|
7
7
|
import { useTranslation } from '../../i18n';
|
|
8
|
-
import { DatabaseIcon, SearchIcon, ClearIcon, PlusIcon, PencilIcon, TrashIcon, CopyIcon, CheckIcon, LayersIcon, ResetIcon, ChevronIcon, } from '../NetworkIcons';
|
|
8
|
+
import { DatabaseIcon, SearchIcon, ClearIcon, PlusIcon, PencilIcon, TrashIcon, CopyIcon, CheckIcon, LayersIcon, ResetIcon, ChevronIcon, WarningTriangleIcon, } from '../NetworkIcons';
|
|
9
9
|
import { fetchStorageEntries, setStorageEntry, removeStorageEntry, clearStorageDriver, isAsyncStorageConnected, isMMKVConnected, getRegisteredMMKVInstanceIds, subscribeToStorageChanges, } from '../../customHooks/storageInspector';
|
|
10
10
|
import { copyToClipboard } from '../../helpers';
|
|
11
11
|
import { showToast } from '../../helpers/toast';
|
|
@@ -88,9 +88,12 @@ const StorageEntryCard = React.memo(function StorageEntryCard({ entry, isExpande
|
|
|
88
88
|
<Text style={styles.valuePreviewText} numberOfLines={isExpanded ? undefined : 3} selectable={isExpanded}>
|
|
89
89
|
{displayValue}
|
|
90
90
|
</Text>
|
|
91
|
-
{entry.value.length > 80 && (<
|
|
92
|
-
{
|
|
93
|
-
|
|
91
|
+
{entry.value.length > 80 && (<View style={{ flexDirection: 'row', alignItems: 'center', gap: 4, marginTop: 4 }}>
|
|
92
|
+
<Text style={styles.expandHint}>
|
|
93
|
+
{isExpanded ? 'Collapse' : 'Expand'}
|
|
94
|
+
</Text>
|
|
95
|
+
<ChevronIcon direction={isExpanded ? 'up' : 'down'} size={10} color={AppColors.purple}/>
|
|
96
|
+
</View>)}
|
|
94
97
|
</TouchableScale>
|
|
95
98
|
</View>);
|
|
96
99
|
});
|
|
@@ -465,7 +468,10 @@ export const StorageTab = React.memo(() => {
|
|
|
465
468
|
: editType === 'boolean'
|
|
466
469
|
? 'true'
|
|
467
470
|
: 'String value...'} placeholderTextColor={AppColors.grayTextWeak} style={[styles.textInput, styles.textAreaInput]} multiline textAlignVertical="top" autoCapitalize="none"/>
|
|
468
|
-
{jsonError && (<
|
|
471
|
+
{jsonError && (<View style={{ flexDirection: 'row', alignItems: 'center', gap: 5, marginTop: 4 }}>
|
|
472
|
+
<WarningTriangleIcon size={12} color={AppColors.errorColor}/>
|
|
473
|
+
<Text style={styles.errorText}>{jsonError}</Text>
|
|
474
|
+
</View>)}
|
|
469
475
|
</View>
|
|
470
476
|
|
|
471
477
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Animated, ScrollView, Text, View } from 'react-native';
|
|
2
|
+
import { Animated, Platform, ScrollView, Text, View, } from 'react-native';
|
|
3
3
|
import { useInspector } from './InspectorContext';
|
|
4
4
|
import styles from '../../styles';
|
|
5
5
|
import { AppColors } from '../../styles/AppColors';
|
|
@@ -7,6 +7,7 @@ import TouchableScale from '../TouchableScale';
|
|
|
7
7
|
import { SignalIcon, TerminalIcon, AnalyticsIcon, PackageIcon, ReduxIcon, PerformanceIcon, CrashIcon, SmartphoneIcon, DatabaseIcon, QrCodeIcon, } from '../NetworkIcons';
|
|
8
8
|
import { isReduxConnected } from '../../customHooks/reduxLogger';
|
|
9
9
|
import { isAnalyticsConnected } from '../../customHooks/analyticsLogger';
|
|
10
|
+
import { isLocalDebugEnvironment } from '../../helpers';
|
|
10
11
|
const TabBar = React.memo(() => {
|
|
11
12
|
const { activeTab, switchActiveTab, tabVisibility, logs, consoleLogs, analyticsEvents, crashRecords, lastReadApisCount, lastReadLogsCount, lastReadCrashesCount, unreadPulseAnim, } = useInspector();
|
|
12
13
|
const isReduxAvail = isReduxConnected();
|
|
@@ -76,8 +77,11 @@ const TabBar = React.memo(() => {
|
|
|
76
77
|
},
|
|
77
78
|
]
|
|
78
79
|
.filter(tab => {
|
|
79
|
-
if (tab.key === 'debugging')
|
|
80
|
-
return
|
|
80
|
+
if (tab.key === 'debugging') {
|
|
81
|
+
return (Platform.OS === 'android' &&
|
|
82
|
+
isLocalDebugEnvironment() &&
|
|
83
|
+
Boolean(tabVisibility?.debugging));
|
|
84
|
+
}
|
|
81
85
|
if (!tabVisibility?.[tab.key])
|
|
82
86
|
return false;
|
|
83
87
|
if (tab.key === 'redux' && !isReduxAvail)
|
|
@@ -5,7 +5,7 @@ import TreeNode from './TreeNode';
|
|
|
5
5
|
import SegmentedTabs from './SegmentedTabs';
|
|
6
6
|
import HighlightText from './HighlightText';
|
|
7
7
|
import CopyButton from './CopyButton';
|
|
8
|
-
import { PrettyIcon, RawIcon, TableIcon } from './NetworkIcons';
|
|
8
|
+
import { PrettyIcon, RawIcon, TableIcon, ChevronIcon } from './NetworkIcons';
|
|
9
9
|
import { AppColors } from '../styles/AppColors';
|
|
10
10
|
import { AppFonts } from '../styles/AppFonts';
|
|
11
11
|
import styles from '../styles';
|
|
@@ -44,10 +44,11 @@ const JsonTableRow = React.memo(({ itemKey, val, search, }) => {
|
|
|
44
44
|
localStyles.tableCellValue,
|
|
45
45
|
isObject && localStyles.tableCellRawCode,
|
|
46
46
|
]} highlightStyle={localStyles.highlight} numberOfLines={expanded ? undefined : 3} selectable={true}/>
|
|
47
|
-
{isMultiline && (<TouchableOpacity onPress={() => setExpanded(prev => !prev)} hitSlop={6} style={localStyles.showMoreBtn}>
|
|
47
|
+
{isMultiline && (<TouchableOpacity onPress={() => setExpanded(prev => !prev)} hitSlop={6} style={[localStyles.showMoreBtn, { flexDirection: 'row', alignItems: 'center', gap: 4 }]}>
|
|
48
48
|
<Text style={localStyles.showMoreText}>
|
|
49
|
-
{expanded ? 'Show less
|
|
49
|
+
{expanded ? 'Show less' : 'Show more'}
|
|
50
50
|
</Text>
|
|
51
|
+
<ChevronIcon direction={expanded ? 'up' : 'down'} size={10} color={AppColors.purple}/>
|
|
51
52
|
</TouchableOpacity>)}
|
|
52
53
|
</View>
|
|
53
54
|
</View>);
|
|
@@ -37,7 +37,7 @@ export declare const SignalIcon: ({ color, size, }: IconProps) => React.JSX.Elem
|
|
|
37
37
|
export declare const DiffIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
38
38
|
export declare const GlobeIcon: ({ color, size }: IconProps) => React.JSX.Element;
|
|
39
39
|
export declare const SortArrowIcon: ({ color, size, direction, }: IconProps) => React.JSX.Element;
|
|
40
|
-
export declare const ChevronIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
40
|
+
export declare const ChevronIcon: ({ color, size, direction, }: IconProps) => React.JSX.Element;
|
|
41
41
|
export declare const FilterIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
42
42
|
export declare const DownloadIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
43
43
|
export declare const CloseWhite: ({ color, size }: IconProps) => React.JSX.Element;
|
|
@@ -135,3 +135,6 @@ export declare const PencilIcon: ({ color, size, }: IconProps) => React.JSX.Elem
|
|
|
135
135
|
export declare const PlusIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
136
136
|
export declare const LockIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
137
137
|
export declare const QrCodeIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
138
|
+
export declare const UnlockIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
139
|
+
export declare const RocketIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
140
|
+
export declare const TurtleIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
@@ -167,9 +167,16 @@ export const SortArrowIcon = ({ color = AppColors.primaryLight, size = 20, direc
|
|
|
167
167
|
</>)}
|
|
168
168
|
</Svg>);
|
|
169
169
|
};
|
|
170
|
-
export const ChevronIcon = ({ color = AppColors.grayTextWeak, size = 14, }) => {
|
|
170
|
+
export const ChevronIcon = ({ color = AppColors.grayTextWeak, size = 14, direction = 'down', }) => {
|
|
171
|
+
let path = 'M6 9l6 6 6-6';
|
|
172
|
+
if (direction === 'up')
|
|
173
|
+
path = 'M18 15l-6-6-6 6';
|
|
174
|
+
else if (direction === 'right')
|
|
175
|
+
path = 'M9 18l6-6-6-6';
|
|
176
|
+
else if (direction === 'left')
|
|
177
|
+
path = 'M15 18l-6-6 6-6';
|
|
171
178
|
return (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
172
|
-
<Path d=
|
|
179
|
+
<Path d={path} stroke={color} strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
173
180
|
</Svg>);
|
|
174
181
|
};
|
|
175
182
|
export const FilterIcon = ({ color = AppColors.grayTextWeak, size = 18, }) => {
|
|
@@ -740,3 +747,16 @@ export const QrCodeIcon = ({ color = AppColors.grayTextWeak, size = 14, }) => (<
|
|
|
740
747
|
<Rect x="3" y="14" width="7" height="7" rx="1.5" stroke={color} strokeWidth="2"/>
|
|
741
748
|
<Path d="M14 14h3v3h-3zM18 18h3v3h-3zM14 19h3v2h-3zM19 14h2v3h-2z" fill={color}/>
|
|
742
749
|
</Svg>);
|
|
750
|
+
export const UnlockIcon = ({ color = AppColors.grayTextWeak, size = 14, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
751
|
+
<Rect x="3" y="11" width="18" height="11" rx="2" ry="2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
752
|
+
<Path d="M7 11V7a5 5 0 0 1 9.9-1" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
753
|
+
</Svg>);
|
|
754
|
+
export const RocketIcon = ({ color = AppColors.grayTextWeak, size = 14, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
755
|
+
<Path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09zM12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6.05 11a22.35 22.35 0 0 1-3.95 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
756
|
+
<Path d="M9 12l-4 4M15 6l-3 3" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
757
|
+
</Svg>);
|
|
758
|
+
export const TurtleIcon = ({ color = AppColors.grayTextWeak, size = 14, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
759
|
+
<Ellipse cx="12" cy="14" rx="7" ry="5" stroke={color} strokeWidth="2"/>
|
|
760
|
+
<Circle cx="12" cy="6" r="3" stroke={color} strokeWidth="2"/>
|
|
761
|
+
<Path d="M5 12l-2-2M19 12l2-2M6 18l-2 2M18 18l2 2" stroke={color} strokeWidth="2" strokeLinecap="round"/>
|
|
762
|
+
</Svg>);
|
|
@@ -6,7 +6,7 @@ import { AppColors } from '../styles/AppColors';
|
|
|
6
6
|
export const QRCodeView = ({ value, size = 200, color = '#000000', backgroundColor = '#FFFFFF', }) => {
|
|
7
7
|
const matrix = useMemo(() => generateQRMatrix(value || 'http://localhost:8081'), [value]);
|
|
8
8
|
const numCells = matrix.length || 21;
|
|
9
|
-
const margin =
|
|
9
|
+
const margin = 4;
|
|
10
10
|
const totalCells = numCells + margin * 2;
|
|
11
11
|
const cellSize = size / totalCells;
|
|
12
12
|
return (<View style={[
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "2.3.
|
|
1
|
+
export declare const LIB_VERSION = "2.3.14";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = '2.3.
|
|
1
|
+
export const LIB_VERSION = '2.3.14';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NetworkLog, RouteInfo, DiffResult, JsonContent, StackFrameType } from '../types';
|
|
2
2
|
export * from './searchQueryParser';
|
|
3
3
|
export * from './memoryManager';
|
|
4
|
+
export declare const isLocalDebugEnvironment: () => boolean;
|
|
4
5
|
export declare const getDomainColor: (domain: string) => string;
|
|
5
6
|
export declare const formatDateTime: (timestamp: number) => string;
|
|
6
7
|
export declare const formatTimestamp: (timestamp: number) => string;
|
|
@@ -5,6 +5,15 @@ import { AppColors } from '../styles/AppColors';
|
|
|
5
5
|
import { DOMAIN_COLORS, DURATION_FAST_MS, DURATION_SLOW_MS } from '../constants';
|
|
6
6
|
export * from './searchQueryParser';
|
|
7
7
|
export * from './memoryManager';
|
|
8
|
+
export const isLocalDebugEnvironment = () => {
|
|
9
|
+
const isDev = typeof __DEV__ !== 'undefined' && Boolean(__DEV__);
|
|
10
|
+
const scriptURL = NativeModules.SourceCode?.scriptURL || '';
|
|
11
|
+
const hasDevServer = scriptURL.startsWith('http://') ||
|
|
12
|
+
scriptURL.startsWith('https://') ||
|
|
13
|
+
scriptURL.includes(':8081') ||
|
|
14
|
+
scriptURL.includes(':8082');
|
|
15
|
+
return isDev || hasDevServer;
|
|
16
|
+
};
|
|
8
17
|
export const getDomainColor = (domain) => {
|
|
9
18
|
if (!domain)
|
|
10
19
|
return DOMAIN_COLORS[0];
|