-
Notifications
You must be signed in to change notification settings - Fork 83
feat: Add ODP/ATS VuidManager #776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A couple of suggestions.
I see some JS codes I cannot cover.
Co-authored-by: Jae Kim <45045038+jaeopt@users.noreply.github.com>
This PR remains ready for @zashraf1985 's review as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
packages/optimizely-sdk/lib/plugins/key_value_cache/browserAsyncStorageCache.ts
Outdated
Show resolved
Hide resolved
packages/optimizely-sdk/lib/plugins/key_value_cache/inMemoryAsyncStorageCache.ts
Outdated
Show resolved
Hide resolved
packages/optimizely-sdk/lib/plugins/key_value_cache/reactNativeAsyncStorageCache.ts
Outdated
Show resolved
Hide resolved
|
||
import { VuidManager } from '../lib/plugins/vuid_manager'; | ||
import PersistentKeyValueCache from '../lib/plugins/key_value_cache/persistentKeyValueCache'; | ||
import { anyString, anything, instance, mock, resetCalls, verify, when } from 'ts-mockito'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Great!
# Conflicts: # packages/optimizely-sdk/__mocks__/@react-native-async-storage/async-storage.ts # packages/optimizely-sdk/package-lock.json # packages/optimizely-sdk/package.json
Summary
Full Stack client should create and manage a unique device or visitor ID (VUID), persistent and shared between multiple SDK instances.
Test plan
Added new unit test spec files to base package
Issues
OASIS-8412