@naviedu/room-platform-react 0.0.29 → 0.0.30
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/index.esm.js +2 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -14100,6 +14100,7 @@ function RoomPlatformProvider(param) {
|
|
|
14100
14100
|
var pendingLocalMediaRef = useRef(new Map());
|
|
14101
14101
|
var hasFirstSuccessfulConnectionRef = useRef(false);
|
|
14102
14102
|
var localPreviewTrackRef = useRef(null);
|
|
14103
|
+
var initialLaunchTokenRef = useRef(launchToken);
|
|
14103
14104
|
var recoveryRef = useRef(undefined);
|
|
14104
14105
|
var roomConnectionRef = useRef(null);
|
|
14105
14106
|
var privateRoomRef = useRef(undefined);
|
|
@@ -14859,7 +14860,7 @@ function RoomPlatformProvider(param) {
|
|
|
14859
14860
|
]);
|
|
14860
14861
|
return [
|
|
14861
14862
|
4,
|
|
14862
|
-
connectFromTicket(
|
|
14863
|
+
connectFromTicket(initialLaunchTokenRef.current, lifecycle)
|
|
14863
14864
|
];
|
|
14864
14865
|
case 2:
|
|
14865
14866
|
_state.sent();
|
|
@@ -14935,7 +14936,6 @@ function RoomPlatformProvider(param) {
|
|
|
14935
14936
|
connectFromTicket,
|
|
14936
14937
|
disposeRoom,
|
|
14937
14938
|
isLifecycleActive,
|
|
14938
|
-
launchToken,
|
|
14939
14939
|
recover,
|
|
14940
14940
|
reportError
|
|
14941
14941
|
]);
|