Skip to content

Commit

Permalink
refactor!: small clean-up and breaking change to release
Browse files Browse the repository at this point in the history
  • Loading branch information
camerow committed Nov 1, 2024
1 parent 306f89e commit 681b197
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/analytics/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AnalyticsClient } from './client';
import { AnalyticsClientInterface, DefaultProperties, JsonMap } from './types';

export * from './types';

export function configureAnalyticsClient<T extends AnalyticsClientInterface>({
client,
defaultProperties,
Expand All @@ -11,5 +12,5 @@ export function configureAnalyticsClient<T extends AnalyticsClientInterface>({
defaultProperties: DefaultProperties;
defaultTraits?: JsonMap;
}) {
return AnalyticsClient<T>(client, { defaultProperties, defaultTraits }); // No need to pass EventProperties
return AnalyticsClient<T>(client, { defaultProperties, defaultTraits });
}

0 comments on commit 681b197

Please sign in to comment.