stream-chat-react-native-core 6.6.4 → 6.6.5
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/lib/commonjs/components/Attachment/Attachment.js +6 -2
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/Card.js +3 -1
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js +3 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +3 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +6 -2
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +24 -8
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +21 -7
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js +3 -1
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +6 -2
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +3 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +12 -4
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +6 -2
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +6 -2
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +15 -5
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +15 -5
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useMessageListPagination.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +17 -11
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js +6 -2
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js +9 -3
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useSelectedChannelState.js +6 -2
- package/lib/commonjs/components/ChannelList/hooks/useSelectedChannelState.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/utils/index.js +27 -9
- package/lib/commonjs/components/ChannelList/hooks/utils/index.js.map +1 -1
- package/lib/commonjs/components/ChannelList/utils.js +3 -1
- package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +3 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +15 -5
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +12 -8
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +15 -7
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js +3 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatClient.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js +6 -2
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +6 -5
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +5 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +12 -4
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +81 -31
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +6 -2
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js +3 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +36 -12
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +9 -3
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +30 -10
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +21 -7
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +39 -13
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +9 -3
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +21 -7
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTimestamp.js +3 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTimestamp.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +9 -3
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +2 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +10 -4
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useProcessReactions.js +10 -6
- package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/AttachButton.js +6 -2
- package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js +3 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +36 -35
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +78 -26
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js +9 -3
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +12 -4
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +15 -5
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +9 -3
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +3 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useAudioController.js +5 -1
- package/lib/commonjs/components/MessageInput/hooks/useAudioController.js.map +1 -1
- package/lib/commonjs/components/MessageInput/utils/audioSampling.js +9 -3
- package/lib/commonjs/components/MessageInput/utils/audioSampling.js.map +1 -1
- package/lib/commonjs/components/MessageInput/utils/normalizeAudioLevel.js +3 -1
- package/lib/commonjs/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +3 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +3 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js +3 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +33 -13
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +3 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +3 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/StickyHeader.js +6 -2
- package/lib/commonjs/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js +6 -2
- package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js +3 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js +3 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionList.js +3 -1
- package/lib/commonjs/components/MessageMenu/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
- package/lib/commonjs/components/Poll/Poll.js +11 -5
- package/lib/commonjs/components/Poll/Poll.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollResults/PollVote.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollAnswersPagination.js +9 -3
- package/lib/commonjs/components/Poll/hooks/usePollAnswersPagination.js.map +1 -1
- package/lib/commonjs/components/Poll/hooks/usePollOptionVotesPagination.js +9 -3
- package/lib/commonjs/components/Poll/hooks/usePollOptionVotesPagination.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/ProgressControl.js +15 -5
- package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/WaveProgressBar.js +23 -7
- package/lib/commonjs/components/ProgressControl/WaveProgressBar.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +19 -5
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js +9 -6
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +12 -4
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadList.js +6 -2
- package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListItem.js +9 -3
- package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +4 -2
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +1 -1
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/contexts/pollContext/createPollContentContext.js +1 -1
- package/lib/commonjs/contexts/pollContext/createPollContentContext.js.map +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.js +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.js +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/commonjs/emoji-data/compile.js +3 -1
- package/lib/commonjs/emoji-data/compile.js.map +1 -1
- package/lib/commonjs/hooks/useAudioPlayer.js +9 -3
- package/lib/commonjs/hooks/useAudioPlayer.js.map +1 -1
- package/lib/commonjs/hooks/useStateStore.js +6 -2
- package/lib/commonjs/hooks/useStateStore.js.map +1 -1
- package/lib/commonjs/hooks/useStreami18n.js +3 -1
- package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
- package/lib/commonjs/hooks/useTranslatedMessage.js +3 -1
- package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/commonjs/icons/Pause.js +1 -1
- package/lib/commonjs/icons/Pause.js.map +1 -1
- package/lib/commonjs/icons/Play.js +1 -1
- package/lib/commonjs/icons/Play.js.map +1 -1
- package/lib/commonjs/icons/Recorder.js +1 -1
- package/lib/commonjs/icons/Recorder.js.map +1 -1
- package/lib/commonjs/store/SqliteClient.js +12 -12
- package/lib/commonjs/store/SqliteClient.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/getReactionsforFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelToStorable.js +3 -1
- package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapDateTimeToStorable.js +3 -1
- package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js +6 -2
- package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js +6 -2
- package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js.map +1 -1
- package/lib/commonjs/test-utils/BetterSqlite.js +1 -1
- package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
- package/lib/commonjs/utils/ACITriggerSettings.js +15 -5
- package/lib/commonjs/utils/ACITriggerSettings.js.map +1 -1
- package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
- package/lib/commonjs/utils/addReactionToLocalState.js +3 -1
- package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
- package/lib/commonjs/utils/getResizedImageUrl.js +3 -1
- package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
- package/lib/commonjs/utils/getTrimmedAttachmentTitle.js +3 -1
- package/lib/commonjs/utils/getTrimmedAttachmentTitle.js.map +1 -1
- package/lib/commonjs/utils/i18n/Streami18n.js +33 -13
- package/lib/commonjs/utils/i18n/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/i18n/getDateString.js +3 -1
- package/lib/commonjs/utils/i18n/getDateString.js.map +1 -1
- package/lib/commonjs/utils/queryMembers.js.map +1 -1
- package/lib/commonjs/utils/queryUsers.js.map +1 -1
- package/lib/commonjs/utils/removeReactionFromLocalState.js +3 -1
- package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/commonjs/utils/utils.js +11 -5
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +6 -2
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/Card.js +3 -1
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +3 -1
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js +3 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +6 -2
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +24 -8
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +21 -7
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/utils/getAspectRatio.js +3 -1
- package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +6 -2
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +3 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +12 -4
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +6 -2
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +6 -2
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +15 -5
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +15 -5
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useMessageListPagination.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListMessenger.js +17 -11
- package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js +6 -2
- package/lib/module/components/ChannelList/hooks/listeners/useChannelMemberUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js +9 -3
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useSelectedChannelState.js +6 -2
- package/lib/module/components/ChannelList/hooks/useSelectedChannelState.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/utils/index.js +27 -9
- package/lib/module/components/ChannelList/hooks/utils/index.js.map +1 -1
- package/lib/module/components/ChannelList/utils.js +3 -1
- package/lib/module/components/ChannelList/utils.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +3 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +15 -5
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +12 -8
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +15 -7
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatClient.js +3 -1
- package/lib/module/components/Chat/hooks/useCreateChatClient.js.map +1 -1
- package/lib/module/components/Chat/hooks/useIsOnline.js +6 -2
- package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +6 -5
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +5 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +12 -4
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useAnimatedGalleryStyle.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
- package/lib/module/components/Message/Message.js +81 -31
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js +6 -2
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageBounce.js +3 -1
- package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +36 -12
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js +9 -3
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageFooter.js +30 -10
- package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageReplies.js +21 -7
- package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +39 -13
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js +9 -3
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +21 -7
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTimestamp.js +3 -1
- package/lib/module/components/Message/MessageSimple/MessageTimestamp.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +9 -3
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +2 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js +10 -4
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/Message/hooks/useProcessReactions.js +10 -6
- package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/module/components/MessageInput/AttachButton.js +6 -2
- package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/CommandsButton.js +3 -1
- package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js +36 -35
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +78 -26
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js +9 -3
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +12 -4
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +15 -5
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +9 -3
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +3 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useAudioController.js +5 -1
- package/lib/module/components/MessageInput/hooks/useAudioController.js.map +1 -1
- package/lib/module/components/MessageInput/utils/audioSampling.js +9 -3
- package/lib/module/components/MessageInput/utils/audioSampling.js.map +1 -1
- package/lib/module/components/MessageInput/utils/normalizeAudioLevel.js +3 -1
- package/lib/module/components/MessageInput/utils/normalizeAudioLevel.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +3 -1
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +3 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js +3 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +33 -13
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js +3 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +3 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/StickyHeader.js +6 -2
- package/lib/module/components/MessageList/StickyHeader.js.map +1 -1
- package/lib/module/components/MessageList/utils/filterTypingUsers.js +6 -2
- package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js +3 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js +3 -1
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageActionList.js +3 -1
- package/lib/module/components/MessageMenu/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageMenu.js.map +1 -1
- package/lib/module/components/MessageMenu/hooks/useFetchReactions.js.map +1 -1
- package/lib/module/components/Poll/Poll.js +11 -5
- package/lib/module/components/Poll/Poll.js.map +1 -1
- package/lib/module/components/Poll/components/PollResults/PollVote.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollAnswersPagination.js +9 -3
- package/lib/module/components/Poll/hooks/usePollAnswersPagination.js.map +1 -1
- package/lib/module/components/Poll/hooks/usePollOptionVotesPagination.js +9 -3
- package/lib/module/components/Poll/hooks/usePollOptionVotesPagination.js.map +1 -1
- package/lib/module/components/ProgressControl/ProgressControl.js +15 -5
- package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/module/components/ProgressControl/WaveProgressBar.js +23 -7
- package/lib/module/components/ProgressControl/WaveProgressBar.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +19 -5
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Thread/Thread.js +9 -6
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +12 -4
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadList.js +6 -2
- package/lib/module/components/ThreadList/ThreadList.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListItem.js +9 -3
- package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +4 -2
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +1 -1
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/module/contexts/pollContext/createPollContentContext.js +1 -1
- package/lib/module/contexts/pollContext/createPollContentContext.js.map +1 -1
- package/lib/module/contexts/pollContext/pollContext.js +1 -1
- package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/threadsContext/ThreadsContext.js +1 -1
- package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.js +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/module/contexts/typingContext/TypingContext.js +1 -1
- package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/module/emoji-data/compile.js +3 -1
- package/lib/module/emoji-data/compile.js.map +1 -1
- package/lib/module/hooks/useAudioPlayer.js +9 -3
- package/lib/module/hooks/useAudioPlayer.js.map +1 -1
- package/lib/module/hooks/useStateStore.js +6 -2
- package/lib/module/hooks/useStateStore.js.map +1 -1
- package/lib/module/hooks/useStreami18n.js +3 -1
- package/lib/module/hooks/useStreami18n.js.map +1 -1
- package/lib/module/hooks/useTranslatedMessage.js +3 -1
- package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/module/icons/Pause.js +1 -1
- package/lib/module/icons/Pause.js.map +1 -1
- package/lib/module/icons/Play.js +1 -1
- package/lib/module/icons/Play.js.map +1 -1
- package/lib/module/icons/Recorder.js +1 -1
- package/lib/module/icons/Recorder.js.map +1 -1
- package/lib/module/store/SqliteClient.js +12 -12
- package/lib/module/store/SqliteClient.js.map +1 -1
- package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/getReactionsforFilterSort.js.map +1 -1
- package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -1
- package/lib/module/store/mappers/mapChannelToStorable.js +3 -1
- package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapDateTimeToStorable.js +3 -1
- package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/module/store/sqlite-utils/appendOrderByClause.js +6 -2
- package/lib/module/store/sqlite-utils/appendOrderByClause.js.map +1 -1
- package/lib/module/store/sqlite-utils/appendWhereCluase.js +6 -2
- package/lib/module/store/sqlite-utils/appendWhereCluase.js.map +1 -1
- package/lib/module/test-utils/BetterSqlite.js +1 -1
- package/lib/module/test-utils/BetterSqlite.js.map +1 -1
- package/lib/module/utils/ACITriggerSettings.js +15 -5
- package/lib/module/utils/ACITriggerSettings.js.map +1 -1
- package/lib/module/utils/DBSyncManager.js.map +1 -1
- package/lib/module/utils/addReactionToLocalState.js +3 -1
- package/lib/module/utils/addReactionToLocalState.js.map +1 -1
- package/lib/module/utils/getResizedImageUrl.js +3 -1
- package/lib/module/utils/getResizedImageUrl.js.map +1 -1
- package/lib/module/utils/getTrimmedAttachmentTitle.js +3 -1
- package/lib/module/utils/getTrimmedAttachmentTitle.js.map +1 -1
- package/lib/module/utils/i18n/Streami18n.js +33 -13
- package/lib/module/utils/i18n/Streami18n.js.map +1 -1
- package/lib/module/utils/i18n/getDateString.js +3 -1
- package/lib/module/utils/i18n/getDateString.js.map +1 -1
- package/lib/module/utils/queryMembers.js.map +1 -1
- package/lib/module/utils/queryUsers.js.map +1 -1
- package/lib/module/utils/removeReactionFromLocalState.js +3 -1
- package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/module/utils/utils.js +11 -5
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Card.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
- package/lib/typescript/components/Avatar/GroupAvatar.d.ts.map +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useMessageListPagination.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelMemberUpdated.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/utils/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useCreateChatClient.d.ts.map +1 -1
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +1 -0
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageTimestamp.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +4 -0
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/hooks/useAudioController.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/utils/audioSampling.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/utils/normalizeAudioLevel.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/StickyHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageActionList.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/hooks/useFetchReactions.d.ts.map +1 -1
- package/lib/typescript/components/Poll/Poll.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollAnswersPagination.d.ts.map +1 -1
- package/lib/typescript/components/Poll/hooks/usePollOptionVotesPagination.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -1
- package/lib/typescript/components/ProgressControl/WaveProgressBar.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
- package/lib/typescript/hooks/useAudioPlayer.d.ts +1 -1
- package/lib/typescript/hooks/useAudioPlayer.d.ts.map +1 -1
- package/lib/typescript/hooks/useStreami18n.d.ts.map +1 -1
- package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
- package/lib/typescript/store/SqliteClient.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/getReactionsforFilterSort.d.ts.map +1 -1
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts.map +1 -1
- package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts.map +1 -1
- package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts.map +1 -1
- package/lib/typescript/utils/ACITriggerSettings.d.ts.map +1 -1
- package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -1
- package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -1
- package/lib/typescript/utils/getResizedImageUrl.d.ts.map +1 -1
- package/lib/typescript/utils/getTrimmedAttachmentTitle.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/getDateString.d.ts.map +1 -1
- package/lib/typescript/utils/queryMembers.d.ts.map +1 -1
- package/lib/typescript/utils/queryUsers.d.ts.map +1 -1
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -1
- package/lib/typescript/utils/utils.d.ts.map +1 -1
- package/package.json +21 -23
- package/src/__tests__/offline-support/offline-feature.js +6 -4
- package/src/__tests__/offline-support/optimistic-update.js +6 -6
- package/src/components/Attachment/Attachment.tsx +6 -2
- package/src/components/Attachment/Card.tsx +3 -1
- package/src/components/Attachment/FileAttachment.tsx +3 -1
- package/src/components/Attachment/FileAttachmentGroup.tsx +3 -1
- package/src/components/Attachment/FileIcon.tsx +6 -2
- package/src/components/Attachment/Gallery.tsx +24 -8
- package/src/components/Attachment/Giphy.tsx +21 -7
- package/src/components/Attachment/__tests__/buildGallery.test.js +4 -4
- package/src/components/Attachment/__tests__/openUrlSafely.test.ts +2 -2
- package/src/components/Attachment/utils/getAspectRatio.ts +3 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +6 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +3 -1
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +17 -7
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +6 -2
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +6 -2
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +15 -5
- package/src/components/Avatar/GroupAvatar.tsx +39 -36
- package/src/components/Channel/Channel.tsx +30 -11
- package/src/components/Channel/__tests__/Channel.test.js +6 -6
- package/src/components/Channel/__tests__/isAttachmentEqualHandler.test.js +3 -1
- package/src/components/Channel/__tests__/ownCapabilities.test.js +1 -1
- package/src/components/Channel/__tests__/useMessageListPagination.test.js +1 -1
- package/src/components/Channel/hooks/useCreateThreadContext.ts +1 -1
- package/src/components/Channel/hooks/useMessageListPagination.tsx +6 -2
- package/src/components/ChannelList/ChannelListMessenger.tsx +8 -3
- package/src/components/ChannelList/__tests__/ChannelListMessenger.test.js +25 -21
- package/src/components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts +7 -3
- package/src/components/ChannelList/hooks/listeners/useChannelDeleted.ts +4 -2
- package/src/components/ChannelList/hooks/listeners/useChannelHidden.ts +4 -2
- package/src/components/ChannelList/hooks/listeners/useChannelMemberUpdated.ts +7 -3
- package/src/components/ChannelList/hooks/listeners/useChannelTruncated.ts +1 -1
- package/src/components/ChannelList/hooks/listeners/useChannelUpdated.ts +4 -2
- package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts +4 -2
- package/src/components/ChannelList/hooks/listeners/useNewMessage.ts +10 -4
- package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts +4 -2
- package/src/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts +4 -2
- package/src/components/ChannelList/hooks/listeners/useUserPresence.ts +4 -2
- package/src/components/ChannelList/hooks/usePaginatedChannels.ts +11 -5
- package/src/components/ChannelList/hooks/useSelectedChannelState.ts +6 -2
- package/src/components/ChannelList/hooks/utils/index.ts +27 -9
- package/src/components/ChannelList/utils.ts +3 -1
- package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +3 -1
- package/src/components/ChannelPreview/__tests__/ChannelPreviewMessenger.test.js +1 -1
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewMuted.test.tsx +1 -1
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +15 -5
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -2
- package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +6 -2
- package/src/components/Chat/Chat.tsx +11 -4
- package/src/components/Chat/__tests__/Chat.test.js +8 -8
- package/src/components/Chat/hooks/handleEventToSyncDB.ts +3 -1
- package/src/components/Chat/hooks/useAppSettings.ts +9 -3
- package/src/components/Chat/hooks/useCreateChatClient.ts +3 -1
- package/src/components/Chat/hooks/useIsOnline.ts +6 -2
- package/src/components/ImageGallery/ImageGallery.tsx +17 -12
- package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +5 -2
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +12 -4
- package/src/components/ImageGallery/hooks/useAnimatedGalleryStyle.tsx +4 -4
- package/src/components/ImageGallery/hooks/useImageGalleryGestures.tsx +43 -40
- package/src/components/Indicators/LoadingDots.tsx +2 -2
- package/src/components/Message/Message.tsx +75 -27
- package/src/components/Message/MessageSimple/MessageAvatar.tsx +6 -2
- package/src/components/Message/MessageSimple/MessageBounce.tsx +3 -1
- package/src/components/Message/MessageSimple/MessageContent.tsx +35 -12
- package/src/components/Message/MessageSimple/MessageDeleted.tsx +9 -3
- package/src/components/Message/MessageSimple/MessageFooter.tsx +30 -10
- package/src/components/Message/MessageSimple/MessageReplies.tsx +21 -7
- package/src/components/Message/MessageSimple/MessageSimple.tsx +39 -13
- package/src/components/Message/MessageSimple/MessageStatus.tsx +9 -3
- package/src/components/Message/MessageSimple/MessageTextContainer.tsx +22 -8
- package/src/components/Message/MessageSimple/MessageTimestamp.tsx +3 -1
- package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +1 -1
- package/src/components/Message/MessageSimple/utils/generateMarkdownText.ts +9 -3
- package/src/components/Message/MessageSimple/utils/renderText.tsx +1 -1
- package/src/components/Message/hooks/useMessageActionHandlers.ts +13 -5
- package/src/components/Message/hooks/useProcessReactions.ts +5 -2
- package/src/components/MessageInput/AttachButton.tsx +6 -2
- package/src/components/MessageInput/CommandsButton.tsx +3 -1
- package/src/components/MessageInput/ImageUploadPreview.tsx +27 -27
- package/src/components/MessageInput/MessageInput.tsx +81 -27
- package/src/components/MessageInput/SendButton.tsx +9 -3
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +12 -4
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewExpo.test.tsx +0 -1
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewNative.test.tsx +0 -1
- package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +0 -1
- package/src/components/MessageInput/__tests__/MessageInput.test.js +1 -1
- package/src/components/MessageInput/__tests__/UploadProgressIndicator.test.js +5 -20
- package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +15 -5
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +9 -3
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +3 -1
- package/src/components/MessageInput/hooks/useAudioController.tsx +30 -12
- package/src/components/MessageInput/utils/audioSampling.ts +11 -5
- package/src/components/MessageInput/utils/normalizeAudioLevel.ts +3 -1
- package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +3 -1
- package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +3 -1
- package/src/components/MessageList/InlineLoadingMoreRecentThreadIndicator.tsx +3 -1
- package/src/components/MessageList/MessageList.tsx +33 -12
- package/src/components/MessageList/NetworkDownIndicator.tsx +3 -1
- package/src/components/MessageList/ScrollToBottomButton.tsx +3 -1
- package/src/components/MessageList/StickyHeader.tsx +6 -2
- package/src/components/MessageList/utils/filterTypingUsers.ts +6 -2
- package/src/components/MessageList/utils/getGroupStyles.ts +3 -1
- package/src/components/MessageList/utils/getReadStates.ts +3 -1
- package/src/components/MessageMenu/MessageActionList.tsx +3 -1
- package/src/components/MessageMenu/MessageMenu.tsx +2 -2
- package/src/components/MessageMenu/__tests__/MessageUserReactionsAvatar.test.tsx +2 -2
- package/src/components/MessageMenu/hooks/useFetchReactions.ts +6 -2
- package/src/components/Poll/Poll.tsx +14 -6
- package/src/components/Poll/components/PollResults/PollVote.tsx +1 -1
- package/src/components/Poll/hooks/usePollAnswersPagination.ts +12 -4
- package/src/components/Poll/hooks/usePollOptionVotesPagination.ts +12 -4
- package/src/components/ProgressControl/ProgressControl.tsx +15 -5
- package/src/components/ProgressControl/WaveProgressBar.tsx +23 -8
- package/src/components/Reply/Reply.tsx +41 -29
- package/src/components/Thread/Thread.tsx +10 -5
- package/src/components/Thread/components/ThreadFooterComponent.tsx +12 -4
- package/src/components/ThreadList/ThreadList.tsx +7 -3
- package/src/components/ThreadList/ThreadListItem.tsx +7 -4
- package/src/components/ThreadList/ThreadListUnreadBanner.tsx +1 -1
- package/src/contexts/__tests__/index.test.tsx +12 -12
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +1 -1
- package/src/contexts/channelContext/ChannelContext.tsx +1 -1
- package/src/contexts/channelsContext/ChannelsContext.tsx +1 -1
- package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +1 -1
- package/src/contexts/chatContext/ChatContext.tsx +1 -1
- package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +1 -1
- package/src/contexts/messageInputContext/MessageInputContext.tsx +4 -2
- package/src/contexts/messagesContext/MessagesContext.tsx +1 -1
- package/src/contexts/overlayContext/OverlayContext.tsx +1 -1
- package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +1 -1
- package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +1 -1
- package/src/contexts/pollContext/createPollContentContext.tsx +1 -1
- package/src/contexts/pollContext/pollContext.tsx +1 -1
- package/src/contexts/suggestionsContext/SuggestionsContext.tsx +1 -1
- package/src/contexts/suggestionsContext/__tests__/Suggestions.test.js +1 -1
- package/src/contexts/themeContext/ThemeContext.tsx +1 -1
- package/src/contexts/threadContext/ThreadContext.tsx +1 -1
- package/src/contexts/threadsContext/ThreadsContext.tsx +1 -1
- package/src/contexts/translationContext/TranslationContext.tsx +1 -1
- package/src/contexts/typingContext/TypingContext.tsx +1 -1
- package/src/emoji-data/compile.js +3 -2
- package/src/hooks/useAudioPlayer.ts +23 -7
- package/src/hooks/useStateStore.ts +6 -2
- package/src/hooks/useStreami18n.ts +3 -1
- package/src/hooks/useTranslatedMessage.ts +3 -1
- package/src/icons/Pause.tsx +1 -1
- package/src/icons/Play.tsx +1 -1
- package/src/icons/Recorder.tsx +1 -1
- package/src/store/SqliteClient.ts +15 -13
- package/src/store/apis/getChannelsForFilterSort.ts +3 -1
- package/src/store/apis/getReactionsforFilterSort.ts +3 -1
- package/src/store/apis/upsertChannelDataFromChannel.ts +3 -1
- package/src/store/mappers/mapChannelToStorable.ts +3 -1
- package/src/store/mappers/mapDateTimeToStorable.ts +3 -1
- package/src/store/sqlite-utils/appendOrderByClause.ts +6 -2
- package/src/store/sqlite-utils/appendWhereCluase.ts +6 -2
- package/src/test-utils/BetterSqlite.js +1 -1
- package/src/utils/ACITriggerSettings.ts +18 -6
- package/src/utils/DBSyncManager.ts +15 -5
- package/src/utils/__tests__/Streami18n.test.js +9 -3
- package/src/utils/addReactionToLocalState.ts +3 -1
- package/src/utils/getResizedImageUrl.ts +3 -1
- package/src/utils/getTrimmedAttachmentTitle.ts +3 -1
- package/src/utils/i18n/Streami18n.ts +37 -15
- package/src/utils/i18n/getDateString.ts +3 -1
- package/src/utils/queryMembers.ts +3 -1
- package/src/utils/queryUsers.ts +3 -1
- package/src/utils/removeReactionFromLocalState.ts +3 -1
- package/src/utils/utils.ts +9 -3
- package/src/version.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ACITriggerSettings.d.ts","sourceRoot":"","sources":["../../../src/utils/ACITriggerSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAMxE,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACf,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OA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AQ9D;IAEF,MAAM,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"DBSyncManager.d.ts","sourceRoot":"","sources":["../../../src/utils/DBSyncManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,UAAU,EAAE,MAAM,aAAa,CAAC;AAUhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAuBhE,qBAAa,aAAa;IACxB,MAAM,CAAC,UAAU,UAAS;IAC1B,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC,CAAM;IACxD,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAQ;IACxC,MAAM,CAAC,yBAAyB,EAAE;QAAE,WAAW,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,IAAI,CAAQ;IAE5E;;;OAGG;IACH,MAAM,CAAC,aAAa,gBAAyB;IAE7C;;;;;OAKG;IACH,MAAM,CAAC,IAAI,WAAkB,UAAU,mBAkCrC;IAEF;;;;;OAKG;IACH,MAAM,CAAC,kBAAkB,sBAAuB,OAAO,KAAK,IAAI;;MAQ9D;IAEF,MAAM,CAAC,IAAI,8IAkDT;IAEF,MAAM,CAAC,0BAA0B,sBAO/B;IAEF,MAAM,CAAC,SAAS;;cAOR,WAAW;;;oBAmBjB;IAEF,MAAM,CAAC,WAAW;;cAOV,WAAW;;;OAiBjB;IAEF,MAAM,CAAC,mBAAmB,8IA8BxB;IAEF,MAAM,CAAC,gBAAgB,eAAsB;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,mBAYhE;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addReactionToLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/addReactionToLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAoB,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,uBAAuB;;2BAUX,OAAO;eACnB,MAAM;kBACH,MAAM;;
|
|
1
|
+
{"version":3,"file":"addReactionToLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/addReactionToLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAoB,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,uBAAuB;;2BAUX,OAAO;eACnB,MAAM;kBACH,MAAM;;UA0FrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getResizedImageUrl.d.ts","sourceRoot":"","sources":["../../../src/utils/getResizedImageUrl.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,sBAAsB,EACvB,MAAM,iDAAiD,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,sBAAsB,EAAE,mBAAmB,CAAC,GAAG;IACzF,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,iBAAmE,EACnE,MAAe,EACf,GAAG,EACH,KAAK,GACN,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"getResizedImageUrl.d.ts","sourceRoot":"","sources":["../../../src/utils/getResizedImageUrl.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,sBAAsB,EACvB,MAAM,iDAAiD,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,sBAAsB,EAAE,mBAAmB,CAAC,GAAG;IACzF,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,iBAAmE,EACnE,MAAe,EACf,GAAG,EACH,KAAK,GACN,EAAE,wBAAwB,UAoC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTrimmedAttachmentTitle.d.ts","sourceRoot":"","sources":["../../../src/utils/getTrimmedAttachmentTitle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,WAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"getTrimmedAttachmentTitle.d.ts","sourceRoot":"","sources":["../../../src/utils/getTrimmedAttachmentTitle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,WAAY,MAAM,WAavD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAahD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAi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,QAAQ,EAAE,MAAM;IAsBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDateString.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/getDateString.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAEL,mBAAmB,EACpB,MAAM,sDAAsD,CAAC;AAE9D,KAAK,oBAAoB,GAAG,yBAAyB,GACnD,OAAO,CAAC,mBAAmB,CAAC,GAAG;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIrB,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEJ,eAAO,MAAM,wBAAwB,oFAC8C,CAAC;AAEpF;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,MAAM,EACN,CAAC,EACD,eAAe,EACf,uBAAuB,GACxB,EAAE,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"getDateString.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/getDateString.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAEL,mBAAmB,EACpB,MAAM,sDAAsD,CAAC;AAE9D,KAAK,oBAAoB,GAAG,yBAAyB,GACnD,OAAO,CAAC,mBAAmB,CAAC,GAAG;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIrB,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEJ,eAAO,MAAM,wBAAwB,oFAC8C,CAAC;AAEpF;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,MAAM,EACN,CAAC,EACD,eAAe,EACf,uBAAuB,GACxB,EAAE,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CA4CpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryMembers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryMembers.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAA4B,UAAU,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAIvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAoBhE,eAAO,MAAM,qBAAqB,oIAqBjC,CAAC;AASF,MAAM,MAAM,oBAAoB,CAC9B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CACF,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC,EACtC,OAAO,EAAE,OAAO,CAAC,kBAAkB,CAAC,EACpC,KAAK,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,EACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,kBAAkB,CAAC,EAAE,KAAK,IAAI,EAC/D,OAAO,CAAC,EAAE;IACR,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"queryMembers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryMembers.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAA4B,UAAU,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAIvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC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AAkB,CAAC,EAAE,KAAK,IAAI,EAC/D,OAAO,CAAC,EAAE;IACR,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;CACvE,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"queryUsers.d.ts","sourceRoot":"","sources":["../../../src/utils/queryUsers.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,MAAM,MAAM,kBAAkB,CAC5B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CACF,MAAM,EAAE,UAAU,CAAC,kBAAkB,CAAC,EACtC,KAAK,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,EACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,kBAAkB,CAAC,EAAE,KAAK,IAAI,EAC/D,OAAO,CAAC,EAAE;IACR,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;CACvE,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;AA2CnB,eAAO,MAAM,mBAAmB,4QApC6B,IAAI;;;MAK9D,QAAQ,IAAI,CAAC,EAkCd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeReactionFromLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/removeReactionFromLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,4BAA4B;;eAS5B,MAAM;kBACH,MAAM;;
|
|
1
|
+
{"version":3,"file":"removeReactionFromLocalState.d.ts","sourceRoot":"","sources":["../../../src/utils/removeReactionFromLocalState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,4BAA4B;;eAS5B,MAAM;kBACH,MAAM;;UA4CrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExF,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAE5F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzE,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;EASpB,CAAC;AAEH,eAAO,MAAM,sBAAsB,EAAE;IACnC,WAAW,EAAE,aAAa,CAAC;IAC3B,QAAQ,EAAE,UAAU,CAAC;IACrB,aAAa,EAAE,eAAe,CAAC;IAC/B,K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AKG;AACH,eAAO,MAAM,kBAAkB,sJAInB,MAAM,WAIjB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,gMAInB,IAAI;;;;;;CAgCjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"build-translations": "i18next",
|
|
27
27
|
"copy-translations": "echo '\u001b[34mℹ\u001b[0m Copying translation files to \u001b[34mlib/typescript/i18n\u001b[0m' && cp -R -f ./src/i18n ./lib/typescript/i18n && echo '\u001b[32m✓\u001b[0m Done Copying Translations'",
|
|
28
28
|
"eslint": "eslint 'src/**/*.{js,md,ts,jsx,tsx}' --max-warnings 0",
|
|
29
|
-
"lint": "prettier --ignore-path ../.prettierignore --list-different 'src/**/*.{js,ts,tsx,md,json}' .
|
|
30
|
-
"lint-fix": "prettier --ignore-path ../.prettierignore --write 'src/**/*.{js,ts,tsx,md,json}' .
|
|
29
|
+
"lint": "prettier --ignore-path ../.prettierignore --list-different 'src/**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js && eslint 'src/**/*.{js,ts,tsx,md}' --max-warnings 0 && yarn run validate-translations",
|
|
30
|
+
"lint-fix": "prettier --ignore-path ../.prettierignore --write 'src/**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0",
|
|
31
31
|
"prepare": "yarn run build",
|
|
32
32
|
"prepare-distribution": "cd examples/SampleApp && npm version patch && react-native-version && git add ./ && git commit -m 'Bump build version' --no-verify",
|
|
33
|
-
"prettier": "prettier --list-different '**/*.{js,ts,tsx,md,json}' .
|
|
34
|
-
"prettier-fix": "prettier --write '**/*.{js,ts,tsx,md,json}' .
|
|
33
|
+
"prettier": "prettier --list-different '**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js",
|
|
34
|
+
"prettier-fix": "prettier --write '**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js",
|
|
35
35
|
"test:coverage": "yarn test:unit --coverage",
|
|
36
36
|
"test:unit": "TZ=UTC jest",
|
|
37
37
|
"validate-translations": "node bin/validate-translations.js",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"@babel/preset-typescript": "7.13.0",
|
|
106
106
|
"@babel/runtime": "^7.20.0",
|
|
107
107
|
"@op-engineering/op-sqlite": "^9.3.0",
|
|
108
|
-
"@react-native-community/eslint-config": "2.0
|
|
109
|
-
"@react-native-community/eslint-plugin": "1.
|
|
108
|
+
"@react-native-community/eslint-config": "3.2.0",
|
|
109
|
+
"@react-native-community/eslint-plugin": "1.3.0",
|
|
110
110
|
"@react-native-community/netinfo": "^11.3.2",
|
|
111
111
|
"@react-native/babel-preset": "0.73.21",
|
|
112
112
|
"@testing-library/jest-native": "^5.4.3",
|
|
@@ -121,28 +121,25 @@
|
|
|
121
121
|
"@types/react-test-renderer": "18.0.7",
|
|
122
122
|
"@types/use-sync-external-store": "^0.0.6",
|
|
123
123
|
"@types/uuid": "^8.3.4",
|
|
124
|
-
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
125
|
-
"@typescript-eslint/parser": "^6.21.0",
|
|
126
124
|
"babel-eslint": "10.1.0",
|
|
127
125
|
"babel-jest": "29.6.3",
|
|
128
126
|
"babel-loader": "8.2.2",
|
|
129
127
|
"babel-plugin-module-resolver": "4.1.0",
|
|
130
|
-
"better-sqlite3": "
|
|
131
|
-
"eslint": "
|
|
132
|
-
"eslint-config-prettier": "
|
|
133
|
-
"eslint-import
|
|
134
|
-
"eslint-plugin-
|
|
135
|
-
"eslint-plugin-
|
|
136
|
-
"eslint-plugin-
|
|
137
|
-
"eslint-plugin-
|
|
138
|
-
"eslint-plugin-
|
|
139
|
-
"eslint-plugin-react": "
|
|
140
|
-
"eslint-plugin-
|
|
141
|
-
"eslint-plugin-typescript-sort-keys": "3.2.0",
|
|
128
|
+
"better-sqlite3": "11.8.1",
|
|
129
|
+
"eslint": "^9.20.1",
|
|
130
|
+
"eslint-config-prettier": "10.0.1",
|
|
131
|
+
"eslint-plugin-import": "^2.31.0",
|
|
132
|
+
"eslint-plugin-jest": "^28.11.0",
|
|
133
|
+
"eslint-plugin-markdown": "5.1.0",
|
|
134
|
+
"eslint-plugin-prettier": "5.2.3",
|
|
135
|
+
"eslint-plugin-react": "^7.37.4",
|
|
136
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
137
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
138
|
+
"eslint-plugin-react-native": "^5.0.0",
|
|
142
139
|
"i18next-parser": "^9.0.0",
|
|
143
|
-
"jest": "29.
|
|
140
|
+
"jest": "^29.7.0",
|
|
144
141
|
"moment-timezone": "^0.5.45",
|
|
145
|
-
"prettier": "
|
|
142
|
+
"prettier": "^3.5.2",
|
|
146
143
|
"react": "18.2.0",
|
|
147
144
|
"react-native": "0.73.6",
|
|
148
145
|
"react-native-builder-bob": "0.23.1",
|
|
@@ -151,6 +148,7 @@
|
|
|
151
148
|
"react-native-svg": "15.1.0",
|
|
152
149
|
"react-test-renderer": "18.2.0",
|
|
153
150
|
"typescript": "5.0.4",
|
|
151
|
+
"typescript-eslint": "^8.24.1",
|
|
154
152
|
"uuid": "^8.3.2"
|
|
155
153
|
},
|
|
156
154
|
"resolutions": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable no-underscore-dangle */
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Text, View } from 'react-native';
|
|
5
5
|
|
|
@@ -53,7 +53,9 @@ const ChannelPreviewComponent = ({ channel, setActiveChannel }) => (
|
|
|
53
53
|
|
|
54
54
|
const ChannelListComponent = (props) => {
|
|
55
55
|
const { channels, onSelect } = useChannelsContext();
|
|
56
|
-
if (!channels)
|
|
56
|
+
if (!channels) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
57
59
|
|
|
58
60
|
return (
|
|
59
61
|
<View testID='channel-list'>
|
|
@@ -92,7 +94,7 @@ export const Generic = () => {
|
|
|
92
94
|
it('should NOT create tables on first load if offline feature is disabled', async () => {
|
|
93
95
|
render(
|
|
94
96
|
<Chat client={chatClient}>
|
|
95
|
-
<View testID='test-child'
|
|
97
|
+
<View testID='test-child' />
|
|
96
98
|
</Chat>,
|
|
97
99
|
);
|
|
98
100
|
await waitFor(() => expect(screen.getByTestId('test-child')).toBeTruthy());
|
|
@@ -294,7 +296,7 @@ export const Generic = () => {
|
|
|
294
296
|
it('should create tables on first load if offline feature is enabled', async () => {
|
|
295
297
|
render(
|
|
296
298
|
<Chat client={chatClient} enableOfflineSupport>
|
|
297
|
-
<View testID='test-child'
|
|
299
|
+
<View testID='test-child' />
|
|
298
300
|
</Chat>,
|
|
299
301
|
);
|
|
300
302
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* eslint-disable jest/no-export */
|
|
2
|
-
/* eslint-disable no-underscore-dangle */
|
|
3
1
|
import React, { useContext, useEffect, useState } from 'react';
|
|
4
2
|
import { View } from 'react-native';
|
|
5
3
|
|
|
@@ -137,9 +135,11 @@ export const OptimisticUpdates = () => {
|
|
|
137
135
|
};
|
|
138
136
|
|
|
139
137
|
call();
|
|
140
|
-
}, []);
|
|
138
|
+
}, [callback, ctx]);
|
|
141
139
|
|
|
142
|
-
if (!ready)
|
|
140
|
+
if (!ready) {
|
|
141
|
+
return null;
|
|
142
|
+
}
|
|
143
143
|
|
|
144
144
|
return children;
|
|
145
145
|
};
|
|
@@ -364,8 +364,8 @@ export const OptimisticUpdates = () => {
|
|
|
364
364
|
expect(pendingTasksRows.length).toBe(2);
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
chatClient
|
|
368
|
-
channel
|
|
367
|
+
jest.spyOn(chatClient, 'deleteMessage').mockImplementation();
|
|
368
|
+
jest.spyOn(channel, 'sendReaction').mockImplementation();
|
|
369
369
|
|
|
370
370
|
act(() => dispatchConnectionChangedEvent(chatClient, true));
|
|
371
371
|
|
|
@@ -123,7 +123,9 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
123
123
|
prevAttachment.image_url === nextAttachment.image_url &&
|
|
124
124
|
prevAttachment.thumb_url === nextAttachment.thumb_url &&
|
|
125
125
|
prevAttachment.type === nextAttachment.type;
|
|
126
|
-
if (!attachmentEqual)
|
|
126
|
+
if (!attachmentEqual) {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
127
129
|
|
|
128
130
|
if (isAttachmentEqual) {
|
|
129
131
|
return isAttachmentEqual(prevAttachment, nextAttachment);
|
|
@@ -131,7 +133,9 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
131
133
|
|
|
132
134
|
const messageThemeEqual =
|
|
133
135
|
JSON.stringify(prevMyMessageTheme) === JSON.stringify(nextMyMessageTheme);
|
|
134
|
-
if (!messageThemeEqual)
|
|
136
|
+
if (!messageThemeEqual) {
|
|
137
|
+
return false;
|
|
138
|
+
}
|
|
135
139
|
|
|
136
140
|
return true;
|
|
137
141
|
};
|
|
@@ -298,7 +298,9 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
298
298
|
|
|
299
299
|
const messageThemeEqual =
|
|
300
300
|
JSON.stringify(prevMyMessageTheme) === JSON.stringify(nextMyMessageTheme);
|
|
301
|
-
if (!messageThemeEqual)
|
|
301
|
+
if (!messageThemeEqual) {
|
|
302
|
+
return false;
|
|
303
|
+
}
|
|
302
304
|
|
|
303
305
|
return true;
|
|
304
306
|
};
|
|
@@ -417,10 +417,14 @@ for (const type of videoFileTypes) {
|
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
function mimeTypeToIcon(mimeType?: string): React.ComponentType<IconProps> {
|
|
420
|
-
if (!mimeType)
|
|
420
|
+
if (!mimeType) {
|
|
421
|
+
return GenericFile;
|
|
422
|
+
}
|
|
421
423
|
|
|
422
424
|
const Icon = mimeTypeToIconMap[mimeType];
|
|
423
|
-
if (Icon)
|
|
425
|
+
if (Icon) {
|
|
426
|
+
return Icon;
|
|
427
|
+
}
|
|
424
428
|
|
|
425
429
|
return GenericFile;
|
|
426
430
|
}
|
|
@@ -148,7 +148,9 @@ const GalleryWithContext = <
|
|
|
148
148
|
[imagesAndVideosValue],
|
|
149
149
|
);
|
|
150
150
|
|
|
151
|
-
if (!imagesAndVideos?.length)
|
|
151
|
+
if (!imagesAndVideos?.length) {
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
152
154
|
const numOfColumns = thumbnailGrid.length;
|
|
153
155
|
|
|
154
156
|
return (
|
|
@@ -516,14 +518,20 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
516
518
|
const messageEqual =
|
|
517
519
|
prevMessage?.id === nextMessage?.id &&
|
|
518
520
|
`${prevMessage?.updated_at}` === `${nextMessage?.updated_at}`;
|
|
519
|
-
if (!messageEqual)
|
|
521
|
+
if (!messageEqual) {
|
|
522
|
+
return false;
|
|
523
|
+
}
|
|
520
524
|
|
|
521
525
|
const groupStylesEqual =
|
|
522
526
|
prevGroupStyles.length === nextGroupStyles.length && prevGroupStyles[0] === nextGroupStyles[0];
|
|
523
|
-
if (!groupStylesEqual)
|
|
527
|
+
if (!groupStylesEqual) {
|
|
528
|
+
return false;
|
|
529
|
+
}
|
|
524
530
|
|
|
525
531
|
const hasThreadRepliesEqual = prevHasThreadReplies === nextHasThreadReplies;
|
|
526
|
-
if (!hasThreadRepliesEqual)
|
|
532
|
+
if (!hasThreadRepliesEqual) {
|
|
533
|
+
return false;
|
|
534
|
+
}
|
|
527
535
|
|
|
528
536
|
const imagesEqual =
|
|
529
537
|
prevImages.length === nextImages.length &&
|
|
@@ -532,7 +540,9 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
532
540
|
getUrlWithoutParams(image.image_url) === getUrlWithoutParams(nextImages[index].image_url) &&
|
|
533
541
|
getUrlWithoutParams(image.thumb_url) === getUrlWithoutParams(nextImages[index].thumb_url),
|
|
534
542
|
);
|
|
535
|
-
if (!imagesEqual)
|
|
543
|
+
if (!imagesEqual) {
|
|
544
|
+
return false;
|
|
545
|
+
}
|
|
536
546
|
|
|
537
547
|
const videosEqual =
|
|
538
548
|
prevVideos.length === nextVideos.length &&
|
|
@@ -541,11 +551,15 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
541
551
|
getUrlWithoutParams(image.image_url) === getUrlWithoutParams(nextVideos[index].image_url) &&
|
|
542
552
|
getUrlWithoutParams(image.thumb_url) === getUrlWithoutParams(nextVideos[index].thumb_url),
|
|
543
553
|
);
|
|
544
|
-
if (!videosEqual)
|
|
554
|
+
if (!videosEqual) {
|
|
555
|
+
return false;
|
|
556
|
+
}
|
|
545
557
|
|
|
546
558
|
const messageThemeEqual =
|
|
547
559
|
JSON.stringify(prevMyMessageTheme) === JSON.stringify(nextMyMessageTheme);
|
|
548
|
-
if (!messageThemeEqual)
|
|
560
|
+
if (!messageThemeEqual) {
|
|
561
|
+
return false;
|
|
562
|
+
}
|
|
549
563
|
|
|
550
564
|
return true;
|
|
551
565
|
};
|
|
@@ -613,7 +627,9 @@ export const Gallery = <
|
|
|
613
627
|
const videos = propVideos || contextVideos;
|
|
614
628
|
const message = propMessage || contextMessage;
|
|
615
629
|
|
|
616
|
-
if (!images.length && !videos.length)
|
|
630
|
+
if (!images.length && !videos.length) {
|
|
631
|
+
return null;
|
|
632
|
+
}
|
|
617
633
|
|
|
618
634
|
const additionalPressableProps = propAdditionalPressableProps || contextAdditionalPressableProps;
|
|
619
635
|
const alignment = propAlignment || contextAlignment;
|
|
@@ -226,7 +226,9 @@ const GiphyWithContext = <
|
|
|
226
226
|
giphyDimensions.width = parseFloat(giphyVersionInfo.width);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
if (!uri)
|
|
229
|
+
if (!uri) {
|
|
230
|
+
return null;
|
|
231
|
+
}
|
|
230
232
|
|
|
231
233
|
return actions ? (
|
|
232
234
|
<View
|
|
@@ -405,10 +407,14 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
405
407
|
} = nextProps;
|
|
406
408
|
|
|
407
409
|
const imageUrlEqual = prevImageUrl === nextImageUrl;
|
|
408
|
-
if (!imageUrlEqual)
|
|
410
|
+
if (!imageUrlEqual) {
|
|
411
|
+
return false;
|
|
412
|
+
}
|
|
409
413
|
|
|
410
414
|
const thumbUrlEqual = prevThumbUrl === nextThumbUrl;
|
|
411
|
-
if (!thumbUrlEqual)
|
|
415
|
+
if (!thumbUrlEqual) {
|
|
416
|
+
return false;
|
|
417
|
+
}
|
|
412
418
|
|
|
413
419
|
const actionsEqual =
|
|
414
420
|
Array.isArray(prevActions) === Array.isArray(nextActions) &&
|
|
@@ -416,19 +422,27 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
416
422
|
Array.isArray(nextActions) &&
|
|
417
423
|
prevActions.length === nextActions.length) ||
|
|
418
424
|
prevActions === nextActions);
|
|
419
|
-
if (!actionsEqual)
|
|
425
|
+
if (!actionsEqual) {
|
|
426
|
+
return false;
|
|
427
|
+
}
|
|
420
428
|
|
|
421
429
|
const giphyVersionEqual = prevGiphyVersion === nextGiphyVersion;
|
|
422
|
-
if (!giphyVersionEqual)
|
|
430
|
+
if (!giphyVersionEqual) {
|
|
431
|
+
return false;
|
|
432
|
+
}
|
|
423
433
|
|
|
424
434
|
const isMyMessageEqual = prevIsMyMessage === nextIsMyMessage;
|
|
425
|
-
if (!isMyMessageEqual)
|
|
435
|
+
if (!isMyMessageEqual) {
|
|
436
|
+
return false;
|
|
437
|
+
}
|
|
426
438
|
|
|
427
439
|
const messageEqual =
|
|
428
440
|
prevMessage?.id === nextMessage?.id &&
|
|
429
441
|
`${prevMessage?.updated_at}` === `${nextMessage?.updated_at}`;
|
|
430
442
|
|
|
431
|
-
if (!messageEqual)
|
|
443
|
+
if (!messageEqual) {
|
|
444
|
+
return false;
|
|
445
|
+
}
|
|
432
446
|
return true;
|
|
433
447
|
};
|
|
434
448
|
|
|
@@ -109,7 +109,7 @@ describe('buildGallery', () => {
|
|
|
109
109
|
const t1 = tg1[0][0];
|
|
110
110
|
expect(t1.url.includes(`&h=${PixelRatio.getPixelSizeForLayoutSize(t1.height)}`)).toBe(true);
|
|
111
111
|
expect(t1.url.includes(`&w=${PixelRatio.getPixelSizeForLayoutSize(t1.width)}`)).toBe(true);
|
|
112
|
-
expect(t1.url.includes(
|
|
112
|
+
expect(t1.url.includes('&resize=clip')).toBe(true);
|
|
113
113
|
|
|
114
114
|
const smallImage = generateImageAttachment({
|
|
115
115
|
image_url:
|
|
@@ -124,8 +124,8 @@ describe('buildGallery', () => {
|
|
|
124
124
|
});
|
|
125
125
|
|
|
126
126
|
const t2 = tg2[0][0];
|
|
127
|
-
expect(t2.url.includes(
|
|
128
|
-
expect(t2.url.includes(
|
|
129
|
-
expect(t2.url.includes(
|
|
127
|
+
expect(t2.url.includes('&h=*')).toBe(true);
|
|
128
|
+
expect(t2.url.includes('&w=*')).toBe(true);
|
|
129
|
+
expect(t2.url.includes('&resize=*')).toBe(true);
|
|
130
130
|
});
|
|
131
131
|
});
|
|
@@ -25,7 +25,7 @@ describe('openUrlSafely', () => {
|
|
|
25
25
|
jest.spyOn(Linking, 'canOpenURL').mockImplementation(jest.fn().mockResolvedValue(false));
|
|
26
26
|
jest.spyOn(Linking, 'openURL').mockImplementation(jest.fn());
|
|
27
27
|
|
|
28
|
-
Linking
|
|
28
|
+
jest.spyOn(Linking, 'openURL').mockImplementation();
|
|
29
29
|
const url = 'basjkdbkjasbdkjabskdjabsjkdbasjkda---asdkjasjkdabsk';
|
|
30
30
|
await openUrlSafely(url);
|
|
31
31
|
await waitFor(() => {
|
|
@@ -38,7 +38,7 @@ describe('openUrlSafely', () => {
|
|
|
38
38
|
jest.spyOn(Linking, 'canOpenURL').mockImplementation(jest.fn());
|
|
39
39
|
jest.spyOn(Linking, 'openURL').mockImplementation(jest.fn());
|
|
40
40
|
|
|
41
|
-
Linking
|
|
41
|
+
jest.spyOn(Linking, 'openURL').mockImplementation();
|
|
42
42
|
const url = 'google.com';
|
|
43
43
|
await openUrlSafely(url);
|
|
44
44
|
await waitFor(() => {
|
|
@@ -17,7 +17,9 @@ export function getAspectRatio<
|
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
if (!attachment.original_width || !attachment.original_height)
|
|
20
|
+
if (!attachment.original_width || !attachment.original_height) {
|
|
21
|
+
return 1;
|
|
22
|
+
}
|
|
21
23
|
|
|
22
24
|
return attachment.original_width / attachment.original_height;
|
|
23
25
|
}
|
|
@@ -145,9 +145,13 @@ export const AttachmentPicker = React.forwardRef(
|
|
|
145
145
|
getMorePhotosRef.current = getMorePhotos;
|
|
146
146
|
|
|
147
147
|
useEffect(() => {
|
|
148
|
-
if (selectedPicker !== 'images')
|
|
148
|
+
if (selectedPicker !== 'images') {
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
149
151
|
|
|
150
|
-
if (!oniOS14GalleryLibrarySelectionChange)
|
|
152
|
+
if (!oniOS14GalleryLibrarySelectionChange) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
151
155
|
// ios 14 library selection change event is fired when user reselects the images that are permitted to be readable by the app
|
|
152
156
|
const { unsubscribe } = oniOS14GalleryLibrarySelectionChange(() => {
|
|
153
157
|
// we reset the cursor and has next page to true to facilitate fetching of the first page of photos again
|
|
@@ -359,7 +359,9 @@ const AutoCompleteInputWithContext = <
|
|
|
359
359
|
};
|
|
360
360
|
|
|
361
361
|
const handleSuggestions = async (text: string) => {
|
|
362
|
-
if (text === undefined)
|
|
362
|
+
if (text === undefined) {
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
363
365
|
if (
|
|
364
366
|
/\s/.test(text.slice(selectionEnd.current - 1, selectionEnd.current)) &&
|
|
365
367
|
isTrackingStarted.current
|
|
@@ -383,8 +385,8 @@ const AutoCompleteInputWithContext = <
|
|
|
383
385
|
const placeholderText = giphyActive
|
|
384
386
|
? t('Search GIFs')
|
|
385
387
|
: cooldownActive
|
|
386
|
-
|
|
387
|
-
|
|
388
|
+
? t('Slow mode ON')
|
|
389
|
+
: t('Send a message');
|
|
388
390
|
|
|
389
391
|
const handleSuggestionsThrottled = throttle(handleSuggestions, 100, {
|
|
390
392
|
leading: false,
|
|
@@ -450,16 +452,24 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
450
452
|
} = nextProps;
|
|
451
453
|
|
|
452
454
|
const giphyActiveEqual = prevGiphyActive === nextGiphyActive;
|
|
453
|
-
if (!giphyActiveEqual)
|
|
455
|
+
if (!giphyActiveEqual) {
|
|
456
|
+
return false;
|
|
457
|
+
}
|
|
454
458
|
|
|
455
459
|
const tEqual = prevT === nextT;
|
|
456
|
-
if (!tEqual)
|
|
460
|
+
if (!tEqual) {
|
|
461
|
+
return false;
|
|
462
|
+
}
|
|
457
463
|
|
|
458
464
|
const textEqual = prevText === nextText;
|
|
459
|
-
if (!textEqual)
|
|
465
|
+
if (!textEqual) {
|
|
466
|
+
return false;
|
|
467
|
+
}
|
|
460
468
|
|
|
461
469
|
const cooldownActiveEqual = prevCooldownActive === nextCooldownActive;
|
|
462
|
-
if (!cooldownActiveEqual)
|
|
470
|
+
if (!cooldownActiveEqual) {
|
|
471
|
+
return false;
|
|
472
|
+
}
|
|
463
473
|
|
|
464
474
|
return true;
|
|
465
475
|
};
|
|
@@ -76,10 +76,14 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
76
76
|
const { queryText: nextQueryText, triggerType: nextType } = nextProps;
|
|
77
77
|
|
|
78
78
|
const typeEqual = prevType === nextType;
|
|
79
|
-
if (!typeEqual)
|
|
79
|
+
if (!typeEqual) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
80
82
|
|
|
81
83
|
const valueEqual = prevQueryText === nextQueryText;
|
|
82
|
-
if (!valueEqual)
|
|
84
|
+
if (!valueEqual) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
83
87
|
return true;
|
|
84
88
|
};
|
|
85
89
|
|
|
@@ -124,9 +124,13 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
124
124
|
const { itemProps: prevItemProps, triggerType: prevType } = prevProps;
|
|
125
125
|
const { itemProps: nextItemProps, triggerType: nextType } = nextProps;
|
|
126
126
|
const itemPropsEqual = prevItemProps === nextItemProps;
|
|
127
|
-
if (!itemPropsEqual)
|
|
127
|
+
if (!itemPropsEqual) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
128
130
|
const typeEqual = prevType === nextType;
|
|
129
|
-
if (!typeEqual)
|
|
131
|
+
if (!typeEqual) {
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
130
134
|
return true;
|
|
131
135
|
};
|
|
132
136
|
|