@rozenite/network-activity-plugin 1.0.0-alpha.15 → 1.0.0-alpha.16
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/App.html +2 -2
- package/dist/assets/{App-CfJuBHc_.css → App-BrSkOkws.css} +21 -0
- package/dist/assets/{App-CZPlDq_M.js → App-CM3Ub2ZA.js} +911 -479
- package/dist/rozenite.json +1 -1
- package/dist/src/react-native/http/overrides-registry.d.ts +6 -0
- package/dist/src/react-native/http/xhr-interceptor.d.ts +5 -0
- package/dist/src/shared/client.d.ts +7 -0
- package/dist/src/ui/components/CodeEditor.d.ts +5 -0
- package/dist/src/ui/components/OverrideResponse.d.ts +8 -0
- package/dist/src/ui/components/RequestList.d.ts +3 -2
- package/dist/src/ui/components/Section.d.ts +2 -1
- package/dist/src/ui/state/hooks.d.ts +3 -0
- package/dist/src/ui/state/store.d.ts +26 -3
- package/dist/useNetworkActivityDevTools.cjs +72 -0
- package/dist/useNetworkActivityDevTools.js +72 -0
- package/package.json +4 -4
- package/src/react-native/http/network-inspector.ts +50 -0
- package/src/react-native/http/overrides-registry.ts +32 -0
- package/src/react-native/http/xhr-interceptor.ts +14 -0
- package/src/react-native/useNetworkActivityDevTools.ts +6 -0
- package/src/shared/client.ts +9 -0
- package/src/ui/components/CodeEditor.tsx +26 -0
- package/src/ui/components/OverrideResponse.tsx +132 -0
- package/src/ui/components/RequestList.tsx +15 -8
- package/src/ui/components/Section.tsx +5 -1
- package/src/ui/components/SidePanel.tsx +8 -0
- package/src/ui/state/hooks.ts +4 -0
- package/src/ui/state/store.ts +585 -502
- package/src/ui/tabs/ResponseTab.tsx +60 -12
- package/src/ui/views/InspectorView.tsx +7 -1
package/dist/App.html
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
<script>
|
|
23
23
|
var __ROZENITE_PANEL__ = true;
|
|
24
24
|
</script>
|
|
25
|
-
<script type="module" crossorigin src="./assets/App-
|
|
26
|
-
<link rel="stylesheet" crossorigin href="./assets/App-
|
|
25
|
+
<script type="module" crossorigin src="./assets/App-CM3Ub2ZA.js"></script>
|
|
26
|
+
<link rel="stylesheet" crossorigin href="./assets/App-BrSkOkws.css">
|
|
27
27
|
</head>
|
|
28
28
|
<body>
|
|
29
29
|
<div id="root"></div>
|
|
@@ -585,6 +585,9 @@ video {
|
|
|
585
585
|
.mb-3 {
|
|
586
586
|
margin-bottom: 0.75rem;
|
|
587
587
|
}
|
|
588
|
+
.me-auto {
|
|
589
|
+
margin-inline-end: auto;
|
|
590
|
+
}
|
|
588
591
|
.ml-0 {
|
|
589
592
|
margin-left: 0px;
|
|
590
593
|
}
|
|
@@ -603,6 +606,9 @@ video {
|
|
|
603
606
|
.mr-2 {
|
|
604
607
|
margin-right: 0.5rem;
|
|
605
608
|
}
|
|
609
|
+
.ms-2 {
|
|
610
|
+
margin-inline-start: 0.5rem;
|
|
611
|
+
}
|
|
606
612
|
.mt-1 {
|
|
607
613
|
margin-top: 0.25rem;
|
|
608
614
|
}
|
|
@@ -720,6 +726,9 @@ video {
|
|
|
720
726
|
.min-w-\[8rem\] {
|
|
721
727
|
min-width: 8rem;
|
|
722
728
|
}
|
|
729
|
+
.max-w-24 {
|
|
730
|
+
max-width: 6rem;
|
|
731
|
+
}
|
|
723
732
|
.max-w-xs {
|
|
724
733
|
max-width: 20rem;
|
|
725
734
|
}
|
|
@@ -985,6 +994,10 @@ video {
|
|
|
985
994
|
.bg-secondary {
|
|
986
995
|
background-color: hsl(var(--secondary));
|
|
987
996
|
}
|
|
997
|
+
.bg-violet-300 {
|
|
998
|
+
--tw-bg-opacity: 1;
|
|
999
|
+
background-color: rgb(196 181 253 / var(--tw-bg-opacity, 1));
|
|
1000
|
+
}
|
|
988
1001
|
.bg-yellow-600 {
|
|
989
1002
|
--tw-bg-opacity: 1;
|
|
990
1003
|
background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
|
|
@@ -1181,6 +1194,10 @@ video {
|
|
|
1181
1194
|
.text-secondary-foreground {
|
|
1182
1195
|
color: hsl(var(--secondary-foreground));
|
|
1183
1196
|
}
|
|
1197
|
+
.text-violet-300 {
|
|
1198
|
+
--tw-text-opacity: 1;
|
|
1199
|
+
color: rgb(196 181 253 / var(--tw-text-opacity, 1));
|
|
1200
|
+
}
|
|
1184
1201
|
.text-white {
|
|
1185
1202
|
--tw-text-opacity: 1;
|
|
1186
1203
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
@@ -1328,6 +1345,10 @@ video {
|
|
|
1328
1345
|
--tw-text-opacity: 1;
|
|
1329
1346
|
color: rgb(252 165 165 / var(--tw-text-opacity, 1));
|
|
1330
1347
|
}
|
|
1348
|
+
.hover\:text-violet-300:hover {
|
|
1349
|
+
--tw-text-opacity: 1;
|
|
1350
|
+
color: rgb(196 181 253 / var(--tw-text-opacity, 1));
|
|
1351
|
+
}
|
|
1331
1352
|
.hover\:text-white:hover {
|
|
1332
1353
|
--tw-text-opacity: 1;
|
|
1333
1354
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|