Skip to content

Commit 98d1603

Browse files
author
Vinicius de Lacerda
committed
fix: Export ActivateNotificationPayload
1 parent 4238abe commit 98d1603

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: packages/lib/.changeset/wet-dots-draw.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'opticks': patch
3+
---
4+
5+
fix: Exports ts type ActivateNotificationPayload

Diff for: packages/lib/src/integrations/optimizely.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ export enum ExperimentType {
151151
*
152152
* It would be best if Opticks abstracts this difference from the client in future versions.
153153
*/
154-
interface ActivateNotificationPayload extends ListenerPayload {
154+
export interface ActivateNotificationPayload extends ListenerPayload {
155155
type: ExperimentType
156156
decisionInfo: {
157-
experimentKey: ToggleIdType
157+
flagKey: ToggleIdType
158158
variationKey: VariantType
159159
}
160160
}

0 commit comments

Comments
 (0)