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.
package/dist/index.es.js CHANGED
@@ -4252,7 +4252,7 @@ var Channel = /*#__PURE__*/function () {
4252
4252
  returnedPage: state.messages,
4253
4253
  logger: this.getClient().logger
4254
4254
  }));
4255
- this.getClient().polls.hydratePollCache(messageSet.messages, true);
4255
+ this.getClient().polls.hydratePollCache(state.messages, true);
4256
4256
  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();
4257
4257
  this.data = state.channel;
4258
4258
  this.offlineMode = false;
@@ -12626,7 +12626,7 @@ var StreamChat = /*#__PURE__*/function () {
12626
12626
  returnedPage: channelState.messages,
12627
12627
  logger: this.logger
12628
12628
  }));
12629
- this.polls.hydratePollCache(updatedMessagesSet.messages, true);
12629
+ this.polls.hydratePollCache(channelState.messages, true);
12630
12630
  }
12631
12631
 
12632
12632
  channels.push(c);
@@ -15015,7 +15015,7 @@ var StreamChat = /*#__PURE__*/function () {
15015
15015
  }, {
15016
15016
  key: "getUserAgent",
15017
15017
  value: function getUserAgent() {
15018
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.0");
15018
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.1");
15019
15019
  }
15020
15020
  }, {
15021
15021
  key: "setUserAgent",