mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-09 09:10:03 -04:00
626e2090ac
# Description of Changes This update the typescript sdk to use the v2 protocol. The main user-facing API change is removing the existing reducer callbacks, and instead having reducers return a `Promise`. # API and ABI breaking changes The reducer functions `conn.reducers.onX` and `conn.reducers.removeOnX` no longer exist, and reducers now return `Promise<void>`. # Expected complexity level and risk 2.5. # Testing This has mostly been tested manually. I'm still updating some of the unit tests (I commented out the ones that used reducer callbacks). --------- Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org> Co-authored-by: = <cloutiertyler@gmail.com>