@sentry/replay
Advanced tools
Comparing version
import { SampleRates, SessionOptions } from '../types'; | ||
declare type StickyOption = Required<Pick<SessionOptions, 'stickySession'>>; | ||
declare type Sampled = false | 'session' | 'error'; | ||
interface SessionObject { | ||
@@ -18,5 +19,5 @@ id: string; | ||
/** | ||
* Is the session sampled? | ||
* Is the session sampled? `null` if the sampled, otherwise, `session` or `error` | ||
*/ | ||
sampled: boolean; | ||
sampled: Sampled; | ||
} | ||
@@ -58,6 +59,6 @@ export declare class Session { | ||
set previousSessionId(id: string | undefined); | ||
get sampled(): boolean; | ||
set sampled(_isSampled: boolean); | ||
get sampled(): Sampled; | ||
set sampled(_isSampled: Sampled); | ||
toJSON(): SessionObject; | ||
} | ||
export {}; |
{ | ||
"name": "@sentry/replay", | ||
"version": "0.6.11", | ||
"version": "0.6.12-0", | ||
"description": "User replays for Sentry", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# sentry-replay | ||
Note: Session Replay is currently in alpha. | ||
Note: Session Replay is currently in beta. | ||
@@ -5,0 +5,0 @@ ## Pre-requisites |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
529368
5.76%99
167.57%5922
16.83%