@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
18 lines • 736 B
TypeScript
import type { Event, StackParser } from '@sentry/types';
/**
* Retrieve metadata for a specific JavaScript file URL.
*
* Metadata is injected by the Sentry bundler plugins using the `_experiments.moduleMetadata` config option.
*/
export declare function getMetadataForUrl(parser: StackParser, filename: string): any | undefined;
/**
* Adds metadata to stack frames.
*
* Metadata is injected by the Sentry bundler plugins using the `_experiments.moduleMetadata` config option.
*/
export declare function addMetadataToStackFrames(parser: StackParser, event: Event): void;
/**
* Strips metadata from stack frames.
*/
export declare function stripMetadataFromStackFrames(event: Event): void;
//# sourceMappingURL=metadata.d.ts.map