Skip to content

v4.3.12

Choose a tag to compare

@jamesgpearce jamesgpearce released this 05 Oct 13:44
· 1941 commits to main since this release

This release adds sanitization methods to the TinyBasePartyKitServer class so that you can ensure only valid operations are being sent by a client.

For example, you can implement the canSetCell method to check that a user is allowed to change a given Cell in the durable copy of the Store on the server.

Remember that, in the general case, you cannot trust the client to only send data that the server considers valid or safe.