clockworklabs / clockworklabs/SpacetimeDB
TypeScript SDK - withUri should be able to take either HTTPS or WSS for a secure connection
Open
@jsdt is already working on this.
Since Apr 19, 2025.
bug
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
If you supply .withUri("https://maincloud.spacetimedb.com") instead of .withUri("wss://maincloud.spacetimedb.com") then you will get a ws:// connection instead of a wss:// connection. If the user supplies a https:// connection string we should automatically convert that to wss://. Both the C# and rust SDKs do this.
Discord thread: https://discord.com/channels/1037340874172014652/1362951793595650148/1362951793595650148
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.