stream-chat 9.54.2 → 9.54.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat",
3
- "version": "9.54.2",
3
+ "version": "9.54.3",
4
4
  "description": "JS SDK for the Stream Chat API",
5
5
  "homepage": "https://getstream.io/chat/",
6
6
  "author": {
@@ -460,10 +460,14 @@ export class ChannelManager extends WithSubscriptions {
460
460
  });
461
461
 
462
462
  if (channelsFromDB) {
463
- const offlineChannels = this.client.hydrateActiveChannels(channelsFromDB, {
464
- offlineMode: true,
465
- skipInitialization: [], // passing empty array will clear out the existing messages from channel state, this removes the possibility of duplicate messages
466
- });
463
+ const offlineChannels = this.client.hydrateActiveChannels(
464
+ channelsFromDB,
465
+ {
466
+ offlineMode: true,
467
+ skipInitialization: [], // passing empty array will clear out the existing messages from channel state, this removes the possibility of duplicate messages
468
+ },
469
+ options,
470
+ );
467
471
 
468
472
  this.state.partialNext({ channels: offlineChannels });
469
473
  }