@dubsdotapp/expo 0.5.23 → 0.5.24

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
@@ -8881,11 +8881,19 @@ function ChatProvider({ children, autoConnect = true }) {
8881
8881
  }
8882
8882
  }
8883
8883
  refreshMessages();
8884
+ refreshConversations().catch(() => {
8885
+ });
8886
+ refreshFriends().catch(() => {
8887
+ });
8888
+ refreshPendingRequests().catch(() => {
8889
+ });
8890
+ refreshSentFriendRequests().catch(() => {
8891
+ });
8884
8892
  }
8885
8893
  };
8886
8894
  const sub = import_react_native29.AppState.addEventListener("change", handleAppState);
8887
8895
  return () => sub.remove();
8888
- }, [client, refreshMessages, refreshConversations]);
8896
+ }, [client, refreshMessages, refreshConversations, refreshFriends, refreshPendingRequests, refreshSentFriendRequests]);
8889
8897
  const value = (0, import_react49.useMemo)(
8890
8898
  () => ({
8891
8899
  socket: socketRef.current,