UNPKG

973 BTypeScriptView Raw
1import { DsnComponents, DsnLike } from '@sentry/types';
2/**
3 * Renders the string representation of this Dsn.
4 *
5 * By default, this will render the public representation without the password
6 * component. To get the deprecated private representation, set `withPassword`
7 * to true.
8 *
9 * @param withPassword When set to true, the password will be included.
10 */
11export declare function dsnToString(dsn: DsnComponents, withPassword?: boolean): string;
12/** The Sentry Dsn, identifying a Sentry instance and project. */
13export declare function makeDsn(from: DsnLike): DsnComponents;
14/**
15 * Changes a Dsn to point to the `relay` server running in the Lambda Extension.
16 *
17 * This is only used by the serverless integration for AWS Lambda.
18 *
19 * @param originalDsn The original Dsn of the customer.
20 * @returns Dsn pointing to Lambda extension.
21 */
22export declare function extensionRelayDSN(originalDsn: string | undefined): string | undefined;
23//# sourceMappingURL=dsn.d.ts.map
\No newline at end of file