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/browser.js CHANGED
@@ -4276,7 +4276,7 @@ var Channel = /*#__PURE__*/function () {
4276
4276
  returnedPage: state.messages,
4277
4277
  logger: this.getClient().logger
4278
4278
  }));
4279
- this.getClient().polls.hydratePollCache(messageSet.messages, true);
4279
+ this.getClient().polls.hydratePollCache(state.messages, true);
4280
4280
  areCapabilitiesChanged = _toConsumableArray__default['default'](state.channel.own_capabilities || []).sort().join() !== _toConsumableArray__default['default'](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();
4281
4281
  this.data = state.channel;
4282
4282
  this.offlineMode = false;
@@ -12648,7 +12648,7 @@ var StreamChat = /*#__PURE__*/function () {
12648
12648
  returnedPage: channelState.messages,
12649
12649
  logger: this.logger
12650
12650
  }));
12651
- this.polls.hydratePollCache(updatedMessagesSet.messages, true);
12651
+ this.polls.hydratePollCache(channelState.messages, true);
12652
12652
  }
12653
12653
 
12654
12654
  channels.push(c);
@@ -15037,7 +15037,7 @@ var StreamChat = /*#__PURE__*/function () {
15037
15037
  }, {
15038
15038
  key: "getUserAgent",
15039
15039
  value: function getUserAgent() {
15040
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.0");
15040
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.1");
15041
15041
  }
15042
15042
  }, {
15043
15043
  key: "setUserAgent",