stream-chat-react-native-core 4.9.0-beta.3 → 4.10.0-beta.1

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.
Files changed (150) hide show
  1. package/lib/commonjs/components/Attachment/Gallery.js +246 -190
  2. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/VideoThumbnail.js +11 -5
  4. package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js +1 -0
  6. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  7. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +7 -3
  8. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  9. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +2 -1
  10. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  11. package/lib/commonjs/components/Chat/Chat.js +9 -5
  12. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  13. package/lib/commonjs/components/ImageGallery/ImageGallery.js +25 -22
  14. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  15. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +15 -15
  16. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  17. package/lib/commonjs/components/Message/Message.js +13 -8
  18. package/lib/commonjs/components/Message/Message.js.map +1 -1
  19. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +7 -4
  20. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  21. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +34 -35
  22. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  23. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +2 -2
  24. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  25. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +15 -13
  26. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  27. package/lib/commonjs/contexts/translationContext/TranslationContext.js +8 -4
  28. package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
  29. package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
  30. package/lib/commonjs/hooks/useTranslatedMessage.js +34 -0
  31. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -0
  32. package/lib/commonjs/mock-builders/api/getOrCreateChannel.js.map +1 -1
  33. package/lib/commonjs/mock-builders/generator/attachment.js +3 -2
  34. package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
  35. package/lib/commonjs/mock-builders/generator/channel.js +8 -4
  36. package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
  37. package/lib/commonjs/utils/getUrlOfImageAttachment.js +1 -1
  38. package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
  39. package/lib/commonjs/version.json +1 -1
  40. package/lib/module/components/Attachment/Gallery.js +246 -190
  41. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  42. package/lib/module/components/Attachment/VideoThumbnail.js +11 -5
  43. package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
  44. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js +1 -0
  45. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  46. package/lib/module/components/ChannelPreview/ChannelPreview.js +7 -3
  47. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  48. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +2 -1
  49. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  50. package/lib/module/components/Chat/Chat.js +9 -5
  51. package/lib/module/components/Chat/Chat.js.map +1 -1
  52. package/lib/module/components/ImageGallery/ImageGallery.js +25 -22
  53. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  54. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +15 -15
  55. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  56. package/lib/module/components/Message/Message.js +13 -8
  57. package/lib/module/components/Message/Message.js.map +1 -1
  58. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +7 -4
  59. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  60. package/lib/module/contexts/messageInputContext/MessageInputContext.js +34 -35
  61. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  62. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +2 -2
  63. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  64. package/lib/module/contexts/overlayContext/OverlayProvider.js +15 -13
  65. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  66. package/lib/module/contexts/translationContext/TranslationContext.js +8 -4
  67. package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
  68. package/lib/module/hooks/useStreami18n.js.map +1 -1
  69. package/lib/module/hooks/useTranslatedMessage.js +34 -0
  70. package/lib/module/hooks/useTranslatedMessage.js.map +1 -0
  71. package/lib/module/mock-builders/api/getOrCreateChannel.js.map +1 -1
  72. package/lib/module/mock-builders/generator/attachment.js +3 -2
  73. package/lib/module/mock-builders/generator/attachment.js.map +1 -1
  74. package/lib/module/mock-builders/generator/channel.js +8 -4
  75. package/lib/module/mock-builders/generator/channel.js.map +1 -1
  76. package/lib/module/utils/getUrlOfImageAttachment.js +1 -1
  77. package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
  78. package/lib/module/version.json +1 -1
  79. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +3 -1
  80. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +1 -0
  81. package/lib/typescript/components/ChannelPreview/__tests__/ChannelPreview.test.d.ts +1 -0
  82. package/lib/typescript/components/Message/MessageSimple/__tests__/MessageTextContainer.test.d.ts +1 -0
  83. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -0
  84. package/lib/typescript/contexts/messageInputContext/__tests__/MessageInputContext.test.d.ts +1 -0
  85. package/lib/typescript/contexts/messageInputContext/__tests__/isValidMessage.test.d.ts +1 -0
  86. package/lib/typescript/contexts/messageInputContext/__tests__/pickFile.test.d.ts +1 -0
  87. package/lib/typescript/contexts/messageInputContext/__tests__/removeFile.test.d.ts +1 -0
  88. package/lib/typescript/contexts/messageInputContext/__tests__/removeImage.test.d.ts +1 -0
  89. package/lib/typescript/contexts/messageInputContext/__tests__/sendMessage.test.d.ts +1 -0
  90. package/lib/typescript/contexts/messageInputContext/__tests__/sendMessageAsync.test.d.ts +1 -0
  91. package/lib/typescript/contexts/messageInputContext/__tests__/updateMessage.test.d.ts +1 -0
  92. package/lib/typescript/contexts/messageInputContext/__tests__/uploadFile.test.d.ts +1 -0
  93. package/lib/typescript/contexts/messageInputContext/__tests__/uploadImage.test.d.ts +1 -0
  94. package/lib/typescript/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.d.ts +1 -0
  95. package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +2 -1
  96. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +7 -2
  97. package/lib/typescript/hooks/__tests__/useTranslatedMessage.test.d.ts +1 -0
  98. package/lib/typescript/hooks/useStreami18n.d.ts +2 -2
  99. package/lib/typescript/hooks/useTranslatedMessage.d.ts +3 -0
  100. package/lib/typescript/mock-builders/api/getOrCreateChannel.d.ts +13 -1
  101. package/lib/typescript/mock-builders/event/messageNew.d.ts +2 -0
  102. package/lib/typescript/mock-builders/event/messageRead.d.ts +8 -0
  103. package/lib/typescript/mock-builders/generator/attachment.d.ts +10 -0
  104. package/lib/typescript/mock-builders/generator/channel.d.ts +27 -23
  105. package/lib/typescript/mock-builders/generator/message.d.ts +38 -0
  106. package/lib/typescript/mock-builders/generator/user.d.ts +9 -9
  107. package/package.json +7 -6
  108. package/src/components/Attachment/Gallery.tsx +231 -140
  109. package/src/components/Attachment/VideoThumbnail.tsx +12 -5
  110. package/src/components/Attachment/__tests__/Attachment.test.js +12 -0
  111. package/src/components/Attachment/__tests__/Gallery.test.js +23 -1
  112. package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +1 -0
  113. package/src/components/Attachment/utils/buildGallery/types.ts +1 -0
  114. package/src/components/ChannelPreview/ChannelPreview.tsx +7 -1
  115. package/src/components/ChannelPreview/__tests__/{ChannelPreview.test.js → ChannelPreview.test.tsx} +79 -41
  116. package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +56 -21
  117. package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +4 -1
  118. package/src/components/Chat/Chat.tsx +6 -3
  119. package/src/components/ImageGallery/ImageGallery.tsx +10 -6
  120. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +2 -1
  121. package/src/components/Message/Message.tsx +8 -1
  122. package/src/components/Message/MessageSimple/MessageTextContainer.tsx +7 -1
  123. package/src/components/Message/MessageSimple/__tests__/MessageTextContainer.test.tsx +108 -0
  124. package/src/components/Message/MessageSimple/__tests__/__snapshots__/{MessageTextContainer.test.js.snap → MessageTextContainer.test.tsx.snap} +0 -0
  125. package/src/contexts/messageInputContext/MessageInputContext.tsx +10 -4
  126. package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +208 -0
  127. package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +113 -0
  128. package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessageAsync.test.tsx.snap +33 -0
  129. package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +71 -0
  130. package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +67 -0
  131. package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +82 -0
  132. package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +80 -0
  133. package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +286 -0
  134. package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +124 -0
  135. package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +92 -0
  136. package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +76 -0
  137. package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +55 -0
  138. package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +62 -0
  139. package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +2 -1
  140. package/src/contexts/overlayContext/OverlayProvider.tsx +4 -3
  141. package/src/contexts/translationContext/TranslationContext.tsx +10 -1
  142. package/src/hooks/__tests__/useTranslatedMessage.test.tsx +106 -0
  143. package/src/hooks/useStreami18n.ts +2 -2
  144. package/src/hooks/useTranslatedMessage.ts +30 -0
  145. package/src/mock-builders/api/{getOrCreateChannel.js → getOrCreateChannel.ts} +8 -1
  146. package/src/mock-builders/generator/attachment.js +4 -2
  147. package/src/mock-builders/generator/{channel.js → channel.ts} +19 -10
  148. package/src/utils/getUrlOfImageAttachment.ts +1 -1
  149. package/src/version.json +1 -1
  150. package/src/components/Message/MessageSimple/__tests__/MessageTextContainer.test.js +0 -65
@@ -2,18 +2,23 @@ import React from 'react';
2
2
  import Dayjs from 'dayjs';
3
3
  import type { TFunction } from 'i18next';
4
4
  import type { Moment } from 'moment';
5
+ import type { TranslationLanguages } from 'stream-chat';
5
6
  import type { DefaultStreamChatGenerics } from '../../types/types';
7
+ export declare const DEFAULT_USER_LANGUAGE: TranslationLanguages;
6
8
  export declare const isDayOrMoment: (output: TDateTimeParserOutput) => output is Dayjs.Dayjs | Moment;
7
9
  export declare type TDateTimeParserInput = string | number | Date;
8
10
  export declare type TDateTimeParserOutput = string | number | Date | Dayjs.Dayjs | Moment;
9
11
  export declare type TDateTimeParser = (input?: TDateTimeParserInput) => TDateTimeParserOutput;
10
- export declare type TranslationContextValue = {
12
+ export declare type TranslatorFunctions = {
11
13
  t: TFunction | ((key: string) => string);
12
14
  tDateTimeParser: TDateTimeParser;
13
15
  };
16
+ export declare type TranslationContextValue = TranslatorFunctions & {
17
+ userLanguage: TranslationLanguages;
18
+ };
14
19
  export declare const TranslationContext: React.Context<TranslationContextValue>;
15
20
  export declare const TranslationProvider: React.FC<{
16
21
  value: TranslationContextValue;
17
22
  }>;
18
23
  export declare const useTranslationContext: () => TranslationContextValue;
19
- export declare const withTranslationContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(Component: React.ComponentType<StreamChatGenerics>) => React.FC<Omit<StreamChatGenerics, keyof TranslationContextValue>>;
24
+ export declare const withTranslationContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(Component: React.ComponentType<StreamChatGenerics>) => React.FC<Omit<StreamChatGenerics, "userLanguage" | keyof TranslatorFunctions>>;
@@ -1,6 +1,6 @@
1
- import type { TranslationContextValue } from '../contexts/translationContext/TranslationContext';
1
+ import type { TranslatorFunctions } from '../contexts/translationContext/TranslationContext';
2
2
  import { Streami18n } from '../utils/Streami18n';
3
3
  export declare const useStreami18n: ({ i18nInstance, setTranslators, }: {
4
- setTranslators: React.Dispatch<React.SetStateAction<TranslationContextValue>>;
4
+ setTranslators: React.Dispatch<React.SetStateAction<TranslatorFunctions>>;
5
5
  i18nInstance?: Streami18n | undefined;
6
6
  }) => boolean;
@@ -0,0 +1,3 @@
1
+ import type { FormatMessageResponse, MessageResponse } from 'stream-chat';
2
+ import type { DefaultStreamChatGenerics } from '../types/types';
3
+ export declare const useTranslatedMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(message: MessageResponse<StreamChatGenerics> | FormatMessageResponse<StreamChatGenerics>) => MessageResponse<StreamChatGenerics> | FormatMessageResponse<StreamChatGenerics>;
@@ -1,4 +1,16 @@
1
- export function getOrCreateChannelApi(channel?: any): {
1
+ export declare type GetOrCreateChannelApiParams = {
2
+ channel?: Record<string, any>;
3
+ members?: Record<string, any>[];
4
+ messages?: Record<string, any>[];
5
+ };
6
+ /**
7
+ * Returns the api response for queryChannel api.
8
+ *
9
+ * api - /channels/{type}/{id}/query
10
+ *
11
+ * @param {*} channel
12
+ */
13
+ export declare const getOrCreateChannelApi: (channel?: GetOrCreateChannelApiParams) => {
2
14
  response: {
3
15
  data: any;
4
16
  status: number;
@@ -0,0 +1,2 @@
1
+ declare function _default(client: any, newMessage: any, channel?: {}): void;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare function _default(client: any, user: any, channel?: {}): {
2
+ channel: {};
3
+ cid: any;
4
+ received_at: Date;
5
+ type: string;
6
+ user: any;
7
+ };
8
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export function generateAttachmentAction(a: any): any;
2
+ export function generateVideoAttachment(a: any): any;
3
+ export function generateImageAttachment(a: any): any;
4
+ export function generateImageUploadPreview(a: any): any;
5
+ export function generateAudioAttachment(a: any): any;
6
+ export function generateFileAttachment(a: any): any;
7
+ export function generateFileUploadPreview(a: any): any;
8
+ export function generateCardAttachment(a: any): any;
9
+ export function generateImgurAttachment(): any;
10
+ export function generateGiphyAttachment(): any;
@@ -1,10 +1,13 @@
1
- export function generateChannel(customValues: any): {
1
+ /// <reference types="jest" />
2
+ export declare const generateChannel: (customValues: {
3
+ [key: string]: any;
4
+ }) => {
2
5
  _client: {};
3
6
  data: {
4
7
  cid: string;
5
8
  config: {
6
- name: string;
7
- type: string;
9
+ name: any;
10
+ type: any;
8
11
  automod: string;
9
12
  automod_behavior: string;
10
13
  commands: {
@@ -31,9 +34,9 @@ export function generateChannel(customValues: any): {
31
34
  created_by: {
32
35
  banned: boolean;
33
36
  created_at: string;
34
- id: any;
35
- image: any;
36
- name: any;
37
+ id: string;
38
+ image: string;
39
+ name: string;
37
40
  online: boolean;
38
41
  role: string;
39
42
  updated_at: string;
@@ -41,7 +44,7 @@ export function generateChannel(customValues: any): {
41
44
  frozen: boolean;
42
45
  id: any;
43
46
  own_capabilities: string[];
44
- type: string;
47
+ type: any;
45
48
  updated_at: string;
46
49
  };
47
50
  id: any;
@@ -50,30 +53,31 @@ export function generateChannel(customValues: any): {
50
53
  messages: never[];
51
54
  setIsUpToDate: jest.Mock<any, any>;
52
55
  };
53
- type: string;
56
+ type: any;
54
57
  };
55
- export function generateChannelResponse(customValues?: {
56
- channel: {};
57
- id: any;
58
- type: string;
59
- }): {
58
+ export declare const generateChannelResponse: (customValues?: {
59
+ channel?: Record<string, any>;
60
+ id?: string;
61
+ messages?: Record<string, any>[];
62
+ type?: string;
63
+ }) => {
60
64
  channel: {
61
- id: any;
65
+ id: string;
62
66
  type: string;
63
67
  user: {
64
68
  banned: boolean;
65
69
  created_at: string;
66
- id: any;
67
- image: any;
68
- name: any;
70
+ id: string;
71
+ image: string;
72
+ name: string;
69
73
  online: boolean;
70
74
  role: string;
71
75
  updated_at: string;
72
76
  };
73
77
  cid: string;
74
78
  config: {
75
- name: string;
76
- type: string;
79
+ name: any;
80
+ type: any;
77
81
  automod: string;
78
82
  automod_behavior: string;
79
83
  commands: {
@@ -100,9 +104,9 @@ export function generateChannelResponse(customValues?: {
100
104
  created_by: {
101
105
  banned: boolean;
102
106
  created_at: string;
103
- id: any;
104
- image: any;
105
- name: any;
107
+ id: string;
108
+ image: string;
109
+ name: string;
106
110
  online: boolean;
107
111
  role: string;
108
112
  updated_at: string;
@@ -112,5 +116,5 @@ export function generateChannelResponse(customValues?: {
112
116
  updated_at: string;
113
117
  };
114
118
  members: never[];
115
- messages: never[];
119
+ messages: Record<string, any>[];
116
120
  };
@@ -0,0 +1,38 @@
1
+ export function generateMessage(options?: {}): {
2
+ attachments: never[];
3
+ created_at: any;
4
+ html: string;
5
+ id: string;
6
+ text: string;
7
+ type: string;
8
+ updated_at: any;
9
+ user: {
10
+ banned: boolean;
11
+ created_at: string;
12
+ id: string;
13
+ image: string;
14
+ name: string;
15
+ online: boolean;
16
+ role: string;
17
+ updated_at: string;
18
+ };
19
+ };
20
+ export function generateStaticMessage(seed: any, options: any, date: any): {
21
+ attachments: never[];
22
+ created_at: any;
23
+ html: string;
24
+ id: string;
25
+ text: string;
26
+ type: string;
27
+ updated_at: any;
28
+ user: {
29
+ banned: boolean;
30
+ created_at: string;
31
+ id: string;
32
+ image: string;
33
+ name: string;
34
+ online: boolean;
35
+ role: string;
36
+ updated_at: string;
37
+ };
38
+ };
@@ -1,9 +1,9 @@
1
1
  export function getUserDefaults(): {
2
2
  banned: boolean;
3
3
  created_at: string;
4
- id: any;
5
- image: any;
6
- name: any;
4
+ id: string;
5
+ image: string;
6
+ name: string;
7
7
  online: boolean;
8
8
  role: string;
9
9
  updated_at: string;
@@ -11,9 +11,9 @@ export function getUserDefaults(): {
11
11
  export function generateUser(options?: {}): {
12
12
  banned: boolean;
13
13
  created_at: string;
14
- id: any;
15
- image: any;
16
- name: any;
14
+ id: string;
15
+ image: string;
16
+ name: string;
17
17
  online: boolean;
18
18
  role: string;
19
19
  updated_at: string;
@@ -21,9 +21,9 @@ export function generateUser(options?: {}): {
21
21
  export function generateStaticUser(userNumber: any): {
22
22
  banned: boolean;
23
23
  created_at: string;
24
- id: any;
25
- image: any;
26
- name: any;
24
+ id: string;
25
+ image: string;
26
+ name: string;
27
27
  online: boolean;
28
28
  role: string;
29
29
  updated_at: string;
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": "4.9.0-beta.3",
4
+ "version": "4.10.0-beta.1",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "dependencies": {
71
71
  "@babel/runtime": "^7.12.5",
72
- "@gorhom/bottom-sheet": "4.1.5",
72
+ "@gorhom/bottom-sheet": "^4.1.6",
73
73
  "dayjs": "1.10.5",
74
74
  "file-loader": "6.2.0",
75
75
  "i18next": "20.2.4",
@@ -80,7 +80,7 @@
80
80
  "react-art": "^17.0.2",
81
81
  "react-native-markdown-package": "1.8.1",
82
82
  "react-native-url-polyfill": "^1.3.0",
83
- "stream-chat": "6.2.0"
83
+ "stream-chat": "6.7.0"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "react-native-svg": "^12.1.0"
@@ -88,18 +88,18 @@
88
88
  "devDependencies": {
89
89
  "@babel/cli": "^7.12.17",
90
90
  "@babel/core": "^7.12.9",
91
- "@babel/runtime": "^7.12.5",
92
91
  "@babel/plugin-proposal-object-rest-spread": "7.13.8",
93
92
  "@babel/plugin-transform-runtime": "7.13.10",
94
93
  "@babel/polyfill": "7.12.1",
95
94
  "@babel/preset-env": "7.13.12",
96
95
  "@babel/preset-typescript": "7.13.0",
96
+ "@babel/runtime": "^7.12.5",
97
97
  "@react-native-community/eslint-config": "2.0.0",
98
98
  "@react-native-community/eslint-plugin": "1.1.0",
99
99
  "@react-native-community/netinfo": "6.0.0",
100
100
  "@testing-library/jest-native": "4.0.4",
101
- "@testing-library/react-native": "9.0.0",
102
101
  "@testing-library/react-hooks": "7.0.2",
102
+ "@testing-library/react-native": "9.0.0",
103
103
  "@types/eslint": "7.2.10",
104
104
  "@types/jest": "26.0.23",
105
105
  "@types/lodash": "4.14.169",
@@ -107,6 +107,7 @@
107
107
  "@types/react": "17.0.5",
108
108
  "@types/react-native": "0.67.3",
109
109
  "@types/react-test-renderer": "17.0.1",
110
+ "@types/uuid": "^8.3.4",
110
111
  "@typescript-eslint/eslint-plugin": "^5.7.0",
111
112
  "@typescript-eslint/parser": "^5.7.0",
112
113
  "babel-eslint": "10.1.0",
@@ -142,7 +143,7 @@
142
143
  "react-native-web": "0.15.0",
143
144
  "react-test-renderer": "17.0.2",
144
145
  "typescript": "4.4.3",
145
- "uuid": "8.3.2",
146
+ "uuid": "^8.3.2",
146
147
  "webpack": "4.44.2"
147
148
  }
148
149
  }