pluv-io / pluv

Multi-platform, type-safe realtime packages
https://pluv.io
MIT License
66 stars 2 forks source link

feat(client): update my presence action callback #639

Closed leedavidcs closed 1 month ago

leedavidcs commented 1 month ago

✅ Checklist


Changelog

Update PluvRoom.updateMyPresence to allow passing in a callback function that exposes the previous presence value.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 7c6b63f2b4e47294d7bf8bf7eaf16f41831eb415

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages | Name | Type | | ------------------------- | ----- | | @pluv/client | Patch | | @pluv/addon-indexeddb | Patch | | @pluv/react | Patch | | @pluv/crdt | Patch | | @pluv/crdt-loro | Patch | | @pluv/crdt-yjs | Patch | | @pluv/io | Patch | | @pluv/persistance-redis | Patch | | @pluv/platform-cloudflare | Patch | | @pluv/platform-node | Patch | | @pluv/pubsub-redis | Patch | | @pluv/tsconfig | Patch | | @pluv/types | Patch | | pluv | Patch | | eslint-config-pluv | Patch |

Not sure what this means? Click here to learn what changesets are.

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

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **pluv** | ⬜️ Ignored ([Inspect](https://vercel.com/pluv/pluv/CygCQQiNZ5nYe3HGWx5tFNKw7hrK)) | [Visit Preview](https://pluv-git-featclient-update-my-presence-action-callback-pluv.vercel.app) | | Jun 25, 2024 5:34am |