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

Export generateDeterministicRandomNumber for use within mobile #5341

Merged
merged 5 commits into from
Feb 14, 2025

Conversation

smilingkylan
Copy link
Contributor

@smilingkylan smilingkylan commented Feb 14, 2025

Explanation

The purpose of this PR is to export the remote-feature-flag-controller method generateDeterministicRandomNumber for use within the UI. I am not inserting it as a controller method because we should not need to instantiate the controller in order to use it.

References

Issue: https://github.com/MetaMask/MetaMask-planning/issues/4119
Related PR: MetaMask/metamask-mobile#13534

Changelog

@metamask/remote-feature-flag-controller

  • CHANGED: Export generateDeterministicRandomNumber from remote-feature-flag-controller

Checklist

@DDDDDanica
Copy link
Contributor

LGTM !

@smilingkylan smilingkylan merged commit 0aae841 into main Feb 14, 2025
133 checks passed
@smilingkylan smilingkylan deleted the kylan/feat/export-segment-randomization branch February 14, 2025 23:39
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.

2 participants