Package Installation
Quick Setup
Package Exports
The SDK provides two entry points:| Import Path | Description |
|---|---|
@proliferate/sdk | Core SDK with error tracking, session replay, logging, and breadcrumbs |
@proliferate/sdk/react | React integration with Error Boundary components |
Browser Compatibility
The SDK supports all modern browsers:| Browser | Minimum Version |
|---|---|
| Chrome | 80+ |
| Firefox | 78+ |
| Safari | 14+ |
| Edge | 80+ |
Requirements
ES2020+
ES2020+
The SDK uses modern JavaScript features including optional chaining and nullish coalescing.
crypto.randomUUID
crypto.randomUUID
Used for generating event IDs. Falls back to a polyfill for older browsers.
fetch API
fetch API
Required for sending events to the backend.
Node.js Support
The SDK requires Node.js 18+ for build-time operations (TypeScript compilation, bundling).Dependencies
The SDK has minimal dependencies:| Package | Purpose |
|---|---|
rrweb | Session replay recording |
React is an optional peer dependency, only required if using
@proliferate/sdk/react.
