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

@liveblocks/node

Package Overview
Dependencies
Maintainers
5
Versions
360
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/node - npm Package Versions

23
36

2.17.0

Diff

Changelog

Source

v2.17.0

@liveblocks/client

  • Report a console error when a client attempts to send a WebSocket message that is >1 MB (which is not supported). Previously the client would silently fail in this scenario.
  • Added a new client config option largeMessageStrategy to allow specifying the preferred strategy for dealing with messages that are too large to send over WebSockets. There now is a choice between:
    • default Don’t send anything, but log the error to the console.
    • split Split the large message up into smaller chunks (at the cost of sacrificing atomicity). Thanks @adam-subframe for the contribution!
    • experimental-fallback-to-http Send the message over HTTP instead of WebSocket.
  • Deprecated the unstable_fallbackToHTTP experimental flag (please set largeMessageStrategy="experimental-fallback-to-http" instead).

@liveblocks/react

  • Added <LiveblocksProvider largeMessageStrategy="..." /> prop to LiveblocksProvider. See above for possible options.

@liveblocks/react-ui

  • Fix crash when a Composer is unmounted during its onComposerSubmit callback.
  • Add new icons to <Icon.* />.

@liveblocks/react-tiptap

AI Toolbar (private beta)

This release adds components and utilities to add an AI toolbar to your text editor, available in private beta.

  • Add ai option to useLiveblocksExtension to enable (and configure) it.
  • Add <AiToolbar /> component. (with <AiToolbar.Suggestion />, <AiToolbar.SuggestionsSeparator />, etc)
  • Add default AI buttons in Toolbar and FloatingToolbar when the ai option is enabled.
  • Add askAi Tiptap command to manually open the toolbar, it can also be invoked with a prompt to directly start the request when opening the toolbar. (e.g. editor.commands.askAi("Explain this text"))
liveblocks-bot
published 2.16.1-ai5 •

liveblocks-bot
published 2.17.0-rc1 •

liveblocks-bot
published 2.16.3-composer1 •

liveblocks-bot
published 2.16.1-ai4 •

liveblocks-bot
published 2.17.0-usrnotsettings3 •

liveblocks-bot
published 2.16.1-ai3 •

liveblocks-bot
published 2.17.0-usrnotsettings2 •

liveblocks-bot
published 2.16.2 •

Changelog

Source

v2.16.2

@liveblocks/react

  • Improve error message if hooks are accidentally called server side

@liveblocks/zustand

  • Fix bug in Zustand typing in case the multi-argument form of set() is used (thanks @hans-lizihan)
liveblocks-bot
published 2.17.0-usrnotsettings1 •

23
36
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc