"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.refreshHelper = void 0;
const refreshHelper = (isEnabled, refreshFunc, logoutClb) => {
  if (isEnabled) {
    try {
      refreshFunc();
    } catch (error) {
      logoutClb();
    }
  }
};
exports.refreshHelper = refreshHelper;
//# sourceMappingURL=refreshChecker.js.map