UNPKG

735 BTypeScriptView Raw
1import type { Options } from '@sentry/types';
2/**
3 * A builder for the SDK metadata in the options for the SDK initialization.
4 *
5 * Note: This function is identical to `buildMetadata` in Remix and NextJS and SvelteKit.
6 * We don't extract it for bundle size reasons.
7 * @see https://github.com/getsentry/sentry-javascript/pull/7404
8 * @see https://github.com/getsentry/sentry-javascript/pull/4196
9 *
10 * If you make changes to this function consider updating the others as well.
11 *
12 * @param options SDK options object that gets mutated
13 * @param names list of package names
14 */
15export declare function applySdkMetadata(options: Options, name: string, names?: string[], source?: string): void;
16//# sourceMappingURL=sdkMetadata.d.ts.map
\No newline at end of file