UNPKG

@toruslabs/customauth

Version:

CustomAuth login with torus to get user private key

10 lines (9 loc) 342 B
import type { Span, StartSpanOptions } from "@sentry/core"; export interface Sentry { startSpan<T>(context: StartSpanOptions, callback: (span: Span) => T): T; } export default class SentryHandler { sentry: Sentry | null; constructor(sentry?: Sentry); startSpan<T>(context: StartSpanOptions, callback: (span: Span) => T): T; }