diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e95b5c7..0cd30e92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Enhancements - fixed issue [#49](https://github.com/optimizely/react-sdk/issues/49): Return type of `createInstance` was `OptimizelyReactSDKClient` which is the implementation class. Changed it to the `ReactSDKClient` interface instead ([#148](https://github.com/optimizely/react-sdk/pull/148)). +- fixed issue [#121](https://github.com/optimizely/react-sdk/issues/121):`ActivateListenerPayload` and `TrackListenerPayload` types were exported from `@optimizely/optimizely-sdk` but were missing from `@optimizely/react-sdk` exports. ([#150](https://github.com/optimizely/react-sdk/pull/150)). + ## [2.8.0] - January 26, 2022 ### New Features diff --git a/src/index.ts b/src/index.ts index 2e117f23..5404f668 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,8 @@ export { OptimizelyExperiment } from './Experiment'; export { OptimizelyVariation } from './Variation'; export { OptimizelyDecision } from './utils'; -export { +export + { logging, errorHandler, setLogger, @@ -30,7 +31,11 @@ export { enums, eventDispatcher, OptimizelyDecideOption, -} from '@optimizely/optimizely-sdk'; + ActivateListenerPayload, + TrackListenerPayload, + ListenerPayload +} +from '@optimizely/optimizely-sdk'; export { createInstance, ReactSDKClient } from './client';