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.js CHANGED
@@ -4280,7 +4280,7 @@ var Channel = /*#__PURE__*/function () {
4280
4280
  returnedPage: state.messages,
4281
4281
  logger: this.getClient().logger
4282
4282
  }));
4283
- this.getClient().polls.hydratePollCache(messageSet.messages, true);
4283
+ this.getClient().polls.hydratePollCache(state.messages, true);
4284
4284
  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();
4285
4285
  this.data = state.channel;
4286
4286
  this.offlineMode = false;
@@ -12654,7 +12654,7 @@ var StreamChat = /*#__PURE__*/function () {
12654
12654
  returnedPage: channelState.messages,
12655
12655
  logger: this.logger
12656
12656
  }));
12657
- this.polls.hydratePollCache(updatedMessagesSet.messages, true);
12657
+ this.polls.hydratePollCache(channelState.messages, true);
12658
12658
  }
12659
12659
 
12660
12660
  channels.push(c);
@@ -15043,7 +15043,7 @@ var StreamChat = /*#__PURE__*/function () {
15043
15043
  }, {
15044
15044
  key: "getUserAgent",
15045
15045
  value: function getUserAgent() {
15046
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.0");
15046
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.54.1");
15047
15047
  }
15048
15048
  }, {
15049
15049
  key: "setUserAgent",