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.9.0 to 8.10.0

4

dist/types/channel.d.ts

@@ -69,3 +69,4 @@ /// <reference types="node" />

* @param {boolean} [options.skip_push] Skip sending push notifications
* @param {boolean} [options.is_pending_message] Make this message pending
* @param {boolean} [options.is_pending_message] DEPRECATED, please use `pending` instead.
* @param {boolean} [options.pending] Make this message pending
* @param {Record<string,string>} [options.pending_message_metadata] Metadata for the pending message

@@ -80,2 +81,3 @@ * @param {boolean} [options.force_moderation] Apply force moderation for server-side requests

keep_channel_hidden?: boolean;
pending?: boolean;
pending_message_metadata?: Record<string, string>;

@@ -82,0 +84,0 @@ skip_enrich_url?: boolean;

{
"name": "stream-chat",
"version": "8.9.0",
"version": "8.10.0",
"description": "JS SDK for the Stream Chat API",

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

@@ -348,5 +348,5 @@ import { Channel } from './channel';

...m,
created_at: m.created_at.toString(),
pinned_at: m.pinned_at?.toString(),
updated_at: m.updated_at?.toString(),
created_at: m.created_at.toISOString(),
pinned_at: m.pinned_at?.toISOString(),
updated_at: m.updated_at?.toISOString(),
} as unknown) as MessageResponse<StreamChatGenerics>);

@@ -353,0 +353,0 @@

@@ -164,3 +164,4 @@ import { ChannelState } from './channel_state';

* @param {boolean} [options.skip_push] Skip sending push notifications
* @param {boolean} [options.is_pending_message] Make this message pending
* @param {boolean} [options.is_pending_message] DEPRECATED, please use `pending` instead.
* @param {boolean} [options.pending] Make this message pending
* @param {Record<string,string>} [options.pending_message_metadata] Metadata for the pending message

@@ -177,2 +178,3 @@ * @param {boolean} [options.force_moderation] Apply force moderation for server-side requests

keep_channel_hidden?: boolean;
pending?: boolean;
pending_message_metadata?: Record<string, string>;

@@ -183,6 +185,2 @@ skip_enrich_url?: boolean;

) {
if (options?.is_pending_message !== undefined && !this._client._isUsingServerAuth()) {
throw new Error('Setting is_pending_message on client side is not supported');
}
const sendMessageResponse = await this.getClient().post<SendMessageAPIResponse<StreamChatGenerics>>(

@@ -189,0 +187,0 @@ this._channelURL() + '/message',

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

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