Skip to content
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

feat: configurable storage key #225

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Aug 6, 2024

About the changes

Allows to configure custom key for local storage provider

 const unleash = new UnleashClient({
        ...
        storageProvider: new LocalStorageProvider('unleash:repository:custom-key')
    });

Closes: #210

Important files

Discussion points

Co-authored-by: Tymoteusz Czech <[email protected]>
@kwasniew kwasniew requested a review from Tymek August 6, 2024 08:59
@kwasniew kwasniew merged commit 8300c98 into main Aug 6, 2024
4 checks passed
@kwasniew kwasniew deleted the support-configurable-storage-key branch August 6, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Working with multiple UnleashClient instances
2 participants