react-native-inapp-inspector 2.3.13 → 2.3.15
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/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- 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/reports/problems/problems-report.html +659 -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/AnimatedEntrance.js +3 -3
- package/dist/commonjs/components/ConsoleLogCard.js +174 -100
- package/dist/commonjs/components/Inspector/ConsoleTab.js +25 -16
- package/dist/commonjs/components/Inspector/CrashTab.js +19 -5
- package/dist/commonjs/components/Inspector/DebuggingTab.js +741 -438
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +198 -98
- package/dist/commonjs/components/Inspector/InspectorHeader.js +2 -2
- package/dist/commonjs/components/Inspector/MainScreen.js +58 -55
- package/dist/commonjs/components/Inspector/NetworkTab.js +1 -335
- package/dist/commonjs/components/Inspector/PerformanceTab.js +32 -6
- package/dist/commonjs/components/Inspector/ReduxTab.js +3 -1
- package/dist/commonjs/components/Inspector/SettingsPanel.js +6 -4
- package/dist/commonjs/components/Inspector/StorageTab.js +23 -5
- package/dist/commonjs/components/Inspector/TabBar.js +6 -2
- package/dist/commonjs/components/JsonViewer.js +14 -2
- package/dist/commonjs/components/LogCard.js +428 -227
- package/dist/commonjs/components/QRCodeView.js +1 -1
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +3 -3
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/analyticsLogger.js +1 -1
- package/dist/commonjs/customHooks/consoleLogger.js +34 -2
- package/dist/commonjs/customHooks/crashHandler.js +1 -1
- package/dist/commonjs/customHooks/networkLogger.js +184 -26
- 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/helpers/searchQueryParser.d.ts +1 -1
- package/dist/commonjs/helpers/searchQueryParser.js +37 -291
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +146 -30
- package/dist/commonjs/metro.d.ts +25 -0
- package/dist/commonjs/metro.js +478 -0
- package/dist/esm/components/AnimatedEntrance.js +3 -3
- package/dist/esm/components/ConsoleLogCard.js +141 -100
- package/dist/esm/components/Inspector/ConsoleTab.js +25 -16
- package/dist/esm/components/Inspector/CrashTab.js +19 -5
- package/dist/esm/components/Inspector/DebuggingTab.js +744 -441
- package/dist/esm/components/Inspector/DeviceInfoTab.js +198 -98
- package/dist/esm/components/Inspector/InspectorHeader.js +3 -3
- package/dist/esm/components/Inspector/MainScreen.js +58 -55
- package/dist/esm/components/Inspector/NetworkTab.js +2 -336
- package/dist/esm/components/Inspector/PerformanceTab.js +32 -6
- package/dist/esm/components/Inspector/ReduxTab.js +3 -1
- package/dist/esm/components/Inspector/SettingsPanel.js +7 -5
- package/dist/esm/components/Inspector/StorageTab.js +23 -5
- package/dist/esm/components/Inspector/TabBar.js +7 -3
- package/dist/esm/components/JsonViewer.js +14 -2
- package/dist/esm/components/LogCard.js +422 -221
- package/dist/esm/components/QRCodeView.js +1 -1
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +3 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/analyticsLogger.js +1 -1
- package/dist/esm/customHooks/consoleLogger.js +34 -2
- package/dist/esm/customHooks/crashHandler.js +1 -1
- package/dist/esm/customHooks/networkLogger.js +184 -26
- 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/helpers/searchQueryParser.d.ts +1 -1
- package/dist/esm/helpers/searchQueryParser.js +37 -291
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +144 -29
- 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/AnimatedEntrance.tsx +3 -3
- package/src/components/ConsoleLogCard.tsx +154 -103
- package/src/components/Inspector/ConsoleTab.tsx +27 -18
- package/src/components/Inspector/CrashTab.tsx +19 -5
- package/src/components/Inspector/DebuggingTab.tsx +842 -514
- package/src/components/Inspector/DeviceInfoTab.tsx +224 -102
- package/src/components/Inspector/InspectorHeader.tsx +5 -3
- package/src/components/Inspector/MainScreen.tsx +6 -4
- package/src/components/Inspector/NetworkTab.tsx +1 -402
- package/src/components/Inspector/PerformanceTab.tsx +36 -7
- package/src/components/Inspector/ReduxTab.tsx +9 -1
- package/src/components/Inspector/SettingsPanel.tsx +85 -75
- package/src/components/Inspector/StorageTab.tsx +27 -7
- package/src/components/Inspector/TabBar.tsx +16 -2
- package/src/components/JsonViewer.tsx +15 -2
- package/src/components/LogCard.tsx +528 -339
- package/src/components/QRCodeView.tsx +2 -2
- package/src/constants/telemetryConfig.ts +5 -3
- package/src/constants/version.ts +1 -1
- package/src/customHooks/analyticsLogger.ts +1 -1
- package/src/customHooks/consoleLogger.ts +36 -3
- package/src/customHooks/crashHandler.ts +1 -1
- package/src/customHooks/networkLogger.ts +214 -26
- package/src/helpers/index.ts +15 -0
- package/src/helpers/qrGenerator.ts +418 -37
- package/src/helpers/searchQueryParser.ts +40 -285
- package/src/index.tsx +337 -214
- package/src/metro.ts +598 -0
|
@@ -1,44 +1,367 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.generateQRMatrix = generateQRMatrix;
|
|
7
|
-
const
|
|
4
|
+
const QR_ECC_LEVEL = {
|
|
5
|
+
L: 1,
|
|
6
|
+
M: 0,
|
|
7
|
+
Q: 3,
|
|
8
|
+
H: 2,
|
|
9
|
+
};
|
|
10
|
+
const EXP_TABLE = new Uint8Array(256);
|
|
11
|
+
const LOG_TABLE = new Uint8Array(256);
|
|
12
|
+
(function initGaloisField() {
|
|
13
|
+
let x = 1;
|
|
14
|
+
for (let i = 0; i < 255; i++) {
|
|
15
|
+
EXP_TABLE[i] = x;
|
|
16
|
+
LOG_TABLE[x] = i;
|
|
17
|
+
x <<= 1;
|
|
18
|
+
if (x & 0x100) {
|
|
19
|
+
x ^= 0x11d;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
EXP_TABLE[255] = EXP_TABLE[0];
|
|
23
|
+
})();
|
|
24
|
+
function glog(n) {
|
|
25
|
+
if (n < 1)
|
|
26
|
+
throw new Error(`glog(${n})`);
|
|
27
|
+
return LOG_TABLE[n];
|
|
28
|
+
}
|
|
29
|
+
function gexp(n) {
|
|
30
|
+
while (n < 0)
|
|
31
|
+
n += 255;
|
|
32
|
+
while (n >= 256)
|
|
33
|
+
n -= 255;
|
|
34
|
+
return EXP_TABLE[n];
|
|
35
|
+
}
|
|
36
|
+
class Polynomial {
|
|
37
|
+
constructor(num, shift = 0) {
|
|
38
|
+
let offset = 0;
|
|
39
|
+
while (offset < num.length && num[offset] === 0) {
|
|
40
|
+
offset++;
|
|
41
|
+
}
|
|
42
|
+
this.num = new Array(num.length - offset + shift);
|
|
43
|
+
for (let i = 0; i < num.length - offset; i++) {
|
|
44
|
+
this.num[i] = num[i + offset];
|
|
45
|
+
}
|
|
46
|
+
for (let i = num.length - offset; i < this.num.length; i++) {
|
|
47
|
+
this.num[i] = 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
get(index) {
|
|
51
|
+
return this.num[index] || 0;
|
|
52
|
+
}
|
|
53
|
+
getLength() {
|
|
54
|
+
return this.num.length;
|
|
55
|
+
}
|
|
56
|
+
multiply(e) {
|
|
57
|
+
const num = new Array(this.getLength() + e.getLength() - 1).fill(0);
|
|
58
|
+
for (let i = 0; i < this.getLength(); i++) {
|
|
59
|
+
for (let j = 0; j < e.getLength(); j++) {
|
|
60
|
+
num[i + j] ^= gexp(glog(this.get(i)) + glog(e.get(j)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return new Polynomial(num);
|
|
64
|
+
}
|
|
65
|
+
mod(e) {
|
|
66
|
+
if (this.getLength() - e.getLength() < 0) {
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
const ratio = glog(this.get(0)) - glog(e.get(0));
|
|
70
|
+
const num = new Array(this.getLength());
|
|
71
|
+
for (let i = 0; i < this.getLength(); i++) {
|
|
72
|
+
num[i] = this.get(i);
|
|
73
|
+
}
|
|
74
|
+
for (let i = 0; i < e.getLength(); i++) {
|
|
75
|
+
num[i] ^= gexp(glog(e.get(i)) + ratio);
|
|
76
|
+
}
|
|
77
|
+
return new Polynomial(num).mod(e);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const RS_BLOCK_TABLE = [
|
|
81
|
+
[[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9]],
|
|
82
|
+
[[1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16]],
|
|
83
|
+
[[1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13]],
|
|
84
|
+
[[1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9]],
|
|
85
|
+
[[1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12]],
|
|
86
|
+
[[2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15]],
|
|
87
|
+
[[2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14]],
|
|
88
|
+
[[2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15]],
|
|
89
|
+
[[2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13]],
|
|
90
|
+
[[2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16]],
|
|
91
|
+
];
|
|
92
|
+
const PATTERN_POSITION_TABLE = [
|
|
93
|
+
[],
|
|
94
|
+
[6, 18],
|
|
95
|
+
[6, 22],
|
|
96
|
+
[6, 26],
|
|
97
|
+
[6, 30],
|
|
98
|
+
[6, 34],
|
|
99
|
+
[6, 22, 38],
|
|
100
|
+
[6, 24, 42],
|
|
101
|
+
[6, 26, 46],
|
|
102
|
+
[6, 28, 50],
|
|
103
|
+
];
|
|
104
|
+
const G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
|
|
105
|
+
const G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1);
|
|
106
|
+
function getBCHTypeInfo(data) {
|
|
107
|
+
let d = data << 10;
|
|
108
|
+
while (getBCHDigit(d) - getBCHDigit(G15) >= 0) {
|
|
109
|
+
d ^= G15 << (getBCHDigit(d) - getBCHDigit(G15));
|
|
110
|
+
}
|
|
111
|
+
return ((data << 10) | d) ^ G15_MASK;
|
|
112
|
+
}
|
|
113
|
+
function getBCHDigit(data) {
|
|
114
|
+
let digit = 0;
|
|
115
|
+
while (data !== 0) {
|
|
116
|
+
digit++;
|
|
117
|
+
data >>>= 1;
|
|
118
|
+
}
|
|
119
|
+
return digit;
|
|
120
|
+
}
|
|
121
|
+
function getMask(maskPattern, i, j) {
|
|
122
|
+
switch (maskPattern) {
|
|
123
|
+
case 0: return (i + j) % 2 === 0;
|
|
124
|
+
case 1: return i % 2 === 0;
|
|
125
|
+
case 2: return j % 3 === 0;
|
|
126
|
+
case 3: return (i + j) % 3 === 0;
|
|
127
|
+
case 4: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0;
|
|
128
|
+
case 5: return ((i * j) % 2) + ((i * j) % 3) === 0;
|
|
129
|
+
case 6: return (((i * j) % 2) + ((i * j) % 3)) % 2 === 0;
|
|
130
|
+
case 7: return (((i * j) % 3) + ((i + j) % 2)) % 2 === 0;
|
|
131
|
+
default: return false;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class BitBuffer {
|
|
135
|
+
constructor() {
|
|
136
|
+
this.buffer = [];
|
|
137
|
+
this.length = 0;
|
|
138
|
+
}
|
|
139
|
+
get(index) {
|
|
140
|
+
const bufIndex = Math.floor(index / 8);
|
|
141
|
+
return ((this.buffer[bufIndex] >>> (7 - (index % 8))) & 1) === 1;
|
|
142
|
+
}
|
|
143
|
+
put(num, length) {
|
|
144
|
+
for (let i = 0; i < length; i++) {
|
|
145
|
+
this.putBit(((num >>> (length - i - 1)) & 1) === 1);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
putBit(bit) {
|
|
149
|
+
const bufIndex = Math.floor(this.length / 8);
|
|
150
|
+
if (this.buffer.length <= bufIndex) {
|
|
151
|
+
this.buffer.push(0);
|
|
152
|
+
}
|
|
153
|
+
if (bit) {
|
|
154
|
+
this.buffer[bufIndex] |= 0x80 >>> (this.length % 8);
|
|
155
|
+
}
|
|
156
|
+
this.length++;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
function getErrorCorrectionPolynomial(errorCorrectionLength) {
|
|
160
|
+
let a = new Polynomial([1], 0);
|
|
161
|
+
for (let i = 0; i < errorCorrectionLength; i++) {
|
|
162
|
+
a = a.multiply(new Polynomial([1, gexp(i)], 0));
|
|
163
|
+
}
|
|
164
|
+
return a;
|
|
165
|
+
}
|
|
8
166
|
function generateQRMatrix(text, ecc = 'M') {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
167
|
+
const eccLevel = QR_ECC_LEVEL[ecc] ?? 0;
|
|
168
|
+
const utf8Bytes = [];
|
|
169
|
+
for (let i = 0; i < text.length; i++) {
|
|
170
|
+
let c = text.charCodeAt(i);
|
|
171
|
+
if (c < 128) {
|
|
172
|
+
utf8Bytes.push(c);
|
|
173
|
+
}
|
|
174
|
+
else if (c < 2048) {
|
|
175
|
+
utf8Bytes.push((c >> 6) | 192);
|
|
176
|
+
utf8Bytes.push((c & 63) | 128);
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
utf8Bytes.push((c >> 12) | 224);
|
|
180
|
+
utf8Bytes.push(((c >> 6) & 63) | 128);
|
|
181
|
+
utf8Bytes.push((c & 63) | 128);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
let version = 1;
|
|
185
|
+
for (let v = 1; v <= 10; v++) {
|
|
186
|
+
const blockList = RS_BLOCK_TABLE[v - 1][eccLevel];
|
|
187
|
+
let totalDataCount = 0;
|
|
188
|
+
for (let i = 0; i < blockList.length; i += 3) {
|
|
189
|
+
totalDataCount += blockList[i] * blockList[i + 2];
|
|
190
|
+
}
|
|
191
|
+
if (utf8Bytes.length + 2 <= totalDataCount) {
|
|
192
|
+
version = v;
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
version = v;
|
|
196
|
+
}
|
|
197
|
+
const moduleCount = version * 4 + 17;
|
|
198
|
+
const modules = Array.from({ length: moduleCount }, () => Array(moduleCount).fill(null));
|
|
199
|
+
function setupPositionProbePattern(row, col) {
|
|
200
|
+
for (let r = -1; r <= 7; r++) {
|
|
201
|
+
if (row + r <= -1 || moduleCount <= row + r)
|
|
202
|
+
continue;
|
|
203
|
+
for (let c = -1; c <= 7; c++) {
|
|
204
|
+
if (col + c <= -1 || moduleCount <= col + c)
|
|
205
|
+
continue;
|
|
206
|
+
if ((0 <= r && r <= 6 && (c === 0 || c === 6)) ||
|
|
207
|
+
(0 <= c && c <= 6 && (r === 0 || r === 6)) ||
|
|
208
|
+
(2 <= r && r <= 4 && 2 <= c && c <= 4)) {
|
|
209
|
+
modules[row + r][col + c] = true;
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
modules[row + r][col + c] = false;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
setupPositionProbePattern(0, 0);
|
|
218
|
+
setupPositionProbePattern(moduleCount - 7, 0);
|
|
219
|
+
setupPositionProbePattern(0, moduleCount - 7);
|
|
220
|
+
const pos = PATTERN_POSITION_TABLE[version - 1] || [];
|
|
221
|
+
for (let i = 0; i < pos.length; i++) {
|
|
222
|
+
for (let j = 0; j < pos.length; j++) {
|
|
223
|
+
const row = pos[i];
|
|
224
|
+
const col = pos[j];
|
|
225
|
+
if (modules[row][col] !== null)
|
|
226
|
+
continue;
|
|
227
|
+
for (let r = -2; r <= 2; r++) {
|
|
228
|
+
for (let c = -2; c <= 2; c++) {
|
|
229
|
+
if (r === -2 || r === 2 || c === -2 || c === 2 || (r === 0 && c === 0)) {
|
|
230
|
+
modules[row + r][col + c] = true;
|
|
231
|
+
}
|
|
232
|
+
else {
|
|
233
|
+
modules[row + r][col + c] = false;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
for (let r = 8; r < moduleCount - 8; r++) {
|
|
240
|
+
if (modules[r][6] === null)
|
|
241
|
+
modules[r][6] = r % 2 === 0;
|
|
242
|
+
}
|
|
243
|
+
for (let c = 8; c < moduleCount - 8; c++) {
|
|
244
|
+
if (modules[6][c] === null)
|
|
245
|
+
modules[6][c] = c % 2 === 0;
|
|
246
|
+
}
|
|
247
|
+
const buffer = new BitBuffer();
|
|
248
|
+
buffer.put(4, 4);
|
|
249
|
+
buffer.put(utf8Bytes.length, 8);
|
|
250
|
+
for (let i = 0; i < utf8Bytes.length; i++) {
|
|
251
|
+
buffer.put(utf8Bytes[i], 8);
|
|
252
|
+
}
|
|
253
|
+
const rsBlocks = RS_BLOCK_TABLE[version - 1][eccLevel];
|
|
254
|
+
let totalDataCount = 0;
|
|
255
|
+
for (let i = 0; i < rsBlocks.length; i += 3) {
|
|
256
|
+
totalDataCount += rsBlocks[i] * rsBlocks[i + 2];
|
|
257
|
+
}
|
|
258
|
+
if (buffer.length + 4 <= totalDataCount * 8) {
|
|
259
|
+
buffer.put(0, 4);
|
|
260
|
+
}
|
|
261
|
+
while (buffer.length % 8 !== 0) {
|
|
262
|
+
buffer.putBit(false);
|
|
263
|
+
}
|
|
264
|
+
while (buffer.length < totalDataCount * 8) {
|
|
265
|
+
buffer.put(0xec, 8);
|
|
266
|
+
if (buffer.length < totalDataCount * 8) {
|
|
267
|
+
buffer.put(0x11, 8);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
const dataBytes = buffer.buffer;
|
|
271
|
+
let offset = 0;
|
|
272
|
+
const dcData = [];
|
|
273
|
+
const ecData = [];
|
|
274
|
+
for (let i = 0; i < rsBlocks.length; i += 3) {
|
|
275
|
+
const numBlocks = rsBlocks[i];
|
|
276
|
+
const totalCount = rsBlocks[i + 1];
|
|
277
|
+
const dataCount = rsBlocks[i + 2];
|
|
278
|
+
const ecCount = totalCount - dataCount;
|
|
279
|
+
const rsPoly = getErrorCorrectionPolynomial(ecCount);
|
|
280
|
+
for (let b = 0; b < numBlocks; b++) {
|
|
281
|
+
const rawDc = dataBytes.slice(offset, offset + dataCount);
|
|
282
|
+
offset += dataCount;
|
|
283
|
+
dcData.push(rawDc);
|
|
284
|
+
const rawPoly = new Polynomial(rawDc, rsPoly.getLength() - 1);
|
|
285
|
+
const modPoly = rawPoly.mod(rsPoly);
|
|
286
|
+
const ec = new Array(rsPoly.getLength() - 1).fill(0);
|
|
287
|
+
for (let k = 0; k < ec.length; k++) {
|
|
288
|
+
const modIndex = k + modPoly.getLength() - ec.length;
|
|
289
|
+
ec[k] = modIndex >= 0 ? modPoly.get(modIndex) : 0;
|
|
19
290
|
}
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
291
|
+
ecData.push(ec);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
const finalCodewords = [];
|
|
295
|
+
let maxDcCount = 0;
|
|
296
|
+
for (const block of dcData)
|
|
297
|
+
maxDcCount = Math.max(maxDcCount, block.length);
|
|
298
|
+
for (let i = 0; i < maxDcCount; i++) {
|
|
299
|
+
for (const block of dcData) {
|
|
300
|
+
if (i < block.length)
|
|
301
|
+
finalCodewords.push(block[i]);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
let maxEcCount = 0;
|
|
305
|
+
for (const block of ecData)
|
|
306
|
+
maxEcCount = Math.max(maxEcCount, block.length);
|
|
307
|
+
for (let i = 0; i < maxEcCount; i++) {
|
|
308
|
+
for (const block of ecData) {
|
|
309
|
+
if (i < block.length)
|
|
310
|
+
finalCodewords.push(block[i]);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
let inc = -1;
|
|
314
|
+
let row = moduleCount - 1;
|
|
315
|
+
let bitIndex = 0;
|
|
316
|
+
const maskPattern = 0;
|
|
317
|
+
for (let col = moduleCount - 1; col > 0; col -= 2) {
|
|
318
|
+
if (col === 6)
|
|
319
|
+
col--;
|
|
320
|
+
while (true) {
|
|
321
|
+
for (let c = 0; c < 2; c++) {
|
|
322
|
+
if (modules[row][col - c] === null) {
|
|
323
|
+
let dark = false;
|
|
324
|
+
if (bitIndex < finalCodewords.length * 8) {
|
|
325
|
+
const byte = finalCodewords[Math.floor(bitIndex / 8)];
|
|
326
|
+
dark = ((byte >>> (7 - (bitIndex % 8))) & 1) === 1;
|
|
327
|
+
bitIndex++;
|
|
328
|
+
}
|
|
329
|
+
const mask = getMask(maskPattern, row, col - c);
|
|
330
|
+
modules[row][col - c] = mask ? !dark : dark;
|
|
35
331
|
}
|
|
36
|
-
matrix.push(rowData);
|
|
37
332
|
}
|
|
38
|
-
|
|
333
|
+
row += inc;
|
|
334
|
+
if (row < 0 || moduleCount <= row) {
|
|
335
|
+
row -= inc;
|
|
336
|
+
inc = -inc;
|
|
337
|
+
break;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
const typeData = (eccLevel << 3) | maskPattern;
|
|
342
|
+
const bits = getBCHTypeInfo(typeData);
|
|
343
|
+
for (let i = 0; i < 15; i++) {
|
|
344
|
+
const mod = ((bits >> i) & 1) === 1;
|
|
345
|
+
if (i < 6) {
|
|
346
|
+
modules[i][8] = mod;
|
|
347
|
+
}
|
|
348
|
+
else if (i < 8) {
|
|
349
|
+
modules[i + 1][8] = mod;
|
|
350
|
+
}
|
|
351
|
+
else {
|
|
352
|
+
modules[moduleCount - 15 + i][8] = mod;
|
|
353
|
+
}
|
|
354
|
+
if (i < 8) {
|
|
355
|
+
modules[8][moduleCount - i - 1] = mod;
|
|
356
|
+
}
|
|
357
|
+
else if (i < 9) {
|
|
358
|
+
modules[8][15 - i - 1 + 1] = mod;
|
|
39
359
|
}
|
|
40
|
-
|
|
41
|
-
|
|
360
|
+
else {
|
|
361
|
+
modules[8][15 - i - 1] = mod;
|
|
42
362
|
}
|
|
43
363
|
}
|
|
364
|
+
modules[moduleCount - 8][8] = true;
|
|
365
|
+
return modules.map(r => r.map(cell => cell === true));
|
|
44
366
|
}
|
|
367
|
+
exports.default = generateQRMatrix;
|
|
@@ -4,4 +4,4 @@ export interface SearchQueryOptions {
|
|
|
4
4
|
isRegex?: boolean;
|
|
5
5
|
isCaseSensitive?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function matchNetworkLogQuery(log: NetworkLog, searchQuery: string, routePath?: string,
|
|
7
|
+
export declare function matchNetworkLogQuery(log: NetworkLog, searchQuery: string, routePath?: string, _options?: SearchQueryOptions): boolean;
|