@rozenite/network-activity-plugin 1.5.1 → 1.6.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @rozenite/network-activity-plugin
2
2
 
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#198](https://github.com/callstackincubator/rozenite/pull/198) [`cc97b14`](https://github.com/callstackincubator/rozenite/commit/cc97b1433b0f6a93864060d980e869e08d7242bd) Thanks [@V3RON](https://github.com/V3RON)! - Add agent tools for inspecting HTTP, WebSocket, and SSE activity in the Network Activity plugin.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies []:
12
+ - @rozenite/agent-bridge@1.6.0
13
+ - @rozenite/plugin-bridge@1.6.0
14
+
3
15
  ## 1.5.1
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ### A Rozenite plugin that provides comprehensive network activity monitoring for React Native applications.
4
4
 
5
+ For agents, this plugin is the fallback network domain when the built-in `network` domain is unavailable, such as on older React Native versions. Agents should prefer the built-in `network` domain first, and switch to `@rozenite/network-activity-plugin` only if `network` is missing or fails to initialize.
6
+
5
7
  [![mit licence][license-badge]][license] [![npm downloads][npm-downloads-badge]][npm-downloads] [![Chat][chat-badge]][chat] [![PRs Welcome][prs-welcome-badge]][prs-welcome]
6
8
 
7
9
  The Rozenite Network Activity Plugin provides real-time network request monitoring, detailed request/response inspection within your React Native DevTools environment. It offers comprehensive network debugging capabilities similar to browser DevTools Network panel.
@@ -534,7 +534,6 @@ const getHTTPInspector = () => {
534
534
  },
535
535
  disable: () => {
536
536
  XHRInterceptor.disableInterception();
537
- networkRequestsRegistry.clear();
538
537
  },
539
538
  isEnabled: () => {
540
539
  return XHRInterceptor.isInterceptorEnabled();
@@ -1083,5 +1082,6 @@ exports.getResponseBody = getResponseBody;
1083
1082
  exports.isHttpEvent = isHttpEvent;
1084
1083
  exports.isSSEEvent = isSSEEvent;
1085
1084
  exports.isWebSocketEvent = isWebSocketEvent;
1085
+ exports.safeStringify = safeStringify;
1086
1086
  exports.validateConfig = validateConfig;
1087
1087
  exports.withOnBootNetworkActivityRecording = withOnBootNetworkActivityRecording;