Skip to content

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Oct 23, 2024

NateTheDev1 and others added 30 commits March 29, 2023 16:04
It allows to subscribe to queries, like:

    client.subscribe("SELECT * FROM Player");
* Add some client tests

This adds tests for the client and the ability to supply a test adapter.
I also tried to mock WS, but for some reason it didn't work and I
figured out making our own adapter is simple enough.
* Remove package-log.json

We already have yarn lock, so no need to have both

* Add Prettier

* Format code using prettier

* Add husky and pretty-quick

This will ensure formatting before committing
Remove identity from credentials (not needed to log in)

Co-authored-by: Derek Brinkmann <[email protected]>
We support primaryKey fields now, thus we can also perform an update
operation on the client by utilizing the primaryKey
Added manual ws table connectors
PuruVJ and others added 5 commits October 8, 2024 23:38
* Push

* Buffer.from

* Format

* Add changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Pus

* gzip

* Push

* Buffer.from

* Format

* Add changeset

* Push

* Remove deps

* Rvert back to original lib.rs

* Push

* Refactor decompress function

* Autogenerate

* Format

* deferred

* Fix tests

* Remove blob coments

* Message queue. Untested

* Fix test

* Chunked decompress
* Enter prerelease mode

* Add major changeset
Copy link

changeset-bot bot commented Oct 23, 2024

⚠️ No Changeset found

Latest commit: a374814

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

)

* Update Identity and Address to use bigints rather than byte arrays

* Add back accidentally-removed APIs

* Remove debugging log

* Add changeset

* Fix names

* Format

* Update creds

---------

Co-authored-by: Puru Vijay <[email protected]>
@Centril Centril force-pushed the centril/websocket-use-ids branch 4 times, most recently from 6dfc08b to 0671175 Compare November 5, 2024 18:45
Copy link

pkg-pr-new bot commented Nov 5, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@clockworklabs/spacetimedb-sdk@118

commit: a374814

@Centril Centril force-pushed the centril/websocket-use-ids branch from 0671175 to 6d9953e Compare November 5, 2024 19:07
PuruVJ and others added 2 commits November 6, 2024 10:54
* Update readme

* rc1

* Update packages/sdk/README.md

---------

Co-authored-by: Zeke Foppa <[email protected]>
* support TransactionUpdateLight and CallReducerFlags

* Run generate

* Push creds

* run prettier

* Add changeset

* Turn on withLightMode

---------

Co-authored-by: Puru Vijay <[email protected]>
Co-authored-by: Puru Vijay <[email protected]>
Base automatically changed from centril/websocket-light to main November 6, 2024 20:34
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Centril Centril force-pushed the centril/websocket-use-ids branch from 6d9953e to 56e00e9 Compare November 12, 2024 15:41
@Centril Centril force-pushed the centril/websocket-use-ids branch from 56e00e9 to a374814 Compare November 12, 2024 15:49
@Centril Centril changed the title Companion to SpacetimeDB#1883 Companion to SpacetimeDB#1940 Nov 12, 2024
@bfops
Copy link
Collaborator

bfops commented Aug 7, 2025

I'm going to close this since clockworklabs/SpacetimeDB#1940 is unmerged, and we're migrating this repo into SpacetimeDB. The branch typescript-sdk/centril/websocket-use-ids exists there if you want to reopen it.

@bfops bfops closed this Aug 7, 2025
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.