New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@liveblocks/yjs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/yjs - npm Package Versions

2345
28
liveblocks-bot
published 2.22.1 •

Changelog

Source

v2.22.1

@liveblocks/react-blocknote

  • Fix report text editor function's call. Now we report correctly blocknote as text editor type.

@liveblocks/react-tiptap

  • Internal refactoring.

@liveblocks/node

  • Fix: improve stack traces of REST API errors to include the original error location.
liveblocks-bot
published 2.22.0 •

Changelog

Source

v2.22.0

@liveblocks/node

  • Added pagination support to .getInboxNotifications(). See docs.
  • New method .getOrCreate() which combines .getRoom() and .createRoom(). See docs.
  • New method .upsertRoom() which combines .updateRoom() and .createRoom(). See docs.
  • New method .iterRooms() which is like .getRooms() except pagination happens automatically. See docs.
  • New method .iterInboxNotifications() which is like .getInboxNotifications() except pagination happens automatically. See docs.
  • New method .mutateStorage() which can be used to make changes to Storage from your backend. See docs.
  • New method .massMutateStorage() which can be used to make changes to Storage for multiple rooms simultaneously. See docs.
  • Updated method .deleteRoom() to no longer throw when the room already does not exist. See docs.

@liveblocks/react-ui

  • Add new icons to <Icon.* />.

@liveblocks/emails

  • Implement a new core logic for thread notification event.
  • Mark htmlBody from prepareThreadNotificationEmailAsHtml and reactBody from prepareThreadNotificationEmailAsReact as deprecated. Use body property instead.
liveblocks-bot
published 2.21.0 •
liveblocks-bot
published 2.20.0-blocknote •
liveblocks-bot
published 2.21.0-emails3 •
liveblocks-bot
published 2.21.0-emails2 •
liveblocks-bot
published 2.21.0-emails1 •
liveblocks-bot
published 2.20.0 •

Changelog

Source

v2.20.0

@liveblocks/client

  • Implement a proxy factory for UserNotificationSettings object to return null to prevent any errors when accessing a disabled notification channel.

@liveblocks/node

  • Implement a proxy factory for UserNotificationSettings object to return null to prevent any errors when accessing a disabled notification channel.

@liveblocks/react

  • Add optional useRoom({ allowOutsideRoom: true }) option. When this option is set, the hook will return null when used outside of a room, whereas the default behavior of the hook is be to throw.
  • Implement a proxy factory for UserNotificationSettings object to return null to prevent any errors when accessing a disabled notification channel.

@liveblocks/react-ui

  • Improve mentions behavior around whitespace, fixing a regression introduced in v2.18.3 when we added support for whitespace within mentions.
  • Prevent mention suggestions from scrolling instead of flipping when there’s enough space on the other side (e.g. moving from top to bottom).
  • Improve event propagation in the formatting toolbar of Composer.
liveblocks-bot
published 2.19.0 •

Changelog

Source

v2.19.0

@liveblocks/*

  • Output ES modules by default (but CJS builds are still included)
  • Modernize internal build tool settings

@liveblocks/node

  • Allow passing optional AbortSignal to all client methods
  • Fix bug in encoding of error information in the LiveblocksError when an API call fails (thanks for reporting, @robcresswell!)
  • Fix getStorageDocument("my-room", "json") typing in its output LiveMap instances as ReadonlyMap instead of serialized plain objects.
liveblocks-bot
published 2.18.4-uns2 •
2345
28