UNPKG

668 BTypeScriptView Raw
1import type { ClientOptions, DsnComponents, DsnLike } from '@sentry/types';
2/**
3 * Returns the envelope endpoint URL with auth in the query string.
4 *
5 * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.
6 */
7export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnelOrOptions?: string | ClientOptions): string;
8/** Returns the url to the report dialog endpoint. */
9export declare function getReportDialogEndpoint(dsnLike: DsnLike, dialogOptions: {
10 [key: string]: any;
11 user?: {
12 name?: string;
13 email?: string;
14 };
15}): string;
16//# sourceMappingURL=api.d.ts.map
\No newline at end of file