@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.mjs CHANGED
@@ -8909,11 +8909,19 @@ function ChatProvider({ children, autoConnect = true }) {
8909
8909
  }
8910
8910
  }
8911
8911
  refreshMessages();
8912
+ refreshConversations().catch(() => {
8913
+ });
8914
+ refreshFriends().catch(() => {
8915
+ });
8916
+ refreshPendingRequests().catch(() => {
8917
+ });
8918
+ refreshSentFriendRequests().catch(() => {
8919
+ });
8912
8920
  }
8913
8921
  };
8914
8922
  const sub = AppState.addEventListener("change", handleAppState);
8915
8923
  return () => sub.remove();
8916
- }, [client, refreshMessages, refreshConversations]);
8924
+ }, [client, refreshMessages, refreshConversations, refreshFriends, refreshPendingRequests, refreshSentFriendRequests]);
8917
8925
  const value = useMemo11(
8918
8926
  () => ({
8919
8927
  socket: socketRef.current,