UNPKG

@mtdt.temp/browser-core

Version:
5 lines (4 loc) 554 B
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;