Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TS SDK] Fix WebSocket constructor miss in Browser (MystenLabs#16126)
## Description Describe the changes or additions included in this PR. Reason: When using WebSocket in the browser, the value in option is still used by default. This will result in an error: ``` Uncaught Error: Missing WebSocket constructor ``` But in the documentation, it is not mentioned that the constructor needs to be set to window.WebSocket So this should be fixed --------- Co-authored-by: hayes-mysten <[email protected]>
- Loading branch information