stream-chat 8.10.1 → 8.11.0

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.
@@ -3641,6 +3641,7 @@ var Channel = /*#__PURE__*/function () {
3641
3641
  channelState.read[event.user.id] = {
3642
3642
  // because in client.ts the handleEvent call that flows to this sets this `event.received_at = new Date();`
3643
3643
  last_read: new Date(event.created_at),
3644
+ last_read_message_id: event.last_read_message_id,
3644
3645
  user: event.user,
3645
3646
  unread_messages: 0
3646
3647
  };
@@ -7933,7 +7934,7 @@ var StreamChat = /*#__PURE__*/function () {
7933
7934
  *
7934
7935
  * @param {BannedUsersFilters} filterConditions MongoDB style filter conditions
7935
7936
  * @param {BannedUsersSort} sort Sort options [{created_at: 1}].
7936
- * @param {BannedUsersPaginationOptions} options Option object, {limit: 10, offset:0}
7937
+ * @param {BannedUsersPaginationOptions} options Option object, {limit: 10, offset:0, exclude_expired_bans: true}
7937
7938
  *
7938
7939
  * @return {Promise<BannedUsersResponse<StreamChatGenerics>>} Ban Query Response
7939
7940
  */
@@ -10023,7 +10024,7 @@ var StreamChat = /*#__PURE__*/function () {
10023
10024
  switch (_context55.prev = _context55.next) {
10024
10025
  case 0:
10025
10026
  _context55.next = 2;
10026
- return this.get(this.baseURL + "/messages/".concat(messageID));
10027
+ return this.get(this.baseURL + "/messages/".concat(encodeURIComponent(messageID)));
10027
10028
 
10028
10029
  case 2:
10029
10030
  return _context55.abrupt("return", _context55.sent);
@@ -10045,7 +10046,7 @@ var StreamChat = /*#__PURE__*/function () {
10045
10046
  }, {
10046
10047
  key: "getUserAgent",
10047
10048
  value: function getUserAgent() {
10048
- return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.10.1");
10049
+ return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.11.0");
10049
10050
  }
10050
10051
  }, {
10051
10052
  key: "setUserAgent",