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

[Browser] Deprecate getImsAuthority and usage of process.env #242

Merged
merged 5 commits into from
May 7, 2024

Conversation

ben-polinsky
Copy link
Collaborator

@ben-polinsky ben-polinsky commented May 7, 2024

Fixes #241.
Deprecate but do not remove the usage of process.env in the browser as we almost certainly have users relying on the functionality (in pre-build substitution like parcel, webpack/create-react-app). Gate this inside of a try/catch so users who are not polyfiling/pre-populating process will no longer encounter an error.

We'll remove this in the next major (Or n+1... :( )

@ben-polinsky ben-polinsky merged commit 8b4869e into main May 7, 2024
13 checks passed
@ben-polinsky ben-polinsky deleted the bug-241 branch May 7, 2024 15:17
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.

process is not available in the browser
2 participants