scope360-core 0.0.15 → 0.0.16

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.
@@ -13000,7 +13000,9 @@ as.interceptors.response.use(
13000
13000
  } else
13001
13001
  return Promise.reject(n);
13002
13002
  } catch {
13003
- return _n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth"), window.open("https://scope360.io/login", "_self"), Promise.reject(n);
13003
+ _n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth");
13004
+ const e = location.origin;
13005
+ return window.open(`https://scope360.io/login?redirectUrl=${e}`, "_self"), Promise.reject(n);
13004
13006
  }
13005
13007
  }
13006
13008
  );