@salesgenterp/ui-components 0.4.82 → 0.4.83
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/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3854,7 +3854,8 @@ var handle401Error = function handle401Error(_ref4) {
|
|
|
3854
3854
|
}
|
|
3855
3855
|
});
|
|
3856
3856
|
}, function () {
|
|
3857
|
-
window
|
|
3857
|
+
var isWindow = typeof window !== 'undefined';
|
|
3858
|
+
isWindow && window.dispatchEvent(new Event('authError'));
|
|
3858
3859
|
exception.message = 'Your session is expired, please login again to continue.';
|
|
3859
3860
|
|
|
3860
3861
|
if (exception.reason) {
|