stream-chat
Advanced tools
Comparing version 1.4.0 to 1.5.0
{ | ||
"name": "stream-chat", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "JS SDK for the Stream Chat API", | ||
@@ -5,0 +5,0 @@ "author": "GetStream", |
@@ -88,2 +88,4 @@ // TypeScript Version: 2.8 | ||
export type ChannelTruncatedEvent = 'channel.truncated'; | ||
export type ChannelMutedEvent = 'channel.muted'; | ||
export type ChannelUnmutedEvent = 'channel.unmuted'; | ||
export type HealthCheckEvent = 'health.check'; | ||
@@ -366,2 +368,5 @@ export type NotificationNewMessageEvent = 'notification.message_new'; | ||
getMessagesById(messageIds: string[]): Promise<APIResponse>; | ||
mute(options?: object): Promise<MuteAPIResponse>; | ||
unmute(options?: object): Promise<UnmuteAPIResponse>; | ||
} | ||
@@ -497,2 +502,3 @@ | ||
mute: MuteResponse; | ||
channel_mute: MuteChannelResponse; | ||
own_user: OwnUserResponse; | ||
@@ -688,3 +694,4 @@ } | ||
user: UserResponse; | ||
target: UserResponse; | ||
target?: UserResponse; | ||
channel?: Channel; | ||
created_at?: string; | ||
@@ -694,2 +701,10 @@ updated_at?: string; | ||
export interface MuteChannelResponse { | ||
user: UserResponse; | ||
channel?: Channel; | ||
expires?: string; | ||
created_at?: string; | ||
updated_at?: string; | ||
} | ||
export interface FlagResponse { | ||
@@ -696,0 +711,0 @@ created_by_automod: boolean; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1934911
22694