stream-chat-react-native-core 7.1.0 → 7.1.1-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.
package/lib/module/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTranslatedMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTranslatedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMvF,eAAO,MAAM,oBAAoB,GAAI,UAAU,eAAe,GAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useTranslatedMessage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTranslatedMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMvF,eAAO,MAAM,oBAAoB,GAAI,UAAU,eAAe,GAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;YAkBo4f,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aADj9f,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": "7.1.
|
|
4
|
+
"version": "7.1.1-beta.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"path": "0.12.7",
|
|
78
78
|
"react-native-markdown-package": "1.8.2",
|
|
79
79
|
"react-native-url-polyfill": "^1.3.0",
|
|
80
|
-
"stream-chat": "^9.
|
|
80
|
+
"stream-chat": "^9.3.0",
|
|
81
81
|
"use-sync-external-store": "^1.4.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
@@ -520,11 +520,9 @@ export const Generic = () => {
|
|
|
520
520
|
useMockedApis(chatClient, [queryChannelsApi(channels)]);
|
|
521
521
|
|
|
522
522
|
renderComponent();
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
async () => await chatClient.offlineDb.syncManager.invokeSyncStatusListeners(true),
|
|
527
|
-
);
|
|
523
|
+
act(() => dispatchConnectionChangedEvent(chatClient));
|
|
524
|
+
await act(async () => await chatClient.offlineDb.syncManager.invokeSyncStatusListeners(true));
|
|
525
|
+
await waitFor(() => {
|
|
528
526
|
expect(screen.getByTestId('channel-list')).toBeTruthy();
|
|
529
527
|
});
|
|
530
528
|
|
package/src/version.json
CHANGED