From 681b1972b4fff420c0bd104d839de80f1ecca90b Mon Sep 17 00:00:00 2001 From: Will Cameron Date: Fri, 1 Nov 2024 13:00:38 -0700 Subject: [PATCH] refactor!: small clean-up and breaking change to release --- packages/analytics/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/analytics/src/index.ts b/packages/analytics/src/index.ts index ef2ce3b0d..9ba124bf3 100644 --- a/packages/analytics/src/index.ts +++ b/packages/analytics/src/index.ts @@ -2,6 +2,7 @@ import { AnalyticsClient } from './client'; import { AnalyticsClientInterface, DefaultProperties, JsonMap } from './types'; export * from './types'; + export function configureAnalyticsClient({ client, defaultProperties, @@ -11,5 +12,5 @@ export function configureAnalyticsClient({ defaultProperties: DefaultProperties; defaultTraits?: JsonMap; }) { - return AnalyticsClient(client, { defaultProperties, defaultTraits }); // No need to pass EventProperties + return AnalyticsClient(client, { defaultProperties, defaultTraits }); }