Socket
Socket
Sign inDemoInstall

@liveblocks/client

Package Overview
Dependencies
Maintainers
3
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/client - npm Package Compare versions

Comparing version 0.15.8 to 0.15.9

25

lib/index.d.ts

@@ -235,24 +235,17 @@ /**

};
/**
* Represents all the other users connected in the room. Treated as immutable.
*/
interface Others<TPresence extends Presence = Presence> {
declare type ReadonlyArrayWithLegacyMethods<T> = readonly T[] & {
/**
* Number of other users in the room.
* @deprecated Prefer the normal .length property on arrays.
*/
readonly count: number;
/**
* Returns a new Iterator object that contains the users.
* @deprecated Calling .toArray() is no longer needed
*/
[Symbol.iterator](): IterableIterator<User<TPresence>>;
/**
* Returns the array of connected users in room.
*/
toArray(): User<TPresence>[];
/**
* This function let you map over the connected users in the room.
*/
map<U>(callback: (user: User<TPresence>) => U): U[];
}
toArray(): T[];
};
/**
* A read-only array containing all other users connected to the room.
*/
declare type Others<P extends Presence = Presence> = ReadonlyArrayWithLegacyMethods<User<P>>;
/**
* Represents a user connected in a room. Treated as immutable.

@@ -259,0 +252,0 @@ */

{
"name": "@liveblocks/client",
"version": "0.15.8",
"version": "0.15.9",
"description": "",

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

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

Sorry, the diff of this file is not supported yet

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