Installation
Package Installation
Install both the React SDK and the underlying TypeScript SDK:Bundler Configuration
The SDK includes WebAssembly modules. See the TypeScript SDK installation guide for bundler-specific configuration.Next.js
Vite
Works out of the box. No configuration needed.Create React App
Requiresreact-app-rewired. See TypeScript installation.
TypeScript Configuration
Recommendedtsconfig.json:
Peer Dependencies
The React SDK requires:react>= 18.0.0@testinprod-io/privacy-boost(latest)