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

@sendbird/chat

Package Overview
Dependencies
Maintainers
0
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sendbird/chat - npm Package Versions

2345
13

4.17.0

Diff
sendbird
published 4.17.0 •

Changelog

Source

v4.17.0 (Feb 27, 2025)

Features

  • Added new read-only property messageDeletionTimestamp on the GroupChannel
   export default class GroupChannel extend BaseChannel {
      ...
      // messageDeletionTimestamp is the message deletion timestamp from the message archive.
      // At this point, groupChannel.messageDeletionTimestamp also has the updated value.
      messageDeletionTimestamp: number = 0;
      ...
   };

Improvements

  • Fixed a bug Where don't get hidden channels in BackgroundSync
sendbird
published 4.16.5 •

Changelog

Source

v4.16.5 (Feb 13, 2025)

Improvements

  • Fixed a bug where the last message in the channel would not be updated## v4.16.4 (Jan 24, 2025)

Improvements

  • Fixed a bug that cached channel remains after channel deletion## v4.16.3 (Jan 16, 2025)

Improvements

  • Added AuthTokenType to Enum Type
 export enum AuthTokenType {
  SESSION_TOKEN = 'session_token',
  ACCESS_TOKEN = 'access_token',
 }
  • Added authTokenType parameter to authenticate() (Default Value: AuthTokenType.SESSION_TOKEN)
 // using AccessToken
 sb.authenticate('userId', 'access token', AuthTokenType.ACCESS_TOKEN);

 // using SessionToken
 sb.authenticate('userId', 'session token');
    
    or

 sb.authenticate('userId', 'session token', AuthTokenType.SESSION_TOKEN);
sendbird
published 4.16.4 •

Changelog

Source

v4.16.4 (Jan 24, 2025)

Improvements

  • Fixed a bug that cached channel remains after channel deletion## v4.16.3 (Jan 16, 2025)

Improvements

  • Added AuthTokenType to Enum Type
 export enum AuthTokenType {
  SESSION_TOKEN = 'session_token',
  ACCESS_TOKEN = 'access_token',
 }
  • Added authTokenType parameter to authenticate() (Default Value: AuthTokenType.SESSION_TOKEN)
 // using AccessToken
 sb.authenticate('userId', 'access token', AuthTokenType.ACCESS_TOKEN);

 // using SessionToken
 sb.authenticate('userId', 'session token');
    
    or

 sb.authenticate('userId', 'session token', AuthTokenType.SESSION_TOKEN);
sendbird
published 4.16.3 •

Changelog

Source

v4.16.3 (Jan 16, 2025)

Improvements

  • Added AuthTokenType to Enum Type
 export enum AuthTokenType {
  SESSION_TOKEN = 'session_token',
  ACCESS_TOKEN = 'access_token',
 }
  • Added authTokenType parameter to authenticate() (Default Value: AuthTokenType.SESSION_TOKEN)
 // using AccessToken
 sb.authenticate('userId', 'access token', AuthTokenType.ACCESS_TOKEN);

 // using SessionToken
 sb.authenticate('userId', 'session token');
    
    or

 sb.authenticate('userId', 'session token', AuthTokenType.SESSION_TOKEN);
sendbird
published 4.16.2 •

Changelog

Source

v4.16.2 (Jan 09, 2025)

Features

  • Supports for Poll feature is added for all message types.
    • Added poll and applyPoll(poll: Poll) method in BaseMessage.
    • Added pollId in FileMessageCreateParams and MultipleFilesMessageCreateParams.

Improvements

  • Fixed a bug that the API fails while refreshing session
sendbird
published 4.16.1 •

Changelog

Source

v4.16.1 (Dec 05, 2024)

Improvements

  • Fixed a bug where excessive API calls in MessageCollection
sendbird
published 4.16.0 •

Changelog

Source

v4.16.0 (Nov 20, 2024)

Features

SDK now supports Custom Report Categories configured through Sendbird Dashboard, which takes effect after restarting the app. Previous report categories will remain until app restart.

  • Added getReportCategoryInfoList()
  • Added ReportCategoryInfo
  • Deprecated ReportCategory
 const reportCategoryInfoList: ReportCategoryInfo[] = await sb.getReportCategoryInfoList();

 ...

 reportCategoryInfoList.forEach((reportCategoryInfo) => {
    // make Report Category list
    // use reportCategoryInfo.name
 });

Improvements

  • Added sampledUserInfoList in Reaction
  • Fixed a bug where called API with deprecated param in markAsDelivered
sendbird
published 4.15.0 •

Changelog

Source

v4.15.0 (Nov 07, 2024)

Features

Added new properties in Reaction to support more users

    export default class Reaction {
        
        ... 

        // A list of sampled userIds that have reacted to this Reaction.
        get sampledUserIds: string[]
        
        // A count of the number of users who have reacted to this.
        get count: number
        
        // A flag indicating whether the current user has reacted to this.
        get hasCurrentUserReacted: boolean

        ...
    }
  • Deprecated userIds in Reaction

Improvements

  • Fixed a bug where GET muted API is called every time
  • Fixed a bug when autoresend started, did not update channel info
sendbird
published 4.14.6 •

Changelog

Source

v4.14.6 (Oct 24, 2024)

Improvements

  • Fixed a bug where expiring_session=true regardless of whether SessionHandler is registered when authToken exists
  • Fixed typo in markPushNotificationAsClicked logs
sendbird
published 4.14.5 •

Changelog

Source

v4.14.5 (Oct 14, 2024)

Improvements

  • Added message property in FileMessageCreateParams
  • Added message property in FileMessage
2345
13