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 (provider): Make connect call attach instead of connect #783

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

jamesopti
Copy link
Collaborator

Changes

  • Updates Provider.connect to call websocketProvider.attach instead of websocketProvider.connect directly to ensure that the provider is attached before connecting

Fixes #782

@janthurau janthurau merged commit 2668e6f into main Jan 31, 2024
3 checks passed
@janthurau janthurau deleted the provider-connect-ensure-attached branch January 31, 2024 17:51
TalhaASiddiqi pushed a commit to educative/hocuspocus that referenced this pull request Feb 1, 2024
…is#783)

* make connect call attach instead of connect

* set shouldConnect = true

* fix lint
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.

Provider.disconnect prevents subsequent provider.connect from working
2 participants