diff --git a/packages/lib/.changeset/wet-dots-draw.md b/packages/lib/.changeset/wet-dots-draw.md new file mode 100644 index 0000000..d306a23 --- /dev/null +++ b/packages/lib/.changeset/wet-dots-draw.md @@ -0,0 +1,5 @@ +--- +'opticks': patch +--- + +fix: Exports ts type ActivateNotificationPayload diff --git a/packages/lib/src/integrations/optimizely.ts b/packages/lib/src/integrations/optimizely.ts index e7bea7d..17f1e43 100644 --- a/packages/lib/src/integrations/optimizely.ts +++ b/packages/lib/src/integrations/optimizely.ts @@ -151,10 +151,10 @@ export enum ExperimentType { * * It would be best if Opticks abstracts this difference from the client in future versions. */ -interface ActivateNotificationPayload extends ListenerPayload { +export interface ActivateNotificationPayload extends ListenerPayload { type: ExperimentType decisionInfo: { - experimentKey: ToggleIdType + flagKey: ToggleIdType variationKey: VariantType } }