@spotify-confidence/csr-common
v0.17.3
Published

Downloads
952
Keywords
Readme
@spotify-confidence/csr-common
Shared types, event definitions, and utilities for the Confidence session recording SDK. This package is a foundation dependency — most consumers should use @spotify-confidence/session-recording directly.
What's in here
- Event types —
RecordingEvent,RecordingEventType,IncrementalSource, and custom event data types used across the recording pipeline. - Validation —
validateKey,validateTagValue,validateMeasureValuefor custom tags and measurements. - Uploader —
createUploaderfactory and WebSocket transport for streaming recording frames to the Confidence backend. Available via thecsr-common/uploadersubpath export. - Client context —
collectUserAgentContextfor auto-collecting browser/OS/screen metadata.
License
Apache 2.0 — see LICENSE.
