Socket
Socket
Sign inDemoInstall

@liveblocks/core

Package Overview
Dependencies
0
Maintainers
5
Versions
240
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/core


Version published
Maintainers
5
Install size
1.89 MB
Created

Changelog

Source

v2.2.0

We are making resolved a first-class citizen property on threads, for more information about this change please read our Upgrade Guide for 2.2.

@liveblocks/react

  • Add useMarkThreadAsResolved and useMarkThreadAsUnresolved hooks.
  • Support query.resolved when filtering threads.
  • The useStorageStatus hook now also has a { smooth: true } setting to make building calm UIs with it a bit easier.
  • The useClient() hook is now also available for users of createRoomContext() and/or createLiveblocksContext()
  • Fix: avoid unnecessary re-renders if inbox notifications haven't changed

@liveblocks/react-ui

  • Use first-class citizen resolved property in Thread component.
  • Preserve rich text when pasting into the composer.
  • Add support for custom links to the composer. (either by pasting URLs with plain text selected or by pasting existing links)
  • Preserve whitespace and empty lines in comments.
  • Mark threads as read when visible (like before), but only if the window is focused.
  • Fix improper useTransition fallback which would break on React versions lower than 18.

@liveblocks/node

  • Add markThreadAsResolved and markThreadAsUnresolved methods.
  • Add ThreadMarkedAsResolvedEvent and ThreadMarkedAsUnresolvedEvent webhook events.
  • Support query.resolved when querying threads.

@liveblocks/react-lexical

  • Upgrade lexical peer dependency to version ^0.16.1 that fixes compatibility issues with Next.js versions 14.2.0 and above.

@liveblocks/node-lexical

  • Upgrade lexical peer dependency to version 0.16.1.

Readme

Source

@liveblocks/core

Shared code and foundational internals for all other Liveblocks packages. None of the APIs exposed by this package are considered stable or public. Please do not import anything directly from this package.

Run e2e tests locally

  • At the packages/liveblocks-core root level, add a file .env
  • In this file, add the environment variable: LIVEBLOCKS_PUBLIC_KEY="pk_YOUR_PUBLIC_API_KEY"
  • Run npm run test:e2e

Keywords

FAQs

Last updated on 04 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc