stream-chat 8.54.0 → 8.54.1

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.
@@ -4251,7 +4251,7 @@ var Channel = /*#__PURE__*/function () {
4251
4251
  returnedPage: state.messages,
4252
4252
  logger: this.getClient().logger
4253
4253
  }));
4254
- this.getClient().polls.hydratePollCache(messageSet.messages, true);
4254
+ this.getClient().polls.hydratePollCache(state.messages, true);
4255
4255
  areCapabilitiesChanged = _toConsumableArray(state.channel.own_capabilities || []).sort().join() !== _toConsumableArray(Array.isArray((_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.own_capabilities) ? (_this$data7 = this.data) === null || _this$data7 === void 0 ? void 0 : _this$data7.own_capabilities : []).sort().join();
4256
4256
  this.data = state.channel;
4257
4257
  this.offlineMode = false;
@@ -12623,7 +12623,7 @@ var StreamChat = /*#__PURE__*/function () {
12623
12623
  returnedPage: channelState.messages,
12624
12624
  logger: this.logger
12625
12625
  }));
12626
- this.polls.hydratePollCache(updatedMessagesSet.messages, true);
12626
+ this.polls.hydratePollCache(channelState.messages, true);
12627
12627
  }
12628
12628
 
12629
12629
  channels.push(c);
@@ -15012,7 +15012,7 @@ var StreamChat = /*#__PURE__*/function () {
15012
15012
  }, {
15013
15013
  key: "getUserAgent",
15014
15014
  value: function getUserAgent() {
15015
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.0");
15015
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.1");
15016
15016
  }
15017
15017
  }, {
15018
15018
  key: "setUserAgent",