Skip to content

Commit

Permalink
fix: Export ActivateNotificationPayload (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlacerda authored Jun 19, 2024
1 parent 4238abe commit e5fa21b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/lib/.changeset/wet-dots-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'opticks': patch
---

fix: Exports ts type ActivateNotificationPayload
4 changes: 2 additions & 2 deletions packages/lib/src/integrations/optimizely.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit e5fa21b

Please sign in to comment.