@3dsource/angular-unreal-module 0.0.92 → 0.0.93
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.
|
@@ -175,7 +175,7 @@ const setUnrealPlaywrightConfig = createAction(scoped `set unreal playwright con
|
|
|
175
175
|
const saveAnalyticsEvent = createAction(scoped `save analytics event`, props());
|
|
176
176
|
/** Action to trigger WebRTC peer reconnection (keeps signaling connection) */
|
|
177
177
|
const reconnectPeer = createAction(scoped `reconnect peer`, props());
|
|
178
|
-
/** Action to reset data channel state before reconnection */
|
|
178
|
+
/** Action to reset the data channel state before reconnection */
|
|
179
179
|
const resetDataChannelForReconnect = createAction(scoped `reset data channel for reconnect`);
|
|
180
180
|
/** Action dispatched when peer reconnection succeeds */
|
|
181
181
|
const reconnectPeerSuccess = createAction(scoped `reconnect peer success`);
|
|
@@ -4170,7 +4170,7 @@ class UnrealEffects {
|
|
|
4170
4170
|
* Resets the data channel state when peer reconnection starts.
|
|
4171
4171
|
*/
|
|
4172
4172
|
this.resetStateForPeerReconnect$ = createEffect(() => {
|
|
4173
|
-
return this.actions$.pipe(ofType(reconnectPeer), filter(() => this.reconnectConfig.enabled), filter(({ attempt }) => attempt === 1), // Only reset on first attempt
|
|
4173
|
+
return this.actions$.pipe(ofType(reconnectPeer), filter(() => this.reconnectConfig.enabled), filter(({ attempt }) => attempt === 1), // Only reset on the first attempt
|
|
4174
4174
|
map(() => resetDataChannelForReconnect()));
|
|
4175
4175
|
});
|
|
4176
4176
|
/**
|