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

stream-chat

Package Overview
Dependencies
Maintainers
5
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-chat - npm Package Versions

1
30

4.0.0-offline-caching.0

Diff

mahboubii
published 4.0.0 •

Changelog

Source

Augest 12, 2021 - 4.0.0

Breaking ⚠️

From now on client.connectUser() should be awaited #747. All instances of connectUser() should be changed to:

await connectUser();
// or
connectUser().then();
// ....
// queryChannels and other methods should be called after promosie is resolved

The behavior is now improved for poor connections and connectUser retries to establish the connection before throwing an error. Make sure to handle the failure gracefully and do not proceed to query channels or other methods until connectUser resolves.

Feature

  • Campaign feature flag, name and description added #745 #736
  • Campaign and Segment pagination option #737
  • queryChannels options to skip initialization of certain channels #743 #740
vishtree
published 3.13.1 •

Changelog

Source

July 29, 2021 - 3.13.1

  • Allowing listeners for channel.deleted and notification.channel_deleted before disconnecting the channel from client cc8796e
  • Fixing issue with presence indicator not updating feff028
vishtree
published 3.13.0 •

Changelog

Source

July 28, 2021 - 3.13.0

Issue fixes

  • Clear channel from client.activeChannels when its deleted on backend #728
  • Remove deleted properties from user objects on client when user-update related events are received #727
  • Remove reference to quoted message, when message gets deleted #726 Please note that channel can't be used once its deleted. You will need to re-create the channel using client.channel(channelType, channelId) call

Features/updates

  • Added following enpoints to client:

    • createSegment
    • getSegment
    • listSegments
    • updateSegment
    • deleteSegment
    • createCampaign
    • getCampaign
    • listCampaigns
    • updateCampaign
    • deleteCampaign
    • scheduleCampaign
    • stopCampaign
    • resumeCampaign
    • testCampaign
  • Removed target user id from payload on client.sendUserCustomEvent function 8bfcca3

  • Added grant field types to AppSettings 991b8118

vishtree
published 3.12.1 •

Changelog

Source

July 15, 2021 - 3.12.1

Issue fixes

  • Fixed an issue with event (message.updated, message.deleted etc) based updates to message list, which can cause messages to go out of sync than desired state. Please read the PR description for more details - #713
vishtree
published 3.12.0 •

Changelog

Source

July 13, 2021 - 3.12.0

Features/updates

  • Updates to client.search() and channel.search() endpoint #677

    • supports sorting results
    • returns next and previous parameters to get the next/previous page of results
    • supports pagination using the next parameter
  • Added new channel.assignRoles method for assigning custom roles to the channel members (#692)

  • Updated Permissions API methods (#707, #715)

  • Switched pinMessage and unpinMessage to partial update (#712)

Issue fixes

  • 704 Added missing team property to Event typescript type. #716
vishtree
published 3.11.0 •

Changelog

Source

June 8, 2021 - 3.11.0

  • Fixed timer throttling issue, which was introduced with recent release of Chrome browser #698
  • Fixed issues with unread count on muted channels #678
mahboubii
published 3.10.0 •

Changelog

Source

May 21, 2021 - 3.10.0

Feature

  • client.partialUpdateMessage() to partially update messages #576
  • client.queryMessageFlags() to query flagged messages #676
  • client.createToken add support to have iat claim while generating tokens #674
  • client.revokeTokens() method to revoke/unrevoke tokens on an application level #674
  • client.revokeUserToken() method to revoke/unrevoke tokens on user level #674
  • client.revokenUsersToken() method to revoke/unrevoke tokens for multiple users at once #674
mahboubii
published 3.9.0 •

Changelog

Source

May 3, 2021 - 3.9.0

Feature

  • New endpoint to send custom user events #664
  • Support Node v16 #671
vishtree
published 3.8.0 •

Changelog

Source

March 29, 2021 - 3.8.0

  • Better handling of user.deleted and user.updated events 6eddf39
    • When user.deleted event is received, mark messages from corresponding user as deleted.
    • When user.updated event is received, update references of corresponding user in messages.
  • Bug with with ChannelState.clean function 28581fd
  • Allow overriding of https agent on StreamChat f18e397
      const client = StreamChat.getInstance(apiKey, {
        httpsAgent: new https.Agent({
          keepAlive: true,
          keepAliveMsecs: 6000,
        });
      })
    
  • Updated following types
    • AppSettingsAPIResponse.enforce_unique_usernames 497220c
    • MessageLabel 7897e23
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