Socket
Socket
Sign inDemoInstall

@liveblocks/core

Package Overview
Dependencies
Maintainers
5
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/core - npm Package Compare versions

Comparing version 0.19.3-beta3 to 0.19.3-beta4

18

dist/index.d.ts

@@ -662,2 +662,3 @@ /**

declare type ConnectionState = Connection["state"];
declare type StorageStatus = "not-loaded" | "loading" | "synchronizing" | "synchronized";
interface History {

@@ -740,5 +741,2 @@ /**

};
declare type PendingHasModificationsEvent = {
hasPendingStorageModifications: boolean;
};
declare type BroadcastOptions = {

@@ -863,3 +861,3 @@ /**

/**
* Subscribe to pending storage modifications updates.
* Subscribe to storage status changes.
*

@@ -869,7 +867,9 @@ * @returns Unsubscribe function.

* @example
* room.subscribe("pending-storage-modifications", ({ hasPendingStorageModifications }) => {
* // Do something
* room.subscribe("storage-status", (status) => {
* switch(status) {
* case
* }
* });
*/
(type: "pending-storage-modifications", listener: Callback<PendingHasModificationsEvent>): () => void;
(type: "storage-status", listener: Callback<StorageStatus>): () => void;
};

@@ -989,5 +989,5 @@ /**

/**
* Whether or not the room has storage modifications that have not been acknowledged by the server.
* Get the storage status.
*/
hasPendingStorageModifications(): boolean;
getStorageStatus(): StorageStatus;
/**

@@ -994,0 +994,0 @@ * Close room connection and try to reconnect

{
"name": "@liveblocks/core",
"version": "0.19.3-beta3",
"version": "0.19.3-beta4",
"description": "Shared code and foundational internals for Liveblocks",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is too big to display

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