UNPKG

1.31 kBTypeScriptView Raw
1import type { IntegrationFn } from '@sentry/core';
2declare const LazyLoadableIntegrations: {
3 readonly replayIntegration: "replay";
4 readonly replayCanvasIntegration: "replay-canvas";
5 readonly feedbackIntegration: "feedback";
6 readonly feedbackModalIntegration: "feedback-modal";
7 readonly feedbackScreenshotIntegration: "feedback-screenshot";
8 readonly captureConsoleIntegration: "captureconsole";
9 readonly contextLinesIntegration: "contextlines";
10 readonly linkedErrorsIntegration: "linkederrors";
11 readonly debugIntegration: "debug";
12 readonly dedupeIntegration: "dedupe";
13 readonly extraErrorDataIntegration: "extraerrordata";
14 readonly httpClientIntegration: "httpclient";
15 readonly reportingObserverIntegration: "reportingobserver";
16 readonly rewriteFramesIntegration: "rewriteframes";
17 readonly sessionTimingIntegration: "sessiontiming";
18 readonly browserProfilingIntegration: "browserprofiling";
19 readonly moduleMetadataIntegration: "modulemetadata";
20};
21/**
22 * Lazy load an integration from the CDN.
23 * Rejects if the integration cannot be loaded.
24 */
25export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations, scriptNonce?: string): Promise<IntegrationFn>;
26export {};
27//# sourceMappingURL=lazyLoadIntegration.d.ts.map
\No newline at end of file