Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@liveblocks/core
Advanced tools
Private internals for Liveblocks. DO NOT import directly from this package!
@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.
packages/liveblocks-core
root level, add a file .env
LIVEBLOCKS_PUBLIC_KEY="pk_YOUR_PUBLIC_API_KEY"
npm run test:e2e
v1.10.0
This release introduces Notifications (and unread indicators) for Comments.
create-liveblocks-app
createLiveblocksContext
and Notifications to --init
.createRoomContext
to createClient
and add
resolveRoomsInfo
to the list of resolvers.@liveblocks/client
createClient
: resolveUsers
, resolveMentionSuggestions
(both were previously defined on createRoomContext
from
@liveblocks/react
), and the new resolveRoomsInfo
.@liveblocks/react
LiveblocksContext
accessible with createLiveblocksContext
,
similarly to createRoomContext
. This context is meant to live at the root
since it handles things outside of rooms, like notifications. It contains
LiveblocksProvider
, useUser
, useRoomInfo
, useInboxNotifications
,
useUnreadInboxNotificationsCount
, useMarkInboxNotificationAsRead
, and
useMarkAllInboxNotificationsAsRead
.createRoomContext
: useMarkThreadAsRead
,
useThreadSubscription
, useRoomInfo
, useRoomNotificationSettings
, and
useUpdateRoomNotificationSettings
.createLiveblocksContext
and
createRoomContext
: useUser
, and useRoomInfo
.@liveblocks/react-comments
InboxNotification
and InboxNotificationList
.Thread
component.@user@email.com
is now a valid mention and
will trigger resolveMentionSuggestions
with "user@email.com"
)@liveblocks/node
getInboxNotification
, getRoomNotificationSettings
,
updateRoomNotificationSettings
, and deleteRoomNotificationSettings
methods)NotificationEvent
.FAQs
Private internals for Liveblocks. DO NOT import directly from this package!
The npm package @liveblocks/core receives a total of 45,293 weekly downloads. As such, @liveblocks/core popularity was classified as popular.
We found that @liveblocks/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.