@@ -7,7 +7,7 @@ import { getTelemetryInstance } from './singletonInstance';
77 * Returns an array of active SDK inspectors to use with SDK versions that do
88 * not support hooks.
99 *
10- * Telemetry must be initialized, using {@link initializeTelemetry } before calling this method.
10+ * Telemetry must be initialized, using {@link initTelemetry } before calling this method.
1111 * If telemetry is not initialized, this method will return an empty array.
1212 *
1313 * @returns An array of {@link BrowserTelemetryInspector} objects.
@@ -23,7 +23,7 @@ export function inspectors(): BrowserTelemetryInspector[] {
2323 * Unhandled errors are automatically captured, but this method can be used
2424 * to capture errors which were handled, but are still useful for telemetry.
2525 *
26- * Telemetry must be initialized, using {@link initializeTelemetry } before calling this method.
26+ * Telemetry must be initialized, using {@link initTelemetry } before calling this method.
2727 * If telemetry is not initialized, then the exception will be discarded.
2828 *
2929 * @param exception The Error object to capture
@@ -41,7 +41,7 @@ export function captureError(exception: Error): void {
4141 *
4242 * For most errors {@link captureError} should be used.
4343 *
44- * Telemetry must be initialized, using {@link initializeTelemetry } before calling this method.
44+ * Telemetry must be initialized, using {@link initTelemetry } before calling this method.
4545 * If telemetry is not initialized, then the error event will be discarded.
4646 *
4747 * @param errorEvent The ErrorEvent to capture
@@ -57,7 +57,7 @@ export function captureErrorEvent(errorEvent: ErrorEvent): void {
5757 * used for capturing manual breadcrumbs. For application specific breadcrumbs
5858 * the {@link CustomBreadcrumb} type can be used.
5959 *
60- * Telemetry must be initialized, using {@link initializeTelemetry } before calling this method.
60+ * Telemetry must be initialized, using {@link initTelemetry } before calling this method.
6161 * If telemetry is not initialized, then the breadcrumb will be discarded.
6262 *
6363 * @param breadcrumb The breadcrumb to add.
@@ -73,7 +73,7 @@ export function addBreadcrumb(breadcrumb: Breadcrumb): void {
7373 * client instance. The client instance will be used to report telemetry
7474 * to LaunchDarkly and also for collecting flag and context data.
7575 *
76- * Telemetry must be initialized, using {@link initializeTelemetry } before calling this method.
76+ * Telemetry must be initialized, using {@link initTelemetry } before calling this method.
7777 * If telemetry is not initialized, then the client will not be registered, and no events will be sent to LaunchDarkly.
7878 *
7979 * @param client The {@link LDClientTracking} instance to register for
@@ -90,7 +90,7 @@ export function register(client: LDClientTracking): void {
9090 * where collection needs to be stopped independent of application
9191 * lifecycle.
9292 *
93- * If telemetry is not initialized, using {@link initializeTelemetry }, then this method will do nothing.
93+ * If telemetry is not initialized, using {@link initTelemetry }, then this method will do nothing.
9494 */
9595export function close ( ) : void {
9696 getTelemetryInstance ( ) ?. close ( ) ;
0 commit comments