@frontegg/redux-store 5.29.0 → 5.31.0

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/auth/index.js CHANGED
@@ -1257,7 +1257,7 @@ function* silentLogout({ payload }) {
1257
1257
  }
1258
1258
  catch (_a) {
1259
1259
  }
1260
- payload === null || payload === void 0 ? void 0 : payload();
1260
+ setTimeout(() => payload === null || payload === void 0 ? void 0 : payload(), 500);
1261
1261
  }
1262
1262
  function* loginSagas() {
1263
1263
  yield takeLeading(actions.requestAuthorize, requestAuthorize);
@@ -1259,7 +1259,7 @@ function* silentLogout({ payload }) {
1259
1259
  }
1260
1260
  catch (_a) {
1261
1261
  }
1262
- payload === null || payload === void 0 ? void 0 : payload();
1262
+ setTimeout(() => payload === null || payload === void 0 ? void 0 : payload(), 500);
1263
1263
  }
1264
1264
  function* loginSagas() {
1265
1265
  yield effects.takeLeading(actions.requestAuthorize, requestAuthorize);