@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) • 383 B
TypeScript
import { Environment } from '@rxap/environment';
/**
* Determines the sentry environment based on the build info object.
*
* If the tier is local return undefined.
* If the tier is production determine the environment based on the tag and branch name.
*
* @param environment
*/
export declare function DetermineSentryEnvironment(environment: Environment): string | undefined;