Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@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 24,463 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 3 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.