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

fix: Revert "Replace socket.io-client" #111

Merged
merged 2 commits into from
May 26, 2023

Conversation

lucaas
Copy link
Contributor

@lucaas lucaas commented May 26, 2023

Resolves FT-714936d4-8f5c-41b6-bbc6-6e484f97dedf

  • I have added automatic tests where applicable
  • The PR title is suitable as a release note
  • The PR contains a description of what has been changed
  • The description contains manual test instructions

Changes

This reverts PR #99 and PR #108 - since we were seeing some issues with this in a browser context. This will keep main releasable in the meantime.

We will setup a new PR with the new client and can target any fixes there.

Test

  • Verify that the correct PRs are reverted.

@lucaas lucaas requested a review from a team as a code owner May 26, 2023 11:08
@lucaas lucaas requested a review from jimmycallin May 26, 2023 11:08
@lucaas lucaas merged commit ca25de7 into main May 26, 2023
@lucaas lucaas deleted the backlog/revert-new-socket.io-client-in-js-api branch May 26, 2023 14:05
gismya added a commit that referenced this pull request Jul 19, 2023
gismya added a commit that referenced this pull request Sep 11, 2023
gismya added a commit that referenced this pull request Sep 13, 2023
gismya added a commit that referenced this pull request Sep 14, 2023
* Revert "fix: Revert "Replace socket.io-client" (#111)"

This reverts commit ca25de7.

* Fix cors issue on fetchSessionId

* Include credentials in fetch

* Another one

* Improved reconnect behaviour

* Add an online listener to reconnect before reconnectTimeout in case browser online event triggers.

* fixed tests and improved error handling

* Refetch sessionId every connection attempt and bind this to eventlistener callback
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