-
Notifications
You must be signed in to change notification settings - Fork 894
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
Fix websocketonly flag #6126
Fix websocketonly flag #6126
Conversation
🦋 Changeset detectedLatest commit: f058ac3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected ProductsNo changes between base commit (d756f4e) and merge commit (9146618).Test Logs |
Size Analysis Report 1Affected ProductsNo changes between base commit (d756f4e) and merge commit (9146618).Test Logs |
.changeset/twenty-shoes-cheer.md
Outdated
"@firebase/database": patch | ||
--- | ||
|
||
Fix websocketonly field to be set to true when using websocket db url. |
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.
Could you explain what the websocket url is in parens (ws or wss instead of https)? Then someone can figure out how to use it by reading the release notes.
@@ -0,0 +1,34 @@ | |||
/** | |||
* @license | |||
* Copyright 2017 Google LLC |
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.
2022
Fixes an issue where the webSocketOnly field was incorrectly set to undefined when using a websocket database URL.
When initializing the RepoInfo instance, the
nodeAdmin
value was being passed in as thewebSocketOnly
value, leading webSocketOnly to be undefined even when using a websocket url.