stream-chat-react 12.4.0 → 12.4.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/dist/index.node.cjs
CHANGED
|
@@ -37759,9 +37759,12 @@ var getChannel = async ({
|
|
|
37759
37759
|
if (queryPromise) {
|
|
37760
37760
|
await queryPromise;
|
|
37761
37761
|
} else {
|
|
37762
|
-
|
|
37763
|
-
|
|
37764
|
-
|
|
37762
|
+
try {
|
|
37763
|
+
WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL[originalCid] = theChannel.watch(options);
|
|
37764
|
+
await WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL[originalCid];
|
|
37765
|
+
} finally {
|
|
37766
|
+
delete WATCH_QUERY_IN_PROGRESS_FOR_CHANNEL[originalCid];
|
|
37767
|
+
}
|
|
37765
37768
|
}
|
|
37766
37769
|
return theChannel;
|
|
37767
37770
|
};
|