Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry_deno/packages/types/src/session.ts>Session

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
interface Session
import { type Session } from "https://deno.land/x/sentry_deno@v0.2.2/packages/types/src/session.ts";

Properties

sid: string
optional
did: string
init: boolean
timestamp: number
started: number
optional
duration: number
optional
release: string
optional
environment: string
optional
userAgent: string
optional
ipAddress: string
errors: number
optional
user: User | null
ignoreDuration: boolean

Methods

Overrides default JSON serialization of the Session because the Sentry servers expect a slightly different schema of a session which is described in the interface @see SerializedSession in this file.