@warkypublic/svelix 0.1.32 → 0.1.33
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.
|
@@ -182,9 +182,8 @@ const createGlobalStateStore = () => {
|
|
|
182
182
|
const isInvalidSession = hasValidationMismatch ||
|
|
183
183
|
isSessionExpired(resolvedSession) ||
|
|
184
184
|
(requiresValidation &&
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
!resolvedSession.authToken));
|
|
185
|
+
hasValidationSignal &&
|
|
186
|
+
(!resolvedSession.loggedIn || !resolvedSession.authToken));
|
|
188
187
|
if (isInvalidSession) {
|
|
189
188
|
const clearedState = createClearedAuthenticatedState(currentState);
|
|
190
189
|
setGlobalState((state) => ({
|