Skip to content

Commit 7177687

Browse files
committed
general
1 parent c81ca62 commit 7177687

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

lib/index.universal.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ export type { Cache } from './utils/cache/cache';
101101
export type {
102102
NotificationType,
103103
NotificationPayload,
104+
ActivateListenerPayload as ActivateNotificationPayload,
105+
DecisionListenerPayload as DecisionNotificationPayload,
106+
TrackListenerPayload as TrackNotificationPayload,
107+
LogEventListenerPayload as LogEventNotificationPayload,
108+
OptimizelyConfigUpdateListenerPayload as OptimizelyConfigUpdateNotificationPayload,
104109
} from './notification_center/type';
105110

106111
export type {

lib/shared_types.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -366,16 +366,12 @@ export interface Client {
366366
isOdpIntegrated(): boolean;
367367
}
368368

369-
export interface ActivateListenerPayload extends ListenerPayload {
370-
experiment: import('./shared_types').Experiment;
371-
variation: import('./shared_types').Variation;
372-
logEvent: Event;
369+
export interface ActivateListenerPayload {
370+
[key: string]: any;
373371
}
374372

375-
export interface TrackListenerPayload extends ListenerPayload {
376-
eventKey: string;
377-
eventTags: EventTags;
378-
logEvent: Event;
373+
export interface TrackListenerPayload {
374+
[key: string]: any;
379375
}
380376

381377
/**

0 commit comments

Comments
 (0)