@flotrace/runtime 0.1.0 → 0.2.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/README.md CHANGED
@@ -2,14 +2,16 @@
2
2
 
3
3
  Runtime package for FloTrace — enables real-time React component tree visualization, render tracking, state management monitoring, and network health analysis in the FloTrace desktop app.
4
4
 
5
+ > **Using React Native?** Install [`@flotrace/runtime-native`](https://www.npmjs.com/package/@flotrace/runtime-native) instead. It's the dedicated adapter for iOS / Android — `@flotrace/runtime` patches `fetch`, `XMLHttpRequest`, `JSON.parse`, and `Response.prototype.json` in ways that crash the React Native JS bridge. See the [migration guide](../../docs/migration-runtime-native.md) if you're switching a shared codebase.
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
8
- npm install @flotrace/runtime
10
+ npm install -D @flotrace/runtime
9
11
  # or
10
- yarn add @flotrace/runtime
12
+ yarn add -D @flotrace/runtime
11
13
  # or
12
- pnpm add @flotrace/runtime
14
+ pnpm add -D @flotrace/runtime
13
15
  ```
14
16
 
15
17
  **Peer dependencies:** React >= 16.9.0 (requires `<Profiler>` API)