Sign In

@browser-echo/react

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browser-echo/react - npm Package Compare versions

Comparing version
1.0.2
to
1.1.0-alpha.0
+1
-1
package.json
{
"name": "@browser-echo/react",
"version": "1.0.2",
"version": "1.1.0-alpha.0",
"type": "module",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -72,2 +72,21 @@ # @browser-echo/react

Note: Network capture (fetch/XHR/WS) is available via `@browser-echo/core` and framework providers (Vite, Next, Nuxt). This React (non-Vite) package does not inject network capture on its own.
If you use `initBrowserEcho` directly, you can also enable network body snippets via core options:
```ts
initBrowserEcho({
route: '/__client-logs',
networkLogs: {
enabled: true,
bodies: {
request: true,
response: true,
maxBytes: 2048,
allowContentTypes: ['application/json','text/','application/x-www-form-urlencoded'],
prettyJson: true
}
}
});
```
Example Express.js endpoint:

@@ -74,0 +93,0 @@