@mtdt.temp/browser-core
Version: 
Datadog browser core utilities.
5 lines (4 loc) • 554 B
TypeScript
import type { InitConfiguration } from './configuration';
export declare const WARN_DOES_NOT_HAVE_ALLOWED_TRACKING_ORIGIN = "Running the Browser SDK in a Web extension content script is discouraged and will be forbidden in a future major release unless the `allowedTrackingOrigins` option is provided.";
export declare const ERROR_NOT_ALLOWED_TRACKING_ORIGIN = "SDK initialized on a non-allowed domain.";
export declare function isAllowedTrackingOrigins(configuration: InitConfiguration, windowOrigin?: string, errorStack?: string | undefined): boolean;