Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stream-chat

Package Overview
Dependencies
Maintainers
12
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-chat - npm Package Compare versions

Comparing version 8.8.0 to 8.9.0

2

package.json
{
"name": "stream-chat",
"version": "8.8.0",
"version": "8.9.0",
"description": "JS SDK for the Stream Chat API",

@@ -5,0 +5,0 @@ "author": "GetStream",

@@ -1390,2 +1390,3 @@ import { ChannelState } from './channel_state';

case 'channel.hidden':
channel.data = { ...channel.data, hidden: true };
if (event.clear_history) {

@@ -1395,2 +1396,23 @@ channelState.clearMessages();

break;
case 'channel.visible':
channel.data = { ...channel.data, hidden: false };
break;
case 'user.banned':
if (!event.user?.id) break;
channelState.members[event.user.id] = {
...(channelState.members[event.user.id] || {}),
shadow_banned: !!event.shadow,
banned: !event.shadow,
user: { ...(channelState.members[event.user.id]?.user || {}), ...event.user },
};
break;
case 'user.unbanned':
if (!event.user?.id) break;
channelState.members[event.user.id] = {
...(channelState.members[event.user.id] || {}),
shadow_banned: false,
banned: false,
user: { ...(channelState.members[event.user.id]?.user || {}), ...event.user },
};
break;
default:

@@ -1397,0 +1419,0 @@ }

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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 not supported yet

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