@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
13 lines (12 loc) • 688 B
TypeScript
import { ReportDialogOptions } from './report-dialog';
import { DsnComponents, DsnLike } from './types-hoist/dsn';
import { SdkInfo } from './types-hoist/sdkinfo';
/**
* Returns the envelope endpoint URL with auth in the query string.
*
* Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.
*/
export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string, sdkInfo?: SdkInfo): string;
/** Returns the url to the report dialog endpoint. */
export declare function getReportDialogEndpoint(dsnLike: DsnLike, dialogOptions: ReportDialogOptions): string;
//# sourceMappingURL=api.d.ts.map