Socket
Socket
Sign inDemoInstall

@liveblocks/yjs

Package Overview
Dependencies
6
Maintainers
5
Versions
160
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
16Next

2.1.1-test2

Diff

guillaumesalles
published 2.1.1-test1 •

guillaumesalles
published 2.1.0 •

Changelog

Source

v2.1.0

@liveblocks/client

  • Various internal refactorings

@liveblocks/react

  • Add new hook useStorageStatus, which returns the current storage status of the room, and will re-render your component whenever it changes. This can used to build "Saving..." UIs.
  • Add useDeleteThread hook to delete a thread and its associated comments.
  • Fix: add missing JSDoc comments
  • Fix: improve some error messages and stack traces to contain more info
  • Refactorings to Suspense internals

@liveblocks/react-ui

  • Fix improper useSyncExternalStore import which would break on React <18.
guillaumesalles
published 2.0.5 •

Changelog

Source

v2.0.5

@liveblocks/react

  • Improved DX: useDeleteThread will now throw a client-side error if someone else than the thread owner tries to delete the thread. This will help you catch and handle this case more easily.
guillaumesalles
published 2.0.4 •

Changelog

Source

v2.0.4

All packages

  • Improve TS error messages and error locations if custom UserMeta or ActivitiesData types do not match their requirements

@liveblocks/client

  • Add missing type export for CommentReaction
  • Don’t attempt to write missing initialStorage keys if the current user has no write access to storage. This will no longer throw, but issue a warning message in the console.

@liveblocks/react

guillaumesalles
published 2.0.4-test1 •

guillaumesalles
published 2.0.3 •

Changelog

Source

v2.0.3

@liveblocks/client

  • In client.enterRoom(), the options initialPresence and initialStorage are now only mandatory if your custom type requires them to be.

@liveblocks/react

  • In <RoomProvider>, the props initialPresence and initialStorage are now only mandatory if your custom type requires them to be.
  • Nesting <LiveblocksProvider>s will now throw to prevent incorrect usage.

@liveblocks/react-ui

  • Prevent the composer from splitting text being composed.
  • Handle parentheses around and within auto-links.
  • Count whitespace as empty to prevent posting empty comments.
  • Prevent clearing the composer if it's not handled. (via onComposerSubmit)

@liveblocks/yjs

  • Add missing type exports
guillaumesalles
published 2.0.3-test2 •

guillaumesalles
published 2.0.3-test1 •

guillaumesalles
published 2.0.2 •

Changelog

Source

v2.0.2

@liveblocks/node

  • Add deleteThread method to the client to delete a room's thread.
  • Add the threadDeleted webhook event to notify when a thread is deleted.
  • Fix type signatures of client.identifyUser() and client.prepareSession() to require userInfo if it's mandatory according to your global UserMeta type definition.
2345
16Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc