-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FSSDK-9654] fix: Default to VUID without user(id) as Provider prop (#…
…229) * feat: Use vuid for user.id if user? provided * test: Add missing Optimizely.getVuid jest.fn mock * refactor: Move set user to componentDidMount * test: Update for rejected optimizely.onReady * refactor: Change use sync componentDidMount() lifecycle method * fix: remove localStorage & getVuid use * fix: Separate responsiblities of getUserContextInstance * refactor: getUserContextWithOverrides * fix: Update ReactSDKClient interface * refactor: Update warns + clean up * refactor: DRY + moves + warn updates * refactor: No wait fetchQualifiedSegments on setUser * fix(user): Allow latent setting of user * test: WIP Fixing tests * nit: Format with Prettier * nit: More formatting with Prettier * test: Fix now that instantiation is now async * fix: Remove use sync lifecycle method * test: WIP graceful promise reject test failing * test: WIP replace timers in tests * test: Better timeout handling in jest * refactor: Move client onReady check slightly It really is needed so that vuid in JS SDK is ready * fix: Use FeatureVariableValue; Remove excess checks; Better user assignment * refactor: Remove FeatureVariableValue for now * test: Fix code supported by tests * refactor: Move getUserWithOverrides() back to position * refactor: Move isReady() for easier PR * refactor: Change back to getUserContext() * refactor: Make set and make user context private
- Loading branch information
1 parent
abf633d
commit 43613fc
Showing
7 changed files
with
174 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.