sceyt-chat-react-uikit 1.7.6-beta.2 → 1.7.6-beta.3

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/index.js CHANGED
@@ -16591,7 +16591,7 @@ function channelsForForwardLoadMore(action) {
16591
16591
  channelQueryForward.limit = limit;
16592
16592
  }
16593
16593
  _context8.n = 1;
16594
- return effects.put(setChannelsLoadingStateAC(LOADING_STATE.LOADING));
16594
+ return effects.put(setChannelsLoadingStateAC(LOADING_STATE.LOADING, true));
16595
16595
  case 1:
16596
16596
  _context8.n = 2;
16597
16597
  return effects.call(channelQueryForward.loadNextPage);
@@ -16614,7 +16614,7 @@ function channelsForForwardLoadMore(action) {
16614
16614
  return effects.put(addChannelsForForwardAC(mappedChannels));
16615
16615
  case 5:
16616
16616
  _context8.n = 6;
16617
- return effects.put(setChannelsLoadingStateAC(LOADING_STATE.LOADED));
16617
+ return effects.put(setChannelsLoadingStateAC(LOADING_STATE.LOADED, true));
16618
16618
  case 6:
16619
16619
  _context8.n = 8;
16620
16620
  break;
@@ -27866,7 +27866,7 @@ function ForwardMessagePopup(_ref) {
27866
27866
  if (event.target.scrollTop >= event.target.scrollHeight - event.target.offsetHeight - 100) {
27867
27867
  if (channelsLoading === LOADING_STATE.LOADED && channelsHasNext && !loadingRef.current) {
27868
27868
  loadingRef.current = true;
27869
- dispatch(loadMoreChannelsForForward(15));
27869
+ dispatch(loadMoreChannelsForForward(20));
27870
27870
  var timeout = setTimeout(function () {
27871
27871
  loadingRef.current = false;
27872
27872
  clearTimeout(timeout);
package/index.modern.js CHANGED
@@ -16590,7 +16590,7 @@ function channelsForForwardLoadMore(action) {
16590
16590
  channelQueryForward.limit = limit;
16591
16591
  }
16592
16592
  _context8.n = 1;
16593
- return put(setChannelsLoadingStateAC(LOADING_STATE.LOADING));
16593
+ return put(setChannelsLoadingStateAC(LOADING_STATE.LOADING, true));
16594
16594
  case 1:
16595
16595
  _context8.n = 2;
16596
16596
  return call(channelQueryForward.loadNextPage);
@@ -16613,7 +16613,7 @@ function channelsForForwardLoadMore(action) {
16613
16613
  return put(addChannelsForForwardAC(mappedChannels));
16614
16614
  case 5:
16615
16615
  _context8.n = 6;
16616
- return put(setChannelsLoadingStateAC(LOADING_STATE.LOADED));
16616
+ return put(setChannelsLoadingStateAC(LOADING_STATE.LOADED, true));
16617
16617
  case 6:
16618
16618
  _context8.n = 8;
16619
16619
  break;
@@ -27865,7 +27865,7 @@ function ForwardMessagePopup(_ref) {
27865
27865
  if (event.target.scrollTop >= event.target.scrollHeight - event.target.offsetHeight - 100) {
27866
27866
  if (channelsLoading === LOADING_STATE.LOADED && channelsHasNext && !loadingRef.current) {
27867
27867
  loadingRef.current = true;
27868
- dispatch(loadMoreChannelsForForward(15));
27868
+ dispatch(loadMoreChannelsForForward(20));
27869
27869
  var timeout = setTimeout(function () {
27870
27870
  loadingRef.current = false;
27871
27871
  clearTimeout(timeout);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.7.6-beta.2",
3
+ "version": "1.7.6-beta.3",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",