@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
16 lines • 735 B
TypeScript
import type { Options } from '@sentry/types';
/**
* A builder for the SDK metadata in the options for the SDK initialization.
*
* Note: This function is identical to `buildMetadata` in Remix and NextJS and SvelteKit.
* We don't extract it for bundle size reasons.
* @see https://github.com/getsentry/sentry-javascript/pull/7404
* @see https://github.com/getsentry/sentry-javascript/pull/4196
*
* If you make changes to this function consider updating the others as well.
*
* @param options SDK options object that gets mutated
* @param names list of package names
*/
export declare function applySdkMetadata(options: Options, name: string, names?: string[], source?: string): void;
//# sourceMappingURL=sdkMetadata.d.ts.map