UNPKG

@rxap/ngx-sentry

Version:

This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application's environment, and a function to initialize Sentry with these configurations. I

11 lines (10 loc) 361 B
import { Environment } from '@rxap/environment'; /** * Determines the sentry release based on the build info object. * * If the tier is local return undefined. * If the tier is production return the tag value as release or undefined. * * @param environment */ export declare function DetermineSentryRelease(environment: Environment): string | undefined;