Skip to content

fix: undefined process in stream client#625

Merged
oliverlaz merged 3 commits into
GetStream:mainfrom
helene-hilaire:fix-undefined-process
Jun 12, 2026
Merged

fix: undefined process in stream client#625
oliverlaz merged 3 commits into
GetStream:mainfrom
helene-hilaire:fix-undefined-process

Conversation

@helene-hilaire

Copy link
Copy Markdown
Contributor

Fix for #570

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where the process object was accessed unsafely by changing the check to use "typeof process" to ensure it is defined.

  • Replaced a direct undefined check on process with a typeof check to prevent potential runtime errors in non-Node environments.

@itsmeadi itsmeadi enabled auto-merge (squash) May 12, 2025 09:12
@oliverlaz oliverlaz disabled auto-merge June 12, 2026 12:43
@oliverlaz oliverlaz merged commit 83bed55 into GetStream:main Jun 12, 2026
3 of 11 checks passed
@oliverlaz

Copy link
Copy Markdown
Member

Thanks @helene-hilaire for your contribution, and apologies for the delay. This fix will be included with the next release.

@github-actions github-actions Bot mentioned this pull request Jun 12, 2026
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.

4 participants