react-native-inapp-inspector 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/package.json +2 -4
- package/assets/banner_dark.svg +0 -186
- package/assets/banner_light.svg +0 -186
- package/assets/icon_circle.svg +0 -148
- package/assets/icon_square.svg +0 -148
- package/assets/social_preview.png +0 -0
- package/assets/walkthrough.gif +0 -0
- package/dist/commonjs/assets/svgAssets.d.ts +0 -3
- package/dist/commonjs/assets/svgAssets.js +0 -17
- package/dist/commonjs/components/AnalyticsTabView.d.ts +0 -15
- package/dist/commonjs/components/AnalyticsTabView.js +0 -157
- package/dist/commonjs/components/ApiDetailView.d.ts +0 -22
- package/dist/commonjs/components/ApiDetailView.js +0 -304
- package/dist/commonjs/components/ApisTabView.d.ts +0 -33
- package/dist/commonjs/components/ApisTabView.js +0 -235
- package/dist/commonjs/components/ConsoleLogDetailView.d.ts +0 -9
- package/dist/commonjs/components/ConsoleLogDetailView.js +0 -278
- package/dist/commonjs/components/ConsoleLogsTabView.d.ts +0 -24
- package/dist/commonjs/components/ConsoleLogsTabView.js +0 -354
- package/dist/commonjs/components/FloatingBubble.d.ts +0 -14
- package/dist/commonjs/components/FloatingBubble.js +0 -75
- package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +0 -3
- package/dist/commonjs/components/Inspector/InsightsDashboard.js +0 -619
- package/dist/commonjs/components/Inspector/WebViewTab.d.ts +0 -3
- package/dist/commonjs/components/Inspector/WebViewTab.js +0 -757
- package/dist/commonjs/components/InspectorHeader.d.ts +0 -19
- package/dist/commonjs/components/InspectorHeader.js +0 -329
- package/dist/commonjs/components/InspectorTabBar.d.ts +0 -16
- package/dist/commonjs/components/InspectorTabBar.js +0 -90
- package/dist/commonjs/components/NavigationTracker.d.ts +0 -7
- package/dist/commonjs/components/NavigationTracker.js +0 -76
- package/dist/commonjs/components/ReduxTabView.d.ts +0 -9
- package/dist/commonjs/components/ReduxTabView.js +0 -56
- package/dist/commonjs/components/ReduxTreeView.d.ts +0 -16
- package/dist/commonjs/components/ReduxTreeView.js +0 -1257
- package/dist/commonjs/components/SettingsView.d.ts +0 -13
- package/dist/commonjs/components/SettingsView.js +0 -328
- package/dist/commonjs/customHooks/webViewLogger.d.ts +0 -24
- package/dist/commonjs/customHooks/webViewLogger.js +0 -452
- package/dist/commonjs/enums/index.d.ts +0 -39
- package/dist/commonjs/enums/index.js +0 -50
- package/dist/commonjs/i18n/en.json +0 -144
- package/dist/esm/assets/svgAssets.d.ts +0 -3
- package/dist/esm/assets/svgAssets.js +0 -14
- package/dist/esm/components/AnalyticsTabView.d.ts +0 -15
- package/dist/esm/components/AnalyticsTabView.js +0 -151
- package/dist/esm/components/ApiDetailView.d.ts +0 -22
- package/dist/esm/components/ApiDetailView.js +0 -264
- package/dist/esm/components/ApisTabView.d.ts +0 -33
- package/dist/esm/components/ApisTabView.js +0 -196
- package/dist/esm/components/ConsoleLogDetailView.d.ts +0 -9
- package/dist/esm/components/ConsoleLogDetailView.js +0 -271
- package/dist/esm/components/ConsoleLogsTabView.d.ts +0 -24
- package/dist/esm/components/ConsoleLogsTabView.js +0 -348
- package/dist/esm/components/FloatingBubble.d.ts +0 -14
- package/dist/esm/components/FloatingBubble.js +0 -68
- package/dist/esm/components/Inspector/InsightsDashboard.d.ts +0 -3
- package/dist/esm/components/Inspector/InsightsDashboard.js +0 -614
- package/dist/esm/components/Inspector/WebViewTab.d.ts +0 -3
- package/dist/esm/components/Inspector/WebViewTab.js +0 -752
- package/dist/esm/components/InspectorHeader.d.ts +0 -19
- package/dist/esm/components/InspectorHeader.js +0 -323
- package/dist/esm/components/InspectorTabBar.d.ts +0 -16
- package/dist/esm/components/InspectorTabBar.js +0 -84
- package/dist/esm/components/NavigationTracker.d.ts +0 -7
- package/dist/esm/components/NavigationTracker.js +0 -39
- package/dist/esm/components/ReduxTabView.d.ts +0 -9
- package/dist/esm/components/ReduxTabView.js +0 -50
- package/dist/esm/components/ReduxTreeView.d.ts +0 -16
- package/dist/esm/components/ReduxTreeView.js +0 -1218
- package/dist/esm/components/SettingsView.d.ts +0 -13
- package/dist/esm/components/SettingsView.js +0 -321
- package/dist/esm/customHooks/webViewLogger.d.ts +0 -24
- package/dist/esm/customHooks/webViewLogger.js +0 -405
- package/dist/esm/enums/index.d.ts +0 -39
- package/dist/esm/enums/index.js +0 -47
- package/dist/esm/i18n/en.json +0 -144
- package/example/.bundle/config +0 -2
- package/example/.eslintrc.js +0 -4
- package/example/.prettierrc.js +0 -5
- package/example/.watchmanconfig +0 -1
- package/example/App.tsx +0 -879
- package/example/Gemfile +0 -17
- package/example/README.md +0 -53
- package/example/__tests__/App.test.tsx +0 -13
- package/example/android/app/build.gradle +0 -147
- package/example/android/app/debug.keystore +0 -0
- package/example/android/app/proguard-rules.pro +0 -10
- package/example/android/app/src/main/AndroidManifest.xml +0 -27
- package/example/android/app/src/main/java/com/example/MainActivity.kt +0 -22
- package/example/android/app/src/main/java/com/example/MainApplication.kt +0 -52
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/strings.xml +0 -3
- package/example/android/app/src/main/res/values/styles.xml +0 -9
- package/example/android/build.gradle +0 -48
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/example/android/gradle.properties +0 -45
- package/example/android/gradlew +0 -248
- package/example/android/gradlew.bat +0 -98
- package/example/android/settings.gradle +0 -25
- package/example/app.json +0 -4
- package/example/assets/app_icon.png +0 -0
- package/example/babel.config.js +0 -3
- package/example/guidance/Video-WalkThrough.mp4 +0 -0
- package/example/index.js +0 -9
- package/example/ios/.xcode.env +0 -11
- package/example/ios/Podfile +0 -34
- package/example/ios/Podfile.lock +0 -2303
- package/example/ios/example/AppDelegate.swift +0 -48
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +0 -62
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
- package/example/ios/example/Images.xcassets/Contents.json +0 -6
- package/example/ios/example/Info.plist +0 -60
- package/example/ios/example/LaunchScreen.storyboard +0 -47
- package/example/ios/example/PrivacyInfo.xcprivacy +0 -37
- package/example/ios/example.xcodeproj/project.pbxproj +0 -498
- package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +0 -88
- package/example/ios/example.xcworkspace/contents.xcworkspacedata +0 -10
- package/example/jest.config.js +0 -3
- package/example/metro.config.js +0 -45
- package/example/package-lock.json +0 -13508
- package/example/package.json +0 -54
- package/example/polyfill.js +0 -13
- package/example/tsconfig.json +0 -8
- package/fonts/Inter/Inter.ttc +0 -0
- package/fonts/Inter/InterVariable-Italic.ttf +0 -0
- package/fonts/Inter/InterVariable.ttf +0 -0
- package/fonts/Inter/LICENSE.txt +0 -92
- package/fonts/Inter/extras/otf/Inter-Black.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-BlackItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Bold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-BoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraBold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraLight.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraLightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Italic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Light.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-LightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Medium.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-MediumItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Regular.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-SemiBold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-SemiBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Thin.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ThinItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Black.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-BlackItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Bold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-BoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraBold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraLight.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraLightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Italic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Light.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-LightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Medium.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-MediumItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Regular.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-SemiBold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-SemiBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Thin.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ThinItalic.otf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Black.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-BlackItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Bold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-BoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraLight.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Italic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Light.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-LightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Medium.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-MediumItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Regular.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-SemiBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Thin.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ThinItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Black.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-BlackItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Bold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-BoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraLight.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Italic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Light.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-LightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Medium.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-MediumItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Regular.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-SemiBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Thin.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ThinItalic.ttf +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Black.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-BlackItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Bold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraLight.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Italic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Light.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-LightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Medium.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-MediumItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Regular.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-SemiBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Thin.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ThinItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Black.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-BlackItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Bold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-BoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLight.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Italic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Light.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-LightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Medium.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-MediumItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Regular.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Thin.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ThinItalic.woff2 +0 -0
- package/fonts/Inter/help.txt +0 -165
- package/fonts/Inter/web/Inter-Black.woff2 +0 -0
- package/fonts/Inter/web/Inter-BlackItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Bold.woff2 +0 -0
- package/fonts/Inter/web/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraLight.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Italic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Light.woff2 +0 -0
- package/fonts/Inter/web/Inter-LightItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Medium.woff2 +0 -0
- package/fonts/Inter/web/Inter-MediumItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Regular.woff2 +0 -0
- package/fonts/Inter/web/Inter-SemiBold.woff2 +0 -0
- package/fonts/Inter/web/Inter-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Thin.woff2 +0 -0
- package/fonts/Inter/web/Inter-ThinItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Black.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-BlackItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Bold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-BoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraBold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraLight.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Italic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Light.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-LightItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Medium.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-MediumItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Regular.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-SemiBold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Thin.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ThinItalic.woff2 +0 -0
- package/fonts/Inter/web/InterVariable-Italic.woff2 +0 -0
- package/fonts/Inter/web/InterVariable.woff2 +0 -0
- package/fonts/Inter/web/inter.css +0 -148
|
@@ -1,452 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.subscribeWebView = exports.clearWebViewData = exports.getWebViewHtmlUrl = exports.getWebViewJs = exports.getWebViewCss = exports.getWebViewHtml = exports.getWebViewNavHistory = exports.getWebViewLogs = exports.addWebViewHtml = exports.addWebViewNav = exports.addWebViewLog = exports.WebView = void 0;
|
|
37
|
-
const react_1 = __importStar(require("react"));
|
|
38
|
-
const react_native_1 = require("react-native");
|
|
39
|
-
let OriginalWebView = null;
|
|
40
|
-
try {
|
|
41
|
-
const RNWebView = require('react-native-webview');
|
|
42
|
-
OriginalWebView = RNWebView.WebView || RNWebView.default;
|
|
43
|
-
}
|
|
44
|
-
catch (e) {
|
|
45
|
-
// Silent fail
|
|
46
|
-
}
|
|
47
|
-
const injectJS = `
|
|
48
|
-
(function() {
|
|
49
|
-
if (!window.__webview_console_overridden__) {
|
|
50
|
-
window.__webview_console_overridden__ = true;
|
|
51
|
-
var originalLog = console.log;
|
|
52
|
-
var originalWarn = console.warn;
|
|
53
|
-
var originalError = console.error;
|
|
54
|
-
var originalInfo = console.info;
|
|
55
|
-
|
|
56
|
-
var sendToRN = function(type, args) {
|
|
57
|
-
if (window.ReactNativeWebView && window.ReactNativeWebView.postMessage) {
|
|
58
|
-
var messageStr = '';
|
|
59
|
-
try {
|
|
60
|
-
var argsList = [];
|
|
61
|
-
for (var i = 0; i < args.length; i++) {
|
|
62
|
-
var arg = args[i];
|
|
63
|
-
if (typeof arg === 'object') {
|
|
64
|
-
try {
|
|
65
|
-
argsList.push(JSON.stringify(arg));
|
|
66
|
-
} catch (e) {
|
|
67
|
-
argsList.push(String(arg));
|
|
68
|
-
}
|
|
69
|
-
} else {
|
|
70
|
-
argsList.push(String(arg));
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
messageStr = argsList.join(' ');
|
|
74
|
-
} catch (err) {
|
|
75
|
-
messageStr = String(args);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
try {
|
|
79
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
80
|
-
type: 'webview-log',
|
|
81
|
-
logType: type,
|
|
82
|
-
message: messageStr
|
|
83
|
-
}));
|
|
84
|
-
} catch (postErr) {}
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
console.log = function() {
|
|
89
|
-
if (originalLog) {
|
|
90
|
-
originalLog.apply(console, arguments);
|
|
91
|
-
}
|
|
92
|
-
sendToRN('log', arguments);
|
|
93
|
-
};
|
|
94
|
-
console.warn = function() {
|
|
95
|
-
if (originalWarn) {
|
|
96
|
-
originalWarn.apply(console, arguments);
|
|
97
|
-
}
|
|
98
|
-
sendToRN('warn', arguments);
|
|
99
|
-
};
|
|
100
|
-
console.error = function() {
|
|
101
|
-
if (originalError) {
|
|
102
|
-
originalError.apply(console, arguments);
|
|
103
|
-
}
|
|
104
|
-
sendToRN('error', arguments);
|
|
105
|
-
};
|
|
106
|
-
console.info = function() {
|
|
107
|
-
if (originalInfo) {
|
|
108
|
-
originalInfo.apply(console, arguments);
|
|
109
|
-
}
|
|
110
|
-
sendToRN('info', arguments);
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
if (!window.__webview_html_capture_setup__) {
|
|
115
|
-
window.__webview_html_capture_setup__ = true;
|
|
116
|
-
|
|
117
|
-
var sendHtmlRetries = 0;
|
|
118
|
-
window.__webview_send_html__ = function() {
|
|
119
|
-
if (window.ReactNativeWebView && window.ReactNativeWebView.postMessage) {
|
|
120
|
-
try {
|
|
121
|
-
var html = '';
|
|
122
|
-
try {
|
|
123
|
-
if (document && document.documentElement) {
|
|
124
|
-
html = document.documentElement.outerHTML || '';
|
|
125
|
-
}
|
|
126
|
-
} catch (e) {}
|
|
127
|
-
|
|
128
|
-
// Get CSS
|
|
129
|
-
var css = '';
|
|
130
|
-
try {
|
|
131
|
-
var sheets = document.styleSheets;
|
|
132
|
-
if (sheets) {
|
|
133
|
-
for (var i = 0; i < sheets.length; i++) {
|
|
134
|
-
var sheet = sheets[i];
|
|
135
|
-
try {
|
|
136
|
-
var rules = sheet.cssRules || sheet.rules;
|
|
137
|
-
if (rules) {
|
|
138
|
-
for (var j = 0; j < rules.length; j++) {
|
|
139
|
-
css += rules[j].cssText + String.fromCharCode(10);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
} catch (e) {
|
|
143
|
-
if (sheet.href) {
|
|
144
|
-
css += '/* External stylesheet: ' + sheet.href + ' */' + String.fromCharCode(10);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
} catch (e) {}
|
|
150
|
-
|
|
151
|
-
try {
|
|
152
|
-
var styles = document.querySelectorAll('style');
|
|
153
|
-
if (styles) {
|
|
154
|
-
for (var i = 0; i < styles.length; i++) {
|
|
155
|
-
var style = styles[i];
|
|
156
|
-
if (style && style.textContent) {
|
|
157
|
-
if (css.indexOf(style.textContent) === -1) {
|
|
158
|
-
css += style.textContent + String.fromCharCode(10);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
} catch (e) {}
|
|
164
|
-
|
|
165
|
-
// Get JS
|
|
166
|
-
var js = '';
|
|
167
|
-
try {
|
|
168
|
-
var scripts = document.querySelectorAll('script');
|
|
169
|
-
if (scripts) {
|
|
170
|
-
for (var i = 0; i < scripts.length; i++) {
|
|
171
|
-
var script = scripts[i];
|
|
172
|
-
if (script) {
|
|
173
|
-
if (script.src) {
|
|
174
|
-
js += '// External Script: ' + script.src + String.fromCharCode(10);
|
|
175
|
-
} else if (script.textContent) {
|
|
176
|
-
js += script.textContent + String.fromCharCode(10);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
} catch (e) {}
|
|
182
|
-
|
|
183
|
-
try {
|
|
184
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
185
|
-
type: 'webview-html',
|
|
186
|
-
html: html,
|
|
187
|
-
css: css,
|
|
188
|
-
js: js,
|
|
189
|
-
url: window.location.href
|
|
190
|
-
}));
|
|
191
|
-
} catch (postError) {
|
|
192
|
-
try {
|
|
193
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
194
|
-
type: 'webview-html',
|
|
195
|
-
html: html,
|
|
196
|
-
css: '/* CSS truncated due to size limit */',
|
|
197
|
-
js: '/* JS truncated due to size limit */',
|
|
198
|
-
url: window.location.href
|
|
199
|
-
}));
|
|
200
|
-
} catch (htmlOnlyError) {
|
|
201
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
202
|
-
type: 'webview-html',
|
|
203
|
-
html: '<h1>Page source too large to capture</h1>',
|
|
204
|
-
url: window.location.href
|
|
205
|
-
}));
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
} catch (err) {}
|
|
209
|
-
} else if (sendHtmlRetries < 50) {
|
|
210
|
-
sendHtmlRetries++;
|
|
211
|
-
setTimeout(window.__webview_send_html__, 100);
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
var debounceTimeout = null;
|
|
216
|
-
window.__webview_debounced_send_html__ = function() {
|
|
217
|
-
if (debounceTimeout) {
|
|
218
|
-
clearTimeout(debounceTimeout);
|
|
219
|
-
}
|
|
220
|
-
debounceTimeout = setTimeout(window.__webview_send_html__, 500);
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
// Setup MutationObserver for SPAs
|
|
224
|
-
try {
|
|
225
|
-
var observer = new MutationObserver(function() {
|
|
226
|
-
window.__webview_debounced_send_html__();
|
|
227
|
-
});
|
|
228
|
-
observer.observe(document.documentElement, {
|
|
229
|
-
attributes: true,
|
|
230
|
-
childList: true,
|
|
231
|
-
subtree: true
|
|
232
|
-
});
|
|
233
|
-
} catch (e) {}
|
|
234
|
-
|
|
235
|
-
// Setup SPA router state changes
|
|
236
|
-
try {
|
|
237
|
-
var originalPushState = history.pushState;
|
|
238
|
-
history.pushState = function() {
|
|
239
|
-
originalPushState.apply(this, arguments);
|
|
240
|
-
window.__webview_debounced_send_html__();
|
|
241
|
-
};
|
|
242
|
-
var originalReplaceState = history.replaceState;
|
|
243
|
-
history.replaceState = function() {
|
|
244
|
-
originalReplaceState.apply(this, arguments);
|
|
245
|
-
window.__webview_debounced_send_html__();
|
|
246
|
-
};
|
|
247
|
-
window.addEventListener('popstate', window.__webview_debounced_send_html__);
|
|
248
|
-
window.addEventListener('hashchange', window.__webview_debounced_send_html__);
|
|
249
|
-
} catch (e) {}
|
|
250
|
-
|
|
251
|
-
window.addEventListener('DOMContentLoaded', window.__webview_send_html__);
|
|
252
|
-
window.addEventListener('load', window.__webview_send_html__);
|
|
253
|
-
if (document.readyState === 'interactive' || document.readyState === 'complete') {
|
|
254
|
-
window.__webview_send_html__();
|
|
255
|
-
}
|
|
256
|
-
} else {
|
|
257
|
-
if (window.__webview_send_html__) {
|
|
258
|
-
window.__webview_send_html__();
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
})();
|
|
262
|
-
true;
|
|
263
|
-
`;
|
|
264
|
-
exports.WebView = (0, react_1.forwardRef)((props, ref) => {
|
|
265
|
-
if (!OriginalWebView) {
|
|
266
|
-
console.warn('[NetworkInspector] react-native-webview not found. Make sure it is installed.');
|
|
267
|
-
return null;
|
|
268
|
-
}
|
|
269
|
-
const [loading, setLoading] = (0, react_1.useState)(false);
|
|
270
|
-
const handleMessage = (event) => {
|
|
271
|
-
try {
|
|
272
|
-
const data = JSON.parse(event.nativeEvent.data);
|
|
273
|
-
if (data.type === 'webview-log') {
|
|
274
|
-
(0, exports.addWebViewLog)(data.logType, data.message);
|
|
275
|
-
}
|
|
276
|
-
else if (data.type === 'webview-html') {
|
|
277
|
-
(0, exports.addWebViewHtml)(data.url, data.html, data.css, data.js);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
catch (e) { }
|
|
281
|
-
if (props.onMessage) {
|
|
282
|
-
props.onMessage(event);
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
const handleNavigationStateChange = (navState) => {
|
|
286
|
-
(0, exports.addWebViewNav)(navState.url, navState.title);
|
|
287
|
-
if (props.onNavigationStateChange) {
|
|
288
|
-
props.onNavigationStateChange(navState);
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
const handleLoadStart = (syntheticEvent) => {
|
|
292
|
-
setLoading(true);
|
|
293
|
-
if (props.onLoadStart) {
|
|
294
|
-
props.onLoadStart(syntheticEvent);
|
|
295
|
-
}
|
|
296
|
-
};
|
|
297
|
-
const handleLoadEnd = (syntheticEvent) => {
|
|
298
|
-
setLoading(false);
|
|
299
|
-
if (props.onLoadEnd) {
|
|
300
|
-
props.onLoadEnd(syntheticEvent);
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
// Register initial URL
|
|
304
|
-
react_1.default.useEffect(() => {
|
|
305
|
-
if (props.source && props.source.uri) {
|
|
306
|
-
(0, exports.addWebViewNav)(props.source.uri, 'Initial Page');
|
|
307
|
-
}
|
|
308
|
-
}, [props.source?.uri]);
|
|
309
|
-
const combinedInjectedJSBefore = props.injectedJavaScriptBeforeContentLoaded
|
|
310
|
-
? `${injectJS}\n${props.injectedJavaScriptBeforeContentLoaded}`
|
|
311
|
-
: injectJS;
|
|
312
|
-
const combinedInjectedJS = props.injectedJavaScript
|
|
313
|
-
? `${injectJS}\n${props.injectedJavaScript}`
|
|
314
|
-
: injectJS;
|
|
315
|
-
const showLoader = props.showLoader !== false;
|
|
316
|
-
return react_1.default.createElement(react_native_1.View, { style: props.style || { flex: 1 } }, react_1.default.createElement(OriginalWebView, {
|
|
317
|
-
...props,
|
|
318
|
-
style: { flex: 1 },
|
|
319
|
-
ref: ref,
|
|
320
|
-
injectedJavaScriptBeforeContentLoaded: combinedInjectedJSBefore,
|
|
321
|
-
injectedJavaScript: combinedInjectedJS,
|
|
322
|
-
onMessage: handleMessage,
|
|
323
|
-
onNavigationStateChange: handleNavigationStateChange,
|
|
324
|
-
onLoadStart: handleLoadStart,
|
|
325
|
-
onLoadEnd: handleLoadEnd,
|
|
326
|
-
}), loading &&
|
|
327
|
-
showLoader &&
|
|
328
|
-
react_1.default.createElement(react_native_1.View, {
|
|
329
|
-
style: {
|
|
330
|
-
...react_native_1.StyleSheet.absoluteFill,
|
|
331
|
-
justifyContent: 'center',
|
|
332
|
-
alignItems: 'center',
|
|
333
|
-
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
334
|
-
},
|
|
335
|
-
}, react_1.default.createElement(react_native_1.ActivityIndicator, {
|
|
336
|
-
size: 'large',
|
|
337
|
-
color: '#684B9B',
|
|
338
|
-
})));
|
|
339
|
-
});
|
|
340
|
-
// Perform monkey-patching to intercept react-native-webview exports globally
|
|
341
|
-
try {
|
|
342
|
-
const RNWebView = require('react-native-webview');
|
|
343
|
-
if (RNWebView) {
|
|
344
|
-
const defineProp = (obj, prop, value) => {
|
|
345
|
-
try {
|
|
346
|
-
Object.defineProperty(obj, prop, {
|
|
347
|
-
value: value,
|
|
348
|
-
configurable: true,
|
|
349
|
-
writable: true,
|
|
350
|
-
enumerable: true,
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
catch (e) {
|
|
354
|
-
try {
|
|
355
|
-
obj[prop] = value;
|
|
356
|
-
}
|
|
357
|
-
catch (err) { }
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
if (RNWebView.WebView) {
|
|
361
|
-
defineProp(RNWebView, 'WebView', exports.WebView);
|
|
362
|
-
}
|
|
363
|
-
if (RNWebView.default) {
|
|
364
|
-
if (RNWebView.default.WebView) {
|
|
365
|
-
defineProp(RNWebView.default, 'WebView', exports.WebView);
|
|
366
|
-
}
|
|
367
|
-
defineProp(RNWebView, 'default', exports.WebView);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
catch (e) {
|
|
372
|
-
// Silent fail
|
|
373
|
-
}
|
|
374
|
-
let logs = [];
|
|
375
|
-
let navHistory = [];
|
|
376
|
-
let currentHtml = '';
|
|
377
|
-
let currentCss = '';
|
|
378
|
-
let currentJs = '';
|
|
379
|
-
let currentHtmlUrl = '';
|
|
380
|
-
let listeners = [];
|
|
381
|
-
let counter = 0;
|
|
382
|
-
const notify = () => {
|
|
383
|
-
const snapshotLogs = [...logs];
|
|
384
|
-
const snapshotHistory = [...navHistory];
|
|
385
|
-
listeners.forEach(cb => cb());
|
|
386
|
-
};
|
|
387
|
-
const addWebViewLog = (type, message) => {
|
|
388
|
-
logs.unshift({
|
|
389
|
-
id: counter++,
|
|
390
|
-
type,
|
|
391
|
-
message,
|
|
392
|
-
timestamp: Date.now(),
|
|
393
|
-
});
|
|
394
|
-
logs = logs.slice(0, 100);
|
|
395
|
-
notify();
|
|
396
|
-
};
|
|
397
|
-
exports.addWebViewLog = addWebViewLog;
|
|
398
|
-
const addWebViewNav = (url, title) => {
|
|
399
|
-
// Prevent duplicate consecutive navigation events for the same URL
|
|
400
|
-
if (navHistory.length > 0 && navHistory[0].url === url) {
|
|
401
|
-
if (title && !navHistory[0].title) {
|
|
402
|
-
navHistory[0].title = title;
|
|
403
|
-
notify();
|
|
404
|
-
}
|
|
405
|
-
return;
|
|
406
|
-
}
|
|
407
|
-
navHistory.unshift({
|
|
408
|
-
url,
|
|
409
|
-
title,
|
|
410
|
-
timestamp: Date.now(),
|
|
411
|
-
});
|
|
412
|
-
navHistory = navHistory.slice(0, 5);
|
|
413
|
-
notify();
|
|
414
|
-
};
|
|
415
|
-
exports.addWebViewNav = addWebViewNav;
|
|
416
|
-
const addWebViewHtml = (url, html, css, js) => {
|
|
417
|
-
currentHtml = html;
|
|
418
|
-
currentCss = css || '';
|
|
419
|
-
currentJs = js || '';
|
|
420
|
-
currentHtmlUrl = url;
|
|
421
|
-
notify();
|
|
422
|
-
};
|
|
423
|
-
exports.addWebViewHtml = addWebViewHtml;
|
|
424
|
-
const getWebViewLogs = () => [...logs];
|
|
425
|
-
exports.getWebViewLogs = getWebViewLogs;
|
|
426
|
-
const getWebViewNavHistory = () => [...navHistory];
|
|
427
|
-
exports.getWebViewNavHistory = getWebViewNavHistory;
|
|
428
|
-
const getWebViewHtml = () => currentHtml;
|
|
429
|
-
exports.getWebViewHtml = getWebViewHtml;
|
|
430
|
-
const getWebViewCss = () => currentCss;
|
|
431
|
-
exports.getWebViewCss = getWebViewCss;
|
|
432
|
-
const getWebViewJs = () => currentJs;
|
|
433
|
-
exports.getWebViewJs = getWebViewJs;
|
|
434
|
-
const getWebViewHtmlUrl = () => currentHtmlUrl;
|
|
435
|
-
exports.getWebViewHtmlUrl = getWebViewHtmlUrl;
|
|
436
|
-
const clearWebViewData = () => {
|
|
437
|
-
logs = [];
|
|
438
|
-
navHistory = [];
|
|
439
|
-
currentHtml = '';
|
|
440
|
-
currentCss = '';
|
|
441
|
-
currentJs = '';
|
|
442
|
-
currentHtmlUrl = '';
|
|
443
|
-
notify();
|
|
444
|
-
};
|
|
445
|
-
exports.clearWebViewData = clearWebViewData;
|
|
446
|
-
const subscribeWebView = (cb) => {
|
|
447
|
-
listeners.push(cb);
|
|
448
|
-
return () => {
|
|
449
|
-
listeners = listeners.filter(l => l !== cb);
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
exports.subscribeWebView = subscribeWebView;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare enum InspectorTab {
|
|
2
|
-
APIs = "apis",
|
|
3
|
-
Logs = "logs",
|
|
4
|
-
Analytics = "analytics",
|
|
5
|
-
Redux = "redux"
|
|
6
|
-
}
|
|
7
|
-
export declare enum ApiDetailTab {
|
|
8
|
-
Response = "response",
|
|
9
|
-
Request = "request",
|
|
10
|
-
Headers = "headers",
|
|
11
|
-
Metadata = "metadata"
|
|
12
|
-
}
|
|
13
|
-
export declare enum JsonViewerMode {
|
|
14
|
-
Pretty = "pretty",
|
|
15
|
-
Raw = "raw",
|
|
16
|
-
Table = "table"
|
|
17
|
-
}
|
|
18
|
-
export declare enum ReduxSubTab {
|
|
19
|
-
State = "state",
|
|
20
|
-
Timeline = "timeline"
|
|
21
|
-
}
|
|
22
|
-
export declare enum ReduxActionSubTab {
|
|
23
|
-
Payload = "payload",
|
|
24
|
-
Diff = "diff",
|
|
25
|
-
State = "state"
|
|
26
|
-
}
|
|
27
|
-
export declare enum ConsoleLogLevel {
|
|
28
|
-
Info = "info",
|
|
29
|
-
Warn = "warn",
|
|
30
|
-
Error = "error"
|
|
31
|
-
}
|
|
32
|
-
export declare enum SortOrderEnum {
|
|
33
|
-
Newest = "newest",
|
|
34
|
-
Oldest = "oldest"
|
|
35
|
-
}
|
|
36
|
-
export declare enum AnalyticsSource {
|
|
37
|
-
Firebase = "firebase",
|
|
38
|
-
Manual = "manual"
|
|
39
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AnalyticsSource = exports.SortOrderEnum = exports.ConsoleLogLevel = exports.ReduxActionSubTab = exports.ReduxSubTab = exports.JsonViewerMode = exports.ApiDetailTab = exports.InspectorTab = void 0;
|
|
4
|
-
var InspectorTab;
|
|
5
|
-
(function (InspectorTab) {
|
|
6
|
-
InspectorTab["APIs"] = "apis";
|
|
7
|
-
InspectorTab["Logs"] = "logs";
|
|
8
|
-
InspectorTab["Analytics"] = "analytics";
|
|
9
|
-
InspectorTab["Redux"] = "redux";
|
|
10
|
-
})(InspectorTab || (exports.InspectorTab = InspectorTab = {}));
|
|
11
|
-
var ApiDetailTab;
|
|
12
|
-
(function (ApiDetailTab) {
|
|
13
|
-
ApiDetailTab["Response"] = "response";
|
|
14
|
-
ApiDetailTab["Request"] = "request";
|
|
15
|
-
ApiDetailTab["Headers"] = "headers";
|
|
16
|
-
ApiDetailTab["Metadata"] = "metadata";
|
|
17
|
-
})(ApiDetailTab || (exports.ApiDetailTab = ApiDetailTab = {}));
|
|
18
|
-
var JsonViewerMode;
|
|
19
|
-
(function (JsonViewerMode) {
|
|
20
|
-
JsonViewerMode["Pretty"] = "pretty";
|
|
21
|
-
JsonViewerMode["Raw"] = "raw";
|
|
22
|
-
JsonViewerMode["Table"] = "table";
|
|
23
|
-
})(JsonViewerMode || (exports.JsonViewerMode = JsonViewerMode = {}));
|
|
24
|
-
var ReduxSubTab;
|
|
25
|
-
(function (ReduxSubTab) {
|
|
26
|
-
ReduxSubTab["State"] = "state";
|
|
27
|
-
ReduxSubTab["Timeline"] = "timeline";
|
|
28
|
-
})(ReduxSubTab || (exports.ReduxSubTab = ReduxSubTab = {}));
|
|
29
|
-
var ReduxActionSubTab;
|
|
30
|
-
(function (ReduxActionSubTab) {
|
|
31
|
-
ReduxActionSubTab["Payload"] = "payload";
|
|
32
|
-
ReduxActionSubTab["Diff"] = "diff";
|
|
33
|
-
ReduxActionSubTab["State"] = "state";
|
|
34
|
-
})(ReduxActionSubTab || (exports.ReduxActionSubTab = ReduxActionSubTab = {}));
|
|
35
|
-
var ConsoleLogLevel;
|
|
36
|
-
(function (ConsoleLogLevel) {
|
|
37
|
-
ConsoleLogLevel["Info"] = "info";
|
|
38
|
-
ConsoleLogLevel["Warn"] = "warn";
|
|
39
|
-
ConsoleLogLevel["Error"] = "error";
|
|
40
|
-
})(ConsoleLogLevel || (exports.ConsoleLogLevel = ConsoleLogLevel = {}));
|
|
41
|
-
var SortOrderEnum;
|
|
42
|
-
(function (SortOrderEnum) {
|
|
43
|
-
SortOrderEnum["Newest"] = "newest";
|
|
44
|
-
SortOrderEnum["Oldest"] = "oldest";
|
|
45
|
-
})(SortOrderEnum || (exports.SortOrderEnum = SortOrderEnum = {}));
|
|
46
|
-
var AnalyticsSource;
|
|
47
|
-
(function (AnalyticsSource) {
|
|
48
|
-
AnalyticsSource["Firebase"] = "firebase";
|
|
49
|
-
AnalyticsSource["Manual"] = "manual";
|
|
50
|
-
})(AnalyticsSource || (exports.AnalyticsSource = AnalyticsSource = {}));
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"header": {
|
|
3
|
-
"title": "InApp Inspector",
|
|
4
|
-
"clear_all": "Clear Everything",
|
|
5
|
-
"clear_all_confirm": "This clears all tabs — APIs, Logs, Analytics, WebView and Redux timeline. Continue?",
|
|
6
|
-
"cancel": "Cancel",
|
|
7
|
-
"clear": "Clear All",
|
|
8
|
-
"engine": "Engine: React Native"
|
|
9
|
-
},
|
|
10
|
-
"tabs": {
|
|
11
|
-
"apis": "APIs",
|
|
12
|
-
"logs": "Logs",
|
|
13
|
-
"analytics": "Analytics",
|
|
14
|
-
"redux": "Redux"
|
|
15
|
-
},
|
|
16
|
-
"search": {
|
|
17
|
-
"apis_placeholder": "Search by URL, method, or status...",
|
|
18
|
-
"logs_placeholder": "Search logs...",
|
|
19
|
-
"log_details_placeholder": "Search in log details...",
|
|
20
|
-
"analytics_placeholder": "Search events...",
|
|
21
|
-
"redux_placeholder": "Search Redux keys or values...",
|
|
22
|
-
"request_placeholder": "Search request...",
|
|
23
|
-
"response_placeholder": "Search response..."
|
|
24
|
-
},
|
|
25
|
-
"filters": {
|
|
26
|
-
"group_by_domain": "Group by Domain",
|
|
27
|
-
"all": "All",
|
|
28
|
-
"user_log": "User Log",
|
|
29
|
-
"info": "Info",
|
|
30
|
-
"warn": "Warn",
|
|
31
|
-
"error": "Error",
|
|
32
|
-
"analytics": "Analytics",
|
|
33
|
-
"showing_requests": "Showing ({{filtered}}/{{total}}) requests",
|
|
34
|
-
"showing_logs": "Showing ({{filtered}}/{{total}}) logs showing",
|
|
35
|
-
"filtering_logs": "Filtering with {{filters}} ({{filtered}}/{{total}}) logs is showing",
|
|
36
|
-
"showing_analytics": "Showing ({{filtered}}/{{total}}) analytics events"
|
|
37
|
-
},
|
|
38
|
-
"details": {
|
|
39
|
-
"console_log": "Console Log",
|
|
40
|
-
"caller_location": "CALLER LOCATION",
|
|
41
|
-
"log_payload": "LOG PAYLOAD",
|
|
42
|
-
"captured_at": "Captured at: ",
|
|
43
|
-
"chars": "chars",
|
|
44
|
-
"query_params": "Query Params",
|
|
45
|
-
"duration": "Duration",
|
|
46
|
-
"timestamp": "Timestamp",
|
|
47
|
-
"request_size": "Request Size",
|
|
48
|
-
"response_size": "Response Size",
|
|
49
|
-
"caller_stack": "Caller Stack",
|
|
50
|
-
"response_headers": "Response Headers",
|
|
51
|
-
"request_headers": "Request Headers",
|
|
52
|
-
"request_payload": "Request Payload",
|
|
53
|
-
"response": "Response",
|
|
54
|
-
"tab_response": "Response",
|
|
55
|
-
"tab_request": "Request",
|
|
56
|
-
"tab_headers": "Headers",
|
|
57
|
-
"tab_metadata": "Metadata",
|
|
58
|
-
"network_request": "Network Request",
|
|
59
|
-
"copy_all": "COPY ALL",
|
|
60
|
-
"general_info": "General Info",
|
|
61
|
-
"no_headers": "No Headers",
|
|
62
|
-
"no_payload": "No Payload",
|
|
63
|
-
"no_response": "No Response"
|
|
64
|
-
},
|
|
65
|
-
"analytics": {
|
|
66
|
-
"title": "Analytics Events",
|
|
67
|
-
"empty": "No analytics events recorded yet.",
|
|
68
|
-
"user_context": "User Context",
|
|
69
|
-
"id": "ID",
|
|
70
|
-
"show_props": "Show Props",
|
|
71
|
-
"hide_props": "Hide Props",
|
|
72
|
-
"event_details": "Event Details",
|
|
73
|
-
"event_name": "Event Name",
|
|
74
|
-
"timestamp": "Timestamp",
|
|
75
|
-
"parameters": "Parameters",
|
|
76
|
-
"no_parameters": "No Parameters"
|
|
77
|
-
},
|
|
78
|
-
"redux": {
|
|
79
|
-
"title": "Redux Store & History",
|
|
80
|
-
"search_label": "SEARCH REDUX STATE / ACTIONS",
|
|
81
|
-
"no_actions": "NO ACTIONS DISPATCHED YET",
|
|
82
|
-
"no_store_title": "No Redux Store",
|
|
83
|
-
"no_store_sub": "To inspect Redux store, call connectReduxStore(store) at app start.",
|
|
84
|
-
"empty_store_title": "Empty Store",
|
|
85
|
-
"empty_store_sub": "Connected store state is empty.",
|
|
86
|
-
"root_reducers": "Root State Reducers",
|
|
87
|
-
"slices": "slice(s)"
|
|
88
|
-
},
|
|
89
|
-
"settings": {
|
|
90
|
-
"title": "Inspector Settings",
|
|
91
|
-
"appearance": "APPEARANCE",
|
|
92
|
-
"dark_mode": "Dark Mode Theme",
|
|
93
|
-
"dark_mode_desc": "Switch between dark and light inspector theme",
|
|
94
|
-
"module_visibility": "MODULE VISIBILITY & TABS",
|
|
95
|
-
"apis_tab": "Network APIs Tab",
|
|
96
|
-
"apis_tab_desc": "Show or hide Network APIs monitoring tab",
|
|
97
|
-
"logs_tab": "Console Logs Tab",
|
|
98
|
-
"logs_tab_desc": "Show or hide Console Logs tab",
|
|
99
|
-
"analytics_tab": "Analytics Events Tab",
|
|
100
|
-
"analytics_tab_desc": "Show or hide Analytics Events tab",
|
|
101
|
-
"redux_tab": "Redux Timeline Tab",
|
|
102
|
-
"redux_tab_desc": "Show or hide Redux store state inspector tab",
|
|
103
|
-
"default_landing_tab": "DEFAULT LANDING TAB",
|
|
104
|
-
"storage_persistence": "STORAGE & PERSISTENCE",
|
|
105
|
-
"custom_storage": "Custom Storage Adapter",
|
|
106
|
-
"custom_storage_active": "Active (AsyncStorage / Custom Storage attached)",
|
|
107
|
-
"custom_storage_memory": "In-Memory only (No persistent storage attached)",
|
|
108
|
-
"reset_settings": "Reset Persisted Settings",
|
|
109
|
-
"reset_settings_desc": "Clear saved theme, tab visibility & preferences",
|
|
110
|
-
"reset_confirm_title": "Reset Settings",
|
|
111
|
-
"reset_confirm_msg": "Are you sure you want to reset all persisted preferences to default?",
|
|
112
|
-
"reset": "Reset",
|
|
113
|
-
"reset_done": "Settings reset to default."
|
|
114
|
-
},
|
|
115
|
-
"empty": {
|
|
116
|
-
"loading": "Loading logs...",
|
|
117
|
-
"no_matching_apis": "No matching APIs",
|
|
118
|
-
"no_network_activity": "No network activity",
|
|
119
|
-
"try_adjusting_filters": "Try adjusting your filters or search.",
|
|
120
|
-
"listening_api_calls": "Listening for incoming API calls...",
|
|
121
|
-
"reload_app": "Reload App",
|
|
122
|
-
"reload": "Reload",
|
|
123
|
-
"reload_dev_only": "App reload is typically only available in development mode."
|
|
124
|
-
},
|
|
125
|
-
"error": {
|
|
126
|
-
"native_crash": "🔴 NATIVE CRASH",
|
|
127
|
-
"js_crash": "🟡 JAVASCRIPT CRASH",
|
|
128
|
-
"crash_desc": "The In-App Inspector or active view encountered an error. Traceback details are parsed below:",
|
|
129
|
-
"method": "Method:",
|
|
130
|
-
"file": "File:",
|
|
131
|
-
"line": "Line:",
|
|
132
|
-
"col": "Col:",
|
|
133
|
-
"copy_traceback": "📋 Copy Crash Traceback",
|
|
134
|
-
"retry_reload": "Retry / Reload",
|
|
135
|
-
"close_inspector": "Close Inspector"
|
|
136
|
-
},
|
|
137
|
-
"json": {
|
|
138
|
-
"pretty_print": "Pretty Print",
|
|
139
|
-
"pretty": "Pretty",
|
|
140
|
-
"raw": "Raw",
|
|
141
|
-
"table": "Table",
|
|
142
|
-
"empty_object": "Empty Object"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const PRETTY_SVG = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 3C3.9 3 3 3.9 3 5v1.5c0 .8-.7 1.5-1.5 1.5S0 7.3 0 6.5V5c0-2.8 2.2-5 5-5 .6 0 1 .4 1 1s-.4 1-1 1zm6 0c-1.1 0-2 .9-2 2v1.5c0 .8-.7 1.5-1.5 1.5S6 9.3 6 8.5V5c0-2.8 2.2-5 5-5 .6 0 1 .4 1 1s-.4 1-1 1z\" fill=\"currentColor\" opacity=\"0.9\"/>\n <path d=\"M3 11v1.5c0 .8.7 1.5 1.5 1.5S6 13.3 6 12.5V11H3zm7 0v1.5c0 .8.7 1.5 1.5 1.5S13 13.3 13 12.5V11H10z\" fill=\"currentColor\" opacity=\"0.6\"/>\n</svg>";
|
|
2
|
-
export declare const RAW_SVG = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1\" y=\"2\" width=\"10\" height=\"1.5\" rx=\"0.75\" fill=\"currentColor\" opacity=\"0.9\"/>\n <rect x=\"1\" y=\"5.5\" width=\"14\" height=\"1.5\" rx=\"0.75\" fill=\"currentColor\" opacity=\"0.6\"/>\n <rect x=\"1\" y=\"9\" width=\"8\" height=\"1.5\" rx=\"0.75\" fill=\"currentColor\" opacity=\"0.45\"/>\n <rect x=\"1\" y=\"12.5\" width=\"12\" height=\"1.5\" rx=\"0.75\" fill=\"currentColor\" opacity=\"0.3\"/>\n</svg>";
|
|
3
|
-
export declare const TABLE_SVG = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1\" y=\"1\" width=\"14\" height=\"14\" rx=\"2\" stroke=\"currentColor\" stroke-width=\"1.2\" opacity=\"0.7\"/>\n <path d=\"M1 5.5h14M1 10h14M5.5 1v14M10.5 1v14\" stroke=\"currentColor\" stroke-width=\"0.8\" opacity=\"0.5\"/>\n</svg>";
|