Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
14 lines
827 B
Plaintext
14 lines
827 B
Plaintext
import { Client } from "@sentry/types";
|
|
import { NormalizedOptions } from "../options-mapping";
|
|
import { Scope } from "@sentry/core";
|
|
export declare function createSentryInstance(options: NormalizedOptions, shouldSendTelemetry: Promise<boolean>, buildTool: string, buildToolMajorVersion: string | undefined): {
|
|
sentryScope: Scope;
|
|
sentryClient: Client;
|
|
};
|
|
export declare function setTelemetryDataOnScope(options: NormalizedOptions, scope: Scope, buildTool: string, buildToolMajorVersion?: string): void;
|
|
export declare function allowedToSendTelemetry(options: NormalizedOptions): Promise<boolean>;
|
|
/**
|
|
* Flushing the SDK client can fail. We never want to crash the plugin because of telemetry.
|
|
*/
|
|
export declare function safeFlushTelemetry(sentryClient: Client): Promise<void>;
|
|
//# sourceMappingURL=telemetry.d.ts.map |