New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bulbul-chat

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bulbul-chat - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

2

dist/src/ChatService.d.ts

@@ -26,3 +26,3 @@ import ChannelMessageStorage from './ChannelMessageStorage';

subscribeChannelsUpdate(): () => void;
sendMessage(channelId: string, messageType: ChatMessageType, content: string): Promise<void>;
sendMessage(channelId: string, messageType: ChatMessageType, content: string, metadata?: Record<string, unknown>): Promise<void>;
retryMessage(message: ChatMessage): Promise<any>;

@@ -29,0 +29,0 @@ triggerUserTyping(isTyping: boolean, channelExternalId: string): Promise<void>;

@@ -349,3 +349,3 @@ "use strict";

};
ChatService.prototype.sendMessage = function (channelId, messageType, content) {
ChatService.prototype.sendMessage = function (channelId, messageType, content, metadata) {
return __awaiter(this, void 0, void 0, function () {

@@ -367,2 +367,3 @@ var currentUser, localId, chatMessage;

senderId: currentUser.id,
metadata: metadata,
};

@@ -369,0 +370,0 @@ // store the message as queued for retries

{
"name": "bulbul-chat",
"version": "2.4.1",
"version": "2.4.2",
"description": "",

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

@@ -307,3 +307,4 @@ import { diffInSeconds } from './utils';

messageType: ChatMessageType,
content: string
content: string,
metadata?: Record<string, unknown>
): Promise<void> {

@@ -321,2 +322,3 @@ const currentUser = await this.getCurrentUser();

senderId: currentUser.id,
metadata,
};

@@ -323,0 +325,0 @@ // store the message as queued for retries

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